2 # Settings
for layer
-2 bridges
4 # For each bridge
interface declared
in INTERFACES (in rc
.conf
), declare
5 # a bridge_
${IF
} variable that contains the
real ethernet interfaces that
6 # should be bridged togeether
.
8 # Then list the bridge
interface name
in the BRIDGE_INTERFACES array
.
16 # br0
="br0 192.168.0.2 netmask 255.255.255.0 up"
17 # INTERFACES
=(lo eth0 eth1 br0
)
19 #
in /etc
/conf
.d
/bridges
20 # bridge_br0
="eth0 eth1"
21 # BRIDGE_INTERFACES
=(br0
)
25 #bridge_br0
="eth0 eth1"
26 #BRIDGE_INTERFACES
=(br0
)