On Tue, 24 Jun 2008 16:11:36 +0200Friedrich Dominicus <frido@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > I'm sorry to bother you but I'm stuck> > I can not make a bridge work for me. > My current configuration is:> eth0 Link encap:Ethernet Hardware Adresse 00:1d:7d:d1:06:bd > inet Adresse:192.168.1.1 Bcast:192.168.1.255 Maske:255.255.255.0> inet6-Adresse: fe80::21d:7dff:fed1:6bd/64> Gültigkeitsbereich:V> > according to all what I could find in the net. The following should do> to build a bridge > ifconfig eth0 down> # brctl addbr br0> # addif br0 eth0> # ifconfig eth0 0.0.0.0 up> # ifconfig br0 192.168.1.1 up> > Ok now let's see> > > brctl show> bridge name bridge id STP enabled interfaces> br0 8000.001d7dd106bd no eth0> > looks fine to me> > then > ifconfig br0 > br0 Link encap:Ethernet Hardware Adresse 00:1d:7d:d1:06:bd > inet Adresse:192.168.1.1 Bcast:192.168.1.255 Maske:255.255.255.0> inet6-Adresse: fe80::21d:7dff:fed1:6bd/64 Gültigkeitsbereich:Verbindung> UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1> RX packets:1 errors:0 dropped:0 overruns:0 frame:0> TX packets:23 errors:0 dropped:0 overruns:0 carrier:0> Kollisionen:0 Sendewarteschlangenlänge:0 > RX bytes:192 (192.0 B) TX bytes:4420 (4.3 KiB)> looks also fine to me> > but then:> ping 192.168.1.10> PING 192.168.1.10 (192.168.1.10) 56(84) bytes of data.> ping: sendmsg: Operation not permitted> ping: sendmsg: Operation not permitted> ping: sendmsg: Operation not permitted> > I can not make any sens why ping can fail.> so either I misread all the docs or something is foul.> > Do you have any suggestions? The system is still trying to connect over dead route to nameserver.By default bridge waits 30 seconds in learning mode before goingto forwarding mode, you may want to do: # brctl setfd br0 0 What is output of: # ip ro # brctl showstp br0 # cat /etc/resolv.conf _______________________________________________Bridge mailing listBridge@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx://lists.linux-foundation.org/mailman/listinfo/bridge