From mboxrd@z Thu Jan 1 00:00:00 1970 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C77B2A.204C30BE" Date: Tue, 10 Apr 2007 14:38:46 +1000 Message-ID: From: "Bainbridge, David D" Subject: [Bridge] Bridge Problem: Ping works, nothing else does... List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: bridge@lists.linux-foundation.org This is a multi-part message in MIME format... ------_=_NextPart_001_01C77B2A.204C30BE Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm a newbie to linux to an extent but have a need to set up a linux bridge to do some paclet loss testing using netem. I have a PC with two NIC cards and Fedora 6. I have created the bridge using the following commands #brctl addbr mybridge #brctl addif mybridge eth0 #brctl addif mybridge eth1 #brctl mybridge up Physically I have two IP devices with static IP addresses connected to the two NIC cards via cross over cables. I have tested the NIC cards in a non bridged mode and they work fine as normal NICs. In bridged mode I can ping the other IP device. The IP devices are actually realtime audio over IP codec devices and they stream using RTP on UDP port 5000. If I connect the cross over cable directly between the two codec devices the audio is transferred fine, if I put the linux bridge between them I get nothing but I can still ping..... A brctl showstp shows the eth0 and eth1 are in forwarding status but nothing is happenig. Can anyone help. Both Eth1 and 0 are set to Ip address of 0.0.0.0 Thanks Regards David Bainbridge ------_=_NextPart_001_01C77B2A.204C30BE Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Bridge Problem: Ping works, nothing else does...

Hi,
I'm a newbie to linux to an extent but h= ave a need to set up a linux bridge to do some paclet loss testing using ne= tem.  I have a PC with two NIC cards and Fedora 6.  I have create= d the bridge using the following commands

#brctl addbr mybridge
#brctl addif mybridge eth0
#brctl addif mybridge eth1
#brctl mybridge up

Physically I have two IP devices with sta= tic IP addresses connected to the two NIC cards via cross over cables. = ; I have tested the NIC cards in a non bridged mode and they work fine as n= ormal NICs.  In bridged mode I can ping the other IP device.  The= IP devices are actually realtime audio over IP codec devices and they stre= am using RTP on UDP port 5000.  If I connect the cross over cable dire= ctly between the two codec devices the audio is transferred fine, if I put = the linux bridge between them I get nothing but I can still ping…..

A brctl showstp shows the eth0 and eth1 a= re in forwarding status but nothing is happenig.  Can anyone help.&nbs= p; Both Eth1 and 0 are set to Ip address of 0.0.0.0

Thanks


Regards
David Bainbridge

------_=_NextPart_001_01C77B2A.204C30BE-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 10 Apr 2007 10:49:21 -0700 From: Stephen Hemminger Message-ID: <20070410104921.4b90a292@freekitty> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] Bridge Problem: Ping works, nothing else does... List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Bainbridge, David D" Cc: bridge@lists.linux-foundation.org On Tue, 10 Apr 2007 14:38:46 +1000 "Bainbridge, David D" wrote: > Hi, > I'm a newbie to linux to an extent but have a need to set up a linux > bridge to do some paclet loss testing using netem. I have a PC with two > NIC cards and Fedora 6. I have created the bridge using the following > commands > > #brctl addbr mybridge > #brctl addif mybridge eth0 > #brctl addif mybridge eth1 > #brctl mybridge up > I assume you setup IP address for mybridge: ifconfig mybridge 192.168.0.X Check status with: brctl showstp mybridge > Physically I have two IP devices with static IP addresses connected to > the two NIC cards via cross over cables. I have tested the NIC cards in > a non bridged mode and they work fine as normal NICs. In bridged mode I > can ping the other IP device. The IP devices are actually realtime > audio over IP codec devices and they stream using RTP on UDP port 5000. > If I connect the cross over cable directly between the two codec devices > the audio is transferred fine, if I put the linux bridge between them I > get nothing but I can still ping..... > > A brctl showstp shows the eth0 and eth1 are in forwarding status but > nothing is happenig. Can anyone help. Both Eth1 and 0 are set to Ip > address of 0.0.0.0 > > Thanks > > > Regards > David Bainbridge What hardware is being used for eth0 and eth1, I assume both are normal ether devices. They need to support source address spoofing, and promiscuous mode. -- Stephen Hemminger From mboxrd@z Thu Jan 1 00:00:00 1970 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Date: Wed, 11 Apr 2007 09:37:49 +1000 Message-ID: In-Reply-To: <20070410104921.4b90a292@freekitty> References: <20070410104921.4b90a292@freekitty> From: "Bainbridge, David D" Content-Transfer-Encoding: 8bit Subject: Re: [Bridge] Bridge Problem: Ping works, nothing else does... List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stephen Hemminger Cc: bridge@lists.linux-foundation.org Thanks Stephen, I tried it with the bridge having an IP address and without. With a little help from one of our IT guys, we deleted all entries in the iptables and it now works! Not sure why layer 3 filtering should have an effect on layer 2 forwarding rules but anyway..... Regards David Bainbridge -----Original Message----- From: Stephen Hemminger [mailto:shemminger@linux-foundation.org] Sent: Wednesday, 11 April 2007 3:49 AM To: Bainbridge, David D Cc: bridge@lists.linux-foundation.org Subject: Re: [Bridge] Bridge Problem: Ping works, nothing else does... On Tue, 10 Apr 2007 14:38:46 +1000 "Bainbridge, David D" wrote: > Hi, > I'm a newbie to linux to an extent but have a need to set up a linux > bridge to do some paclet loss testing using netem. I have a PC with > two NIC cards and Fedora 6. I have created the bridge using the > following commands > > #brctl addbr mybridge > #brctl addif mybridge eth0 > #brctl addif mybridge eth1 > #brctl mybridge up > I assume you setup IP address for mybridge: ifconfig mybridge 192.168.0.X Check status with: brctl showstp mybridge > Physically I have two IP devices with static IP addresses connected to > the two NIC cards via cross over cables. I have tested the NIC cards > in a non bridged mode and they work fine as normal NICs. In bridged > mode I can ping the other IP device. The IP devices are actually > realtime audio over IP codec devices and they stream using RTP on UDP port 5000. > If I connect the cross over cable directly between the two codec > devices the audio is transferred fine, if I put the linux bridge > between them I get nothing but I can still ping..... > > A brctl showstp shows the eth0 and eth1 are in forwarding status but > nothing is happenig. Can anyone help. Both Eth1 and 0 are set to Ip > address of 0.0.0.0 > > Thanks > > > Regards > David Bainbridge What hardware is being used for eth0 and eth1, I assume both are normal ether devices. They need to support source address spoofing, and promiscuous mode. -- Stephen Hemminger