Adds Bridge_Mode doc
[librecmc/librecmc.git] / docs / Bridge_Mode.md
1 # Bridge Mode
2
3 A common feature of COTS Wi-Fi routers is to be able to set the router
4 to bridge mode, where the router stops acting like a router (layer 3
5 device) and starts acting like an ethernet switch (layer 2
6 device). LibreCMC does not actually have a bridge mode, but the same
7 effect is achievable with a few easy steps.
8
9 1. Add the LAN ethernet port to the LAN bridge interface
10 2. Set the DHCP server to ignore the LAN interface
11
12 ## Adjust LAN bridge interface
13
14 Go to Network >> Interfaces page and press the EDIT button next to LAN
15 Network. Select the Physical Settings tab.
16
17 ![alt text](images/librecmc-default-interfaces.png "LibreCMC default
18  interfaces view")
19
20 Place a checkmark in the box for the "eth0" interface for wan and
21 wan6. (I suppose the interface name might vary amongst different
22 routers.
23
24 ![alt text](images/librecmc-eth0-added-to-lan.png "Adjustments to
25  LibreCMC interface physical settings")
26
27 You can also check the box for Enable STP if desired. There doesn't
28 seem to be any downside from this, though I suppose it would use more
29 CPU cycles and memory. STP is a protocol intended to prevent
30 communication loops from forming in a network of layer 2 switches.
31
32 ## Adjust DHCP server settings
33
34 On the same page, scroll down a little to the DHCP Server section. In
35 the General Setup tab, check the "Ignore interface" box.