From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <44A37497.4010108@kingsley.co.za> Date: Thu, 29 Jun 2006 08:35:03 +0200 From: Etienne Pretorius MIME-Version: 1.0 References: <00ae01c69abf$5f9ec6f0$20ed150c@SunShine> In-Reply-To: <00ae01c69abf$5f9ec6f0$20ed150c@SunShine> Content-Type: multipart/alternative; boundary="------------050407010908020609090404" Subject: Re: [Bridge] Error in Bridge Settings!! List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Kirti S. Bajwa" , bridge@lists.osdl.org This is a multi-part message in MIME format... --------------050407010908020609090404 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Let me first explain that I have the same problem in my Ethernet bridge=20 setup. What I have determined, that there is a loop in my network but STP is=20 preventing a packet broacast storm. I have switches instead of hubs but=20 my primary bridge is broadcasting packets somehow, because when I unplug=20 the primary's Ethernet from our internal network then those messages=20 stop appearing. I am in the process of re-setting up that bridge so that=20 *hopefully* I wont be seeing this message in future. I wander if it=20 might be the HUBs you using.... they might be broadcasting any packet to=20 all ports and so your bridge will receive its own packets back to it?=20 Like I said - I have the same problem, but the setup still works and I=20 am trying to remove loops in my network to see if that *really* is the=20 cause to the error message. Kind Regards Etienne Kirti S. Bajwa wrote: > > Hello Bridge List: > > =20 > > Please help a newbie! > > =20 > > I have setup two freshly installed CentOS 4.3 servers and have setup=20 > redundant BRIDGE. My plan is to have the 'redundant' BRIDGE working=20 > and then I will add 'Shorewall' Firewall to these two servers. On both=20 > machines, I have included the following lines in '/etc/rc.local' so=20 > that the BRIDGE will be ACTIVE after BOOT: > > =20 > > /etc/rc.local > > =3D=3D=3D=3D=3D=3D=3D=3D=3D > > ** # ****Setup**** ****BRIDGE**** (****First**** ****Bridge****)** > > ** brctl addbr tibbr1** > > ** brctl addif tibbr1 eth0** > > ** brctl addif tibbr1 eth1** > > ** ifconfig tibbr1 up** > > ** ifconfig tibbr1 12.21.237.2 netmask 255.255.255.0** > > ** brctl setageing tibbr1 300** > > ** brctl stp tibbr1 on** > > ** brctl setbridgeprio tibbr1 100** > > ** brctl setpathcost tibbr1 eth0 100** > > ** brctl setpathcost tibbr1 eth1 100** > > *reboot * > > =20 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D > > Similar lines are included in the second server except the bridge name=20 > is 'tibbr2', IP addr is 12.21.237.4 & bridge & path costs are 200. > > MAC addresses on each server are as follows: > > =20 > > Server 1: > > eth0: 00:80:ad:16:f3:25 > > eth1: 00:30:1b:38:c6:41 > > =20 > > Server 2: > > eth0: 00:80:ad:16:e6:43 > > eth1: 00:30:1b:38:c4:c9 > > =20 > > PROBLEM: > > ------------- > > When I boot one of the servers, I get the following errors: > > =20 > > eth1: received packet with own address as source address > > eth0: received packet with own address as source address > > =20 > > What are these errors & why they are appearing? > > =20 > > If I no-op (#) the following lines, the error disappear: > > =20 > > **# ifconfig tibbr1 up** > > **# ifconfig tibbr1 12.21.237.2 netmask 255.255.255.0** > > =20 > > =20 > > FYI, my current hardware setup is as follows: > > =20 > > T1 Line > > | > > Cisco 26XX Router > > | > > HUB -----=E0 HUB (Current Network) > > | > > ---------------------------- > > | eth0 =20 > | =20 > > fw1 fw2 =20 > > | eth1 | > > ----------------------------- > > | > > HUB > > | > > (Future: additional Servers) > > =20 > > Please HELP! How can I fix the settings so the above listed PROBLEM is=20 > resolved!! > > =20 > > Kirti > > ------------------------------------------------------------------------ > > _______________________________________________ > Bridge mailing list > Bridge@lists.osdl.org > https://lists.osdl.org/mailman/listinfo/bridge > =20 --------------050407010908020609090404 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Let me first explain that I have the same problem in my Ethernet bridge setup.

What I have determined, that there is a loop in my network but STP is preventing a packet broacast storm. I have switches instead of hubs but my primary bridge is broadcasting packets somehow, because when I unplug the primary's Ethernet from our internal network then those messages stop appearing. I am in the process of re-setting up that bridge so that *hopefully* I wont be seeing this message in future. I wander if it might be the HUBs you using.... they might be broadcasting any packet to all ports and so your bridge will receive its own packets back to it? Like I said - I have the same problem, but the setup still works and I am trying to remove loops in my network to see if that *really* is the cause to the error message.
Kind Regards
Etienne

Kirti S. Bajwa wrote:

Hello Bridge List:

 

Please help a newbie!

 

I have setup two freshly installed CentOS 4.3 servers and have setup redundant BRIDGE. My plan is to have the ‘redundant’ BRIDGE working and then I will add ‘Shorewall’ Firewall to these two servers. On both machines, I have included the following lines in ‘/etc/rc.local’ so that the BRIDGE will be ACTIVE after BOOT:

 

/etc/rc.local

=========

 # Setup BRIDGE (First Bridge)

 brctl   addbr       tibbr1

 brctl   addif        tibbr1  eth0

 brctl   addif        tibbr1  eth1

 ifconfig   tibbr1  up

 ifconfig   tibbr1  12.21.237.2   netmask   255.255.255.0

 brctl   setageing   tibbr1  300

 brctl   stp   tibbr1    on

 brctl   setbridgeprio   tibbr1   100

 brctl   setpathcost  tibbr1  eth0  100

 brctl   setpathcost  tibbr1  eth1  100

 reboot

 

=========

Similar lines are included in the second server except the bridge name is ‘tibbr2’, IP addr is 12.21.237.4 & bridge & path costs are 200.

MAC addresses on each server are as follows:

 

Server 1:

eth0: 00:80:ad:16:f3:25

eth1: 00:30:1b:38:c6:41

 

Server 2:

eth0: 00:80:ad:16:e6:43

eth1: 00:30:1b:38:c4:c9

 

PROBLEM:

-------------

When I boot one of the servers, I get the following errors:

 

eth1: received packet with own address as source address

eth0: received packet with own address as source address

 

What are these errors & why they are appearing?

 

If I no-op (#) the following lines, the error disappear:

 

# ifconfig   tibbr1  up

# ifconfig   tibbr1  12.21.237.2   netmask   255.255.255.0

 

 

FYI, my current hardware setup is as follows:

 

                              T1 Line

                                     |

                      Cisco 26XX Router

                                     |

                                 HUB -----à HUB (Current Network)

                                     |

               ----------------------------

               |                  eth0                |                   

             fw1                                   fw2             

               |                  eth1                |

              -----------------------------

                                     |

                                 HUB

                                     |

             (Future: additional Servers)

 

Please HELP! How can I fix the settings so the above listed PROBLEM is resolved!!

 

Kirti


_______________________________________________ Bridge mailing list Bridge@lists.osdl.org https://lists.osdl.org/mailman/listinfo/bridge
--------------050407010908020609090404--