ftp://ftp.tux.org/people/alan-cox/BRCFG.tgz
BRCFG may also be found at:
http://coledd.com/networking/bridge/
/etc/lilo.conf
, and re-run lilo
:
If you have three interfaces on your bridge, use this line instead:
append = "ether=0,0,eth1"
More interfaces can be found by adding more ether statements. By default a stock Linux kernel probes for a single ethercard, and once one is found the probe ceases. The above append statement tells the kernel to keep probing for more ethernet devices after the first one is found. Alternatively, the boot parameter can be used instead:
append = "ether=0,0,eth1 ether=0,0,eth2"
Or, with 3 interfaces, use:
linux ether=0,0,eth1
linux ether=0,0,eth1 ether=0,0,eth2
BRIDGING
enabled./etc/sysconfig/network-scripts/
(for a RedHat system) and copy ifcfg-lo0
to ifcfg-eth0
& ifcfg-eth1
. In these 2 eth files, change the line containing ``DEVICE=lo
'' to ``DEVICE=eth0
'' and ``DEVICE=eth1
''. Other distributions may deviate from this, do what you need to do! If there are more than 2 interfaces to this bridge, be sure to make the corresponding configurations to those, as well.All interfaces which are connected to network segments to be bridged are to be put into promiscuous mode.
ifconfig eth0 promisc ; ifconfig eth1 promisc
brcfg
program:
brcfg -ena
tcpdump -i eth0 (in one window) tcpdump -i eth1 (in another window)
tcpdump
on another machine to verify the bridge is separating the segment correctly.