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 eth1"
17 would bridge device eth0 and eth1.
18 Note: The auto interface name is not allowed here!
20 To specify the name of the bridge, use BRIDGE_NAME, e.g.
24 Note: this entry is optional, per default the name br0 is chosen.
26 If you want do disable Spanning Tree Protocol (STP) on your bridge, just set BRIDGE_STP to no, e.g.
30 Per default stp is on.
32 Example Configuration file:
34 ,----[ /etc/grml/routersetup ]
35 | # Bridges eth0 and ath0 together
36 | BRIDGE_DEVICES="eth0 ath0"
38 | # Bridge name is grml-bridge
39 | BRIDGE_NAME="grml-bridge"
51 Now, your bridging device is up and running. Now you have to set the ip address of
52 your bridged devices to 0.0.0.0. You can do this with following command:
55 | source /etc/grml/routersetup
56 | for i in $BRIDGED_DEVICES ; do ifconfig $i 0.0.0.0 ; done
59 Now your bridge is working. If you want that your bridge is reachable, please
60 give your bridge an IP address. You can do this for example with
63 | ifconfig grml-bridge 192.168.0.1
72 Note, your devices do not have an ip address, so you have to give them an ip address. You can do this with
75 | ifconfig eth1 $IP_ADDR
82 grml-bridge was written by Ulrich Dangel <mru@grml.org> and Michael Prokop <mika@grml.org>.
84 This manual page was written by Michael Prokop
85 <mika@grml.org> for the Debian project (but may be used by others).