WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] bridge with IP address, "received packet with own addre

To: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>, "Xen-users, " <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] bridge with IP address, "received packet with own address as source address"
From: Jaroslaw Zdrzalek <jz@xxxxxxxxxx>
Date: Fri, 10 Nov 2006 19:43:07 +0100
Delivery-date: Mon, 13 Nov 2006 07:00:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45543245.32256.149E292A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <45519DD1.32613.A8A4226@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <45543245.32256.149E292A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
probably there is some kind of problem with you network-bridge script.
the bondX interfaces, when used as physical interfaces for xen,
should become renamed to pbond0. I miss these in you ifconfig output.
The newly created virtual interfaces will then get the config
from the physical.
Try to use original scripts from xen or that from debian,
maybe is suse doing somthing diffrent, dont know.

cheers
Jaroslaw

Am Freitag 10 November 2006 08:03 schrieb Ulrich Windl:
> On 8 Nov 2006 at 11:22, Jaroslaw Zdrzalek wrote:
> 
> > Am Mittwoch 08 November 2006 09:05 schrieb Ulrich Windl:
> > > Hi,
> > > 
> > > I've set up identical (what I think) machines using SLES 10 x86_64, but a 
> > > new one 
> > > of those is saying frequently in /var/log/messages:
> > > kernel: bond0: received packet with  own address as source address
> > 
> > First of all, you dont have to configure an ip for the bridge,
> > it is sufficient to configure a single interface (in your case bond0)
> > inside of the bridge.
> 
> Hi!
> 
> I don't configure an IP to the bridge; I suspect one of the XEN scripts does 
> that.
> 
> > 
> > What kind of bonding are you using (failover,trunk)?
> 
> RR (Round Robin; no resources to waste ;-))
> 
> > Are both eth0 and eth1 bounded together?
> 
> No: eth0 and eth2 are (as well as eth1 and eth3), but I simplified the config 
> to 
> just one bonding device (the other has the same problem).
> 
> > The output of the "ifconfig" and "ip r" would be of interest.
> 
> # ifconfig
> bond0     Link encap:Ethernet  HWaddr 00:14:4F:2A:12:9C
>           inet addr:132.199.176.78  Bcast:132.199.255.255  Mask:255.255.0.0
>           inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
>           UP BROADCAST NOTRAILERS RUNNING MASTER MULTICAST  MTU:1500  Metric:1
>           RX packets:10255964 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:47807 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:1322149244 (1260.8 Mb)  TX bytes:10161664 (9.6 Mb)
> 
> bond1     Link encap:Ethernet  HWaddr 00:14:4F:2A:12:9D
>           inet addr:192.168.0.61  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
>           UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
>           RX packets:467163 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:182973 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:55356374 (52.7 Mb)  TX bytes:15446422 (14.7 Mb)
> 
> eth0      Link encap:Ethernet  HWaddr 00:14:4F:2A:12:9C
>           inet6 addr: fe80::214:4fff:fe2a:129c/64 Scope:Link
>           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
>           RX packets:5128893 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:23904 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:661152537 (630.5 Mb)  TX bytes:5078854 (4.8 Mb)
>           Base address:0x9c00 Memory:fbfe0000-fc000000
> 
> eth1      Link encap:Ethernet  HWaddr 00:14:4F:2A:12:9D
>           inet6 addr: fe80::214:4fff:fe2a:129d/64 Scope:Link
>           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
>           RX packets:232507 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:91491 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:27346754 (26.0 Mb)  TX bytes:7723941 (7.3 Mb)
>           Base address:0x9800 Memory:fbfc0000-fbfe0000
> 
> eth2      Link encap:Ethernet  HWaddr 00:14:4F:2A:12:9C
>           inet6 addr: fe80::214:4fff:fe2a:129c/64 Scope:Link
>           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
>           RX packets:5127071 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:23903 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:660996707 (630.3 Mb)  TX bytes:5082810 (4.8 Mb)
>           Base address:0x9400 Memory:fbfa0000-fbfc0000
> 
> eth3      Link encap:Ethernet  HWaddr 00:14:4F:2A:12:9D
>           inet6 addr: fe80::214:4fff:fe2a:129d/64 Scope:Link
>           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
>           RX packets:234656 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:91482 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:28009620 (26.7 Mb)  TX bytes:7722481 (7.3 Mb)
>           Base address:0x9000 Memory:fbf80000-fbfa0000
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:1272 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1272 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:133664 (130.5 Kb)  TX bytes:133664 (130.5 Kb)
> 
> vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:10014671 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:1022240699 (974.8 Mb)
> 
> vif0.1    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:352307 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:22990221 (21.9 Mb)
> 
> vif3.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:12677 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:8778939 errors:0 dropped:16489 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:1104898 (1.0 Mb)  TX bytes:891317846 (850.0 Mb)
> 
> vif3.1    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:73434 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:352167 errors:0 dropped:27 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:5422654 (5.1 Mb)  TX bytes:24323072 (23.1 Mb)
> 
> vif7.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:11562 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:8430178 errors:0 dropped:14634 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:944314 (922.1 Kb)  TX bytes:856534825 (816.8 Mb)
> 
> vif7.1    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:58736 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:338407 errors:0 dropped:177 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:4431888 (4.2 Mb)  TX bytes:29430580 (28.0 Mb)
> 
> vif8.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:2366 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:8413334 errors:0 dropped:14916 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:1394428 (1.3 Mb)  TX bytes:853654917 (814.1 Mb)
> 
> vif8.1    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:60611 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:337535 errors:0 dropped:231 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:4554691 (4.3 Mb)  TX bytes:29351838 (27.9 Mb)
> 
> xenbr0    Link encap:Ethernet  HWaddr 00:14:4F:2A:12:9C
>           inet addr:132.199.176.78  Bcast:132.199.255.255  Mask:255.255.0.0
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING  MTU:1500  Metric:1
>           RX packets:9922658 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:21106 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:852951294 (813.4 Mb)  TX bytes:6268604 (5.9 Mb)
> 
> xenbr1    Link encap:Ethernet  HWaddr 00:14:4F:2A:12:9D
>           inet addr:192.168.0.61  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING  MTU:1500  Metric:1
>           RX packets:402748 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:43772 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:28150258 (26.8 Mb)  TX bytes:3356035 (3.2 Mb)
> 
> 
> # ip r
> 132.0.0.199 dev bond0  scope link
> 192.168.0.0 dev bond1  scope link
> 192.168.0.0/24 dev xenbr1  proto kernel  scope link  src 192.168.0.61
> 132.199.0.0/16 dev xenbr0  proto kernel  scope link  src 132.199.176.78
> 127.0.0.0/8 dev lo  scope link
> 
> Note: the "132.0.0.199" should actually be "132.199.0.0"; don't know where it 
> came 
> from.
> 
> An a "sane machine" the output is:
> # ip r
> 192.168.0.0/24 dev bond1  proto kernel  scope link  src 192.168.0.62
> 132.199.0.0/16 dev bond0  proto kernel  scope link  src 132.199.176.77
> 127.0.0.0/8 dev lo  scope link
> 
> Regards,
> Ulrich
> 
> 

Mit freundlichen Grüßen
Jaroslaw Zdrzalek
-- 
-----------------------------------------------------------------
Dipl.-Ing. (FH) Jaroslaw Zdrzalek | e-mail jz@xxxxxxxxxx
Netzwerke und Sicherheit          | web    www.silpion.de
Silpion IT-Solutions GmbH         | tel    +49 (40) 39 99 76 54 
Brandshofer Deich 48              | fax    +49 (40) 39 99 76 40
20539 Hamburg                     | mobil  +49 (178) 39 99 76 3 
-----------------------------------------------------------------

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users