[Bridge] Bridge troubles

Friedrich Dominicus frido at q-software-solutions.de
Tue Jun 24 07:11:36 PDT 2008


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?

System Intel Dual Core 

uname -a
Linux fvl 2.6.22 

Debian Unstable

 cat cpuinfo 
processor       : 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz
stepping	: 11
cpu MHz		: 2333.332
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips	: 4669.83
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz
stepping	: 11
cpu MHz		: 2333.332
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips	: 4666.76
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

 lsmod | grep bridge
bridge                 62248  0 


I can not see anything obviously wrong with this simple tries, but
still it won't work....

Any hints are very welcome

Regards
Friedrich


More information about the Bridge mailing list