mirror of https://github.com/ntop/n2n.git
Browse Source
* 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>pull/1098/head
Dylan Yee
1 year ago
committed by
GitHub
8 changed files with 105 additions and 6 deletions
@ -0,0 +1,27 @@ |
|||||
|
# Bridging (Linux) |
||||
|
|
||||
|
## General Remarks |
||||
|
|
||||
|
`edge`s can be part of network bridges. As such, n2n can connect otherwise un-connected LANs. |
||||
|
|
||||
|
## How To Use with `brctl` |
||||
|
|
||||
|
... requires `-r` |
||||
|
... general syntax |
||||
|
... one example connecting two remote sites' LANs, including commands |
||||
|
|
||||
|
## How it works |
||||
|
|
||||
|
... remembers peer info MAC |
||||
|
... ageing |
||||
|
... internal MAC replaced inside usually encrypted packet data (no disclosure then) |
||||
|
... initial learning |
||||
|
|
||||
|
## Broadcasts |
||||
|
|
||||
|
... note on broadcast domain |
||||
|
|
||||
|
## Compile Time Option |
||||
|
|
||||
|
The `-r`option at edge does not differentiate between the use cases _routing_ and _bridging_. In case the MAC-learning and MAC-replacing bridging code |
||||
|
interfers with some special routing scenario, removal of the `#define HAVE_BRIDGING_SUPPORT` from `/include/n2n.h` file disables it at compile time. |
Loading…
Reference in new issue