* [Bridge] Bridge troubles
@ 2008-06-24 14:11 Friedrich Dominicus
2008-06-24 16:31 ` Stephen Hemminger
0 siblings, 1 reply; 5+ messages in thread
From: Friedrich Dominicus @ 2008-06-24 14:11 UTC (permalink / raw)
To: bridge
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bridge] Bridge troubles
2008-06-24 14:11 [Bridge] Bridge troubles Friedrich Dominicus
@ 2008-06-24 16:31 ` Stephen Hemminger
2008-06-25 8:38 ` Friedrich Dominicus
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2008-06-24 16:31 UTC (permalink / raw)
To: Friedrich Dominicus; +Cc: bridge
On Tue, 24 Jun 2008 16:11:36 +0200
Friedrich Dominicus <frido@q-software-solutions.de> 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 going
to forwarding mode, you may want to do:
# brctl setfd br0 0
What is output of:
# ip ro
# brctl showstp br0
# cat /etc/resolv.conf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bridge] Bridge troubles
2008-06-24 16:31 ` Stephen Hemminger
@ 2008-06-25 8:38 ` Friedrich Dominicus
2008-06-25 18:06 ` Stephen Hemminger
0 siblings, 1 reply; 5+ messages in thread
From: Friedrich Dominicus @ 2008-06-25 8:38 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: bridge
Stephen Hemminger <shemminger@vyatta.com> writes:
> On Tue, 24 Jun 2008 16:11:36 +0200
> Friedrich Dominicus <frido@q-software-solutions.de> 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, I tried exactly the same on 32-bit linux and there this simply
runs.
So I have to conclude that this either is a problem in my 64-bit machine
setup (however I tried on a different 64-bit platform with the same
result)
Of that there is some bug on a 64-bit platform
Regards
Friedrich
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bridge] Bridge troubles
2008-06-25 8:38 ` Friedrich Dominicus
@ 2008-06-25 18:06 ` Stephen Hemminger
2008-06-26 4:47 ` Friedrich Dominicus
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2008-06-25 18:06 UTC (permalink / raw)
To: Friedrich Dominicus; +Cc: bridge
On Wed, 25 Jun 2008 10:38:48 +0200
Friedrich Dominicus <frido@q-software-solutions.de> wrote:
> Stephen Hemminger <shemminger@vyatta.com> writes:
>
> > On Tue, 24 Jun 2008 16:11:36 +0200
> > Friedrich Dominicus <frido@q-software-solutions.de> 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, I tried exactly the same on 32-bit linux and there this simply
> runs.
>
> So I have to conclude that this either is a problem in my 64-bit machine
> setup (however I tried on a different 64-bit platform with the same
> result)
> Of that there is some bug on a 64-bit platform
>
> Regards
> Friedrich
>
>
>
Or different hardware on the two machines?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bridge] Bridge troubles
2008-06-25 18:06 ` Stephen Hemminger
@ 2008-06-26 4:47 ` Friedrich Dominicus
0 siblings, 0 replies; 5+ messages in thread
From: Friedrich Dominicus @ 2008-06-26 4:47 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: bridge
Stephen Hemminger <shemminger@vyatta.com> writes:
>>
>>
>>
>
> Or different hardware on the two machines?
Well they all use them 8139 somewhat driver for network cards.
So I tried my luck with a Intel Dual Core 64-bit running kernel:
2.6.22 and on AMD Dual Core 64-bit running 2.6.24. Both show the same
problems. And then I tried my luck on some 32-bit linux which I
updated yesterday to run kernel 2.6.25, and there bridiging works as I
expected but on the 64-bit machines I got this strange messages.
Regards
Friedrich
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-06-26 4:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-24 14:11 [Bridge] Bridge troubles Friedrich Dominicus
2008-06-24 16:31 ` Stephen Hemminger
2008-06-25 8:38 ` Friedrich Dominicus
2008-06-25 18:06 ` Stephen Hemminger
2008-06-26 4:47 ` Friedrich Dominicus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox