3 grml-bridge \- set up your box as bridge
6 .RI " start|stop|restart|info "
8 This manual page documents briefly the
12 Configure setup via configuration file /etc/grml/routersetup.
13 To specify which DEVICES should be bridged, use BRIDGE_DEVICES, e.g.
15 BRIDGE_DEVICES="eth0 eth2"
17 would bridge device eth0 and eth2.
18 If unconfigured then 'eth0 eth1' is assumed as default.
19 Note: The auto interface name is not allowed here!
21 To specify the name of the bridge, use BRIDGE_NAME, e.g.
25 Note: this entry is optional, per default the name br0 is chosen.
27 If you want do disable Spanning Tree Protocol (STP) on your bridge, just set BRIDGE_STP to no, e.g.
31 Per default STP is set to 'on'.
33 Example Configuration file:
35 ,----[ /etc/grml/routersetup ]
36 | # Bridges eth0 and ath0 together
37 | BRIDGE_DEVICES="eth0 ath0"
39 | # Bridge name is grml-bridge
40 | BRIDGE_NAME="grml-bridge"
52 Now, your bridging device is up and running. Now you have to set the ip address of
53 your bridged devices to 0.0.0.0. You can do this with following command:
56 | source /etc/grml/routersetup
57 | for i in $BRIDGED_DEVICES ; do ifconfig $i 0.0.0.0 ; done
60 Now your bridge is working. If you want that your bridge is reachable, please
61 give your bridge an IP address. You can do this for example with
64 | ifconfig grml-bridge 192.168.0.1
73 Note, your devices do not have an ip address, so you have to give them an ip address. You can do this with
76 | ifconfig eth1 $IP_ADDR
83 grml-bridge was written by Ulrich Dangel <mru@grml.org> and Michael Prokop <mika@grml.org>.
85 This manual page was written by Michael Prokop
86 <mika@grml.org> for the Debian project (but may be used by others).