> -----Original Message-----
> From: Gilad Ben-Yossef [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 23, 2004 09:52
> To: Yehoram Ben-Yaacov; '[EMAIL PROTECTED]'
> Subject: Re: Linux bridge
>
>
> On Tuesday 23 March 2004 09:48, Yehoram Ben-Yaacov wrote:
>
> >
> > I started this test with two separated interfaces. each one had its
> > own ip address on different subnet. in this configuration I did NAT
> > (eth1 used private subnet).
> > using this configuration ping and all other worked fine.
> >
> > now I removed the IP address from the interfaces and gave on IP to
> > the bridge. I (of cores) changed the subnet on the old private
> > network to the one on eth0. I also cleared the arp cache but still
> > nothing.
> >
> > I do have a strong feeling that I'm missing here something
> simple but
> > I still can't place my finger on it :)
>
>
> hmm... did you try flushing the IPtables rules?
>
> It's a long shot - but I did see a bridge setup work many many time
> (including production environment with very high loads) without a
> hitch.
>
> Can you try to give us the output of mii-diag, ifconfig, route, and
> brctl and iptables? maybe we'll spot something?
>
> Which kernelv versions are you using?
>
> Gilad
>
> --
> Gilad Ben-Yossef <[EMAIL PROTECTED]>
> Codefidence. A name you can trust (TM)
> http://www.codefidence.com
>
>
Some info:
172.17.2.90:/ > ifconfig
br0 Link encap:Ethernet HWaddr 00:E0:72:A0:5F:10
inet addr:172.17.30.30 Bcast:172.17.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:335061 errors:0 dropped:0 overruns:0 frame:0
TX packets:324 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19783917 (18.8 MiB) TX bytes:18986 (18.5 kiB)
eth0 Link encap:Ethernet HWaddr 00:E0:72:A0:5F:1F
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:354632 errors:0 dropped:0 overruns:0 frame:0
TX packets:43517 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:25826919 (24.6 MiB) TX bytes:2837812 (2.7 MiB)
Base address:0x8500
eth1 Link encap:Ethernet HWaddr 00:E0:72:A0:5F:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6520 errors:0 dropped:0 overruns:0 frame:0
TX packets:365578 errors:0 dropped:0 overruns:0 carrier:365578
collisions:0 txqueuelen:100
RX bytes:643988 (628.8 kiB) TX bytes:26087056 (24.8 MiB)
Base address:0x8400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:993 errors:0 dropped:0 overruns:0 frame:0
TX packets:993 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:171867 (167.8 kiB) TX bytes:171867 (167.8 kiB)
172.17.2.90:/ >
172.17.2.90:/ > iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
172.17.2.90:/ >
172.17.2.90:/ > iptables -t nat -nL
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
172.17.2.90:/ >
172.17.2.90:/ > route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br0
172.17.2.90:/ >
172.17.2.90:/ > brctl show
bridge name bridge id STP enabled interfaces
br0 8000.00e072a05f10 yes eth0
eth1
172.17.2.90:/ >
172.17.2.90:/ > brctl showstp br0
br0
bridge id 8000.00e072a05f10
designated root 8000.00e072a05f10
root port 0 path cost 0
max age 20.00 bridge max age
20.00
hello time 2.00 bridge hello time
2.00
forward delay 0.00 bridge forward delay
0.00
ageing time 100.00 gc interval
4.00
hello timer 1.50 tcn timer
0.00
topology change timer 0.00 gc timer
1.50
flags
eth0 (1)
port id 8001 state
forwarding
designated root 8000.00e072a05f10 path cost 100
designated bridge 8000.00e072a05f10 message age timer
0.00
designated port 8001 forward delay timer
0.00
designated cost 0 hold timer
0.00
flags
eth1 (2)
port id 8002 state
forwarding
designated root 8000.00e072a05f10 path cost 100
designated bridge 8000.00e072a05f10 message age timer
0.00
designated port 8002 forward delay timer
0.00
designated cost 0 hold timer
0.00
flags
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]