support linux l2 bridge (#1044)

* support linux l2 bridge

* unified timeout name

* typo

* minor code style adaptions

* feature define

* feature define

* feature define

* feature define

* added hint to bridging to help output

* added hint to bridging

* drafted bridging documentation

* added bridging hint

---------

Co-authored-by: Logan oos Even <46396513+Logan007@users.noreply.github.com>
This commit is contained in:
Dylan Yee
2023-05-04 11:00:38 +08:00
committed by GitHub
co-authored by Logan oos Even
parent 39b9c6b1c0
commit e01daf4a85
8 changed files with 105 additions and 6 deletions
+3 -1
View File
@@ -31,10 +31,12 @@ It is available a special community which provides interconnection between super
The [TAP Configuration Guide](TapConfiguration.md) contains hints on various settings that can be applied to the virtual network device, including IPv6 addresses as well as notes on MTU and on how to draw IP addresses from DHCP servers.
## Routing the Traffic
## Bridging and Routing the Traffic
Reaching a remote network or tunneling all the internet traffic via n2n are two common tasks which require a proper routing setup. n2n supports routing needs by temporarily modifying the routing table (`tools/n2n-route`). Details can be found in the [Routing document](Routing.md).
Also, n2n supports [Bridging](Bridging.md) of LANs, e.g. to connect otherwise un-connected LANs by an encrypted n2n tunnel on level 2.
## Traffic Restrictions