Hi,

 

I have a machine with three interfaces: eth0,eth1,eth2. eth0 and eth1 are part of a bridge instance br0, while eth2 is on an IP network.   My problem is that when I run the following script to set up the bridge, all connections (telnet, http, ssh) on the non bridge interface, eth2, get dropped. The interface even stops responding to ping  for about 20-30 secs.   I am using linux kernel 2.4.15 and bridge-nf patch:

bridge-nf-0.0.3-against-2.4.13-ac7.diff. This doesn’t happen all the time, I’ve seen it in about 50% of the cases.

 

 

The script:

ifconfig eth0 0.0.0.0 up

ifconfig eth1 0.0.0.0 up

brctl addbr br0

brctl addif br0 eth0

brctl addif br0 eth1

ifconfig br0 192.168.1.1

brctl stp br0 off

iptables –P FORWARD DROP

iptables –A FORWARD –p icmp –j ACCEPT

 

Any help would be greatly appreciated.

 

Thanks

Namit Sikka

 

 

Reply via email to