From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kirti S. Bajwa" Date: Wed, 28 Jun 2006 10:30:11 -0400 Message-ID: <00ae01c69abf$5f9ec6f0$20ed150c@SunShine> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00AF_01C69A9D.D88D26F0" Subject: [Bridge] Error in Bridge Settings!! List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: bridge@lists.osdl.org This is a multi-part message in MIME format... ------=_NextPart_000_00AF_01C69A9D.D88D26F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Bridge List: =20 Please help a newbie! =20 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: =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 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D 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: =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 =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 -------> HUB (Current Network) | ---------------------------- | eth0 |=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 fw1 fw2=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 | eth1 | ----------------------------- | HUB | (Future: additional Servers) =20 Please HELP! How can I fix the settings so the above listed PROBLEM is resolved!! =20 Kirti ------=_NextPart_000_00AF_01C69A9D.D88D26F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

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 wor= king 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

=3D=3D=3D=3D=3D=3D=3D=3D=3D

 # Setup= BRIDGE = (First <= /span>B= ridge)=

 brctl   addbr       tibbr1

 brctl   addif   &nbs= p;    tibbr1  eth0

 brctl   addif   &nbs= p;    tibbr1  eth1

 ifconfig   tibbr1  up

 ifconfig   tibbr1  12.21.237.2=    netmask   255.255.255.0<= /p>

 brctl   setageing   tibbr= 1  300

 brctl   stp   tibbr1 = ;   on

 brctl   setbridgeprio   tibbr1   100

 brctl   setpathcost  tibbr1&nb= sp; eth0  100

 brctl   setpathcost  tibbr1&nb= sp; eth1  100

 reboot

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D

Similar lines are included in the second server except the bridge n= ame is ‘tibbr2’, IP addr is 12.21.237.4 & bridge & path cos= ts 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:<= /font>

 

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? <= /p>

 

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

 

# ifconfig   tibbr1  up

# ifconfig   tibbr1  12.21.237.2=    netmask   255.255.255.0<= /p>

 

 

FYI, my current hardware setup is as follows:

 

           &= nbsp;           &nbs= p;      T1 Line

           &= nbsp;           &nbs= p;             |

           &= nbsp;          Cisco 26XX Router

           &= nbsp;                      &nb= sp;  |

           &= nbsp;                 &nb= sp;   HUB -----à HUB (Current Network)

           &= nbsp;           &nbs= p;             |

           &= nbsp;   ----------------------------

           &= nbsp;   |            &n= bsp;     eth0               &nb= sp;|            = ;       

             fw1       =                      &nb= sp;      fw2     &nb= sp;       

           &= nbsp;   |            &n= bsp;     eth1            &nbs= p;   |

           &= nbsp;  -----------------------------

           &= nbsp;           &nbs= p;             |

           &= nbsp;           &nbs= p;         HUB

           &= nbsp;           &nbs= p;             |

           &= nbsp; (Future: additional Servers)

 

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

 

Kirti

------=_NextPart_000_00AF_01C69A9D.D88D26F0--