[Pkg-xen-devel] Bug#429789: Bug#429789: peth0: received packet with own address as source address

Adriaan Peeters apeeters at lashout.net
Fri Apr 25 12:48:57 UTC 2008


On Wed, 2008-04-23 at 16:22 +0200, Ralph Passgang wrote:
> Zitat von martin f krafft <madduck at debian.org>:
> 
> > also sprach Adriaan Peeters <apeeters at lashout.net> [2008.04.23.1448 +0200]:
> >> It has been a while but yes, we were running two xen hosts in the same
> >> network. Since they were both standard Debian installs they had the same
> >> MAC address: FE:FF:FF:FF:FF:FF.
> >>
> >> The patch from my initial bug report fixes this by assigning a separate
> >> mac address.
> >
> > I'd say this is fighting symptoms. It's either a kernel bug in the
> > driver or in xen. I hope to find out more soon.
> 
> I maintain more then one xen hosts in the same collision domain myself  
> but never saw this error before. But I think the reason must be the  
> following:
> 
> peth0 is the real physical interface which is connected to the  
> network, but peth0 should never be used directly by anybody. peth0 has  
> this _strange_ mac adress of FE:FF:FF:FF:FF:FF. This is part of the  
> xen bridge-scripts that are executed when xen(d) is started.
> 
> then we have a bridge, normally called xenbr0. peth0 is part of this bridge.
> 
> And we have a virtual interface, called eth0, which should be used if  
> xen's domain0 wants to communicate via network. eth0 is also part of  
> this bridge. eth0 should have the mac adress of you real network  
> interface.
> 
> As long as eth0 is used, there is no problem, even if you have more  
> then one xen hosts in your collision domain.

This is how I understood the Xen documentation indeed.

> But if peth0 is used as source-interface for connections from your  
> domain0, then this might lead to problems. If you have more then one  
> xen host in your network, then this will produce the network error  
> message you saw.
> 
> But the question is why traffic was send via peth0 and not via eth0?  
> Maybe a wrong routing table? Maybe ipv6 traffic (if eth0 is not  
> configured properly for ipv6)? Something like this should cause this  
> problems.

It might be related to ipv6 traffic since ipv6 is configured on both
machines (again: default Debian install) but no ipv6 routing is
available on our network.

> @Adriaan: Can you provide the output of the following commands:
> # ip route
> # ip -6 route
> # ip neigh
> # ip -6 neigh
> # ip addr

Please see the attachment. I hope it helps since we have the patch
mentioned above in place (and cannot revert this currently because they
are production machines). The MAC addresses of both peth0 interfaces are
therefore different.

Cheers,
-- 
Adriaan Peeters
-------------- next part --------------
VOPRO 1
==================================================================
vopro1:~# ip route
157.xxx.xxx.0/23 dev eth0  proto kernel  scope link  src 157.xxx.xxx.11
default via 157.xxx.xxx.254 dev eth0
vopro1:~# ip -6 route
fe80::/64 dev xenbr0  metric 256  expires 17357093sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif0.0  metric 256  expires 17357094sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev peth0  metric 256  expires 17357098sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth0  metric 256  expires 17357098sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif1.0  metric 256  expires 17358840sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif2.0  metric 256  expires 17358847sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif3.0  metric 256  expires 17358854sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif4.0  metric 256  expires 17358862sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif5.0  metric 256  expires 17358870sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif6.0  metric 256  expires 17359067sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev xenbr0  metric 256  expires 17357093sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif0.0  metric 256  expires 17357094sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev peth0  metric 256  expires 17357098sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev eth0  metric 256  expires 17357098sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif1.0  metric 256  expires 17358840sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif2.0  metric 256  expires 17358847sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif3.0  metric 256  expires 17358854sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif4.0  metric 256  expires 17358862sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif5.0  metric 256  expires 17358870sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif6.0  metric 256  expires 17359067sec mtu 1500 advmss 1440 hoplimit 4294967295
unreachable default dev lo  proto none  metric -1  error -101 hoplimit 255
vopro1:~# ip neigh
157.xxx.xxx.254 dev eth0 lladdr 00:15:c7:8b:f8:00 REACHABLE
vopro1:~# ip -6 neigh
vopro1:~# ip addr
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: peth0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
     link/ether fe:ff:ff:ff:0b:00 brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:b00/64 scope link
        valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
     link/ether 00:18:8b:77:94:af brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop
     link/sit 0.0.0.0 brd 0.0.0.0
5: vif0.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:0b:00 brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:b00/64 scope link
        valid_lft forever preferred_lft forever
6: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
     link/ether 00:18:8b:77:94:ae brd ff:ff:ff:ff:ff:ff
     inet 157.xxx.xxx.11/23 brd 157.xxx.xxx.255 scope global eth0
     inet6 fe80::218:8bff:fe77:94ae/64 scope link
        valid_lft forever preferred_lft forever
7: vif0.1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
8: veth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
9: vif0.2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
10: veth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
11: vif0.3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
12: veth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
13: xenbr0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:0b:00 brd ff:ff:ff:ff:ff:ff
     inet6 fe80::200:ff:fe00:0/64 scope link
        valid_lft forever preferred_lft forever
14: vif1.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
15: vif2.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
16: vif3.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
17: vif4.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
18: vif5.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
19: vif6.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
vopro1:~#

VOPRO 2
==================================================================
vopro2:~# ip route
157.xxx.xxx.0/23 dev eth0  proto kernel  scope link  src 157.xxx.xxx.12
default via 157.xxx.xxx.254 dev eth0
vopro2:~# ip -6 route
fe80::/64 dev xenbr0  metric 256  expires 17356998sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif0.0  metric 256  expires 17356998sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev peth0  metric 256  expires 17357002sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth0  metric 256  expires 17357002sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif2.0  metric 256  expires 17358851sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif3.0  metric 256  expires 17358859sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif4.0  metric 256  expires 17358866sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif5.0  metric 256  expires 17358874sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif6.0  metric 256  expires 17358881sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vif10.0  metric 256  expires 20992845sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev xenbr0  metric 256  expires 17356998sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif0.0  metric 256  expires 17356998sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev peth0  metric 256  expires 17357002sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev eth0  metric 256  expires 17357002sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif2.0  metric 256  expires 17358851sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif3.0  metric 256  expires 17358859sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif4.0  metric 256  expires 17358866sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif5.0  metric 256  expires 17358874sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif6.0  metric 256  expires 17358881sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vif10.0  metric 256  expires 20992845sec mtu 1500 advmss 1440 hoplimit 4294967295
unreachable default dev lo  proto none  metric -1  error -101 hoplimit 255
vopro2:~# ip neigh
157.xxx.xxx.254 dev eth0 lladdr 00:15:c7:8b:f8:00 REACHABLE
vopro2:~# ip -6 neigh
vopro2:~# ip addr
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: peth0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
     link/ether fe:ff:ff:ff:12:00 brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:1200/64 scope link
        valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
     link/ether 00:18:8b:7c:cb:d8 brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop
     link/sit 0.0.0.0 brd 0.0.0.0
5: vif0.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:12:00 brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:1200/64 scope link
        valid_lft forever preferred_lft forever
6: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
     link/ether 00:18:8b:7c:cb:d7 brd ff:ff:ff:ff:ff:ff
     inet 157.xxx.xxx.12/23 brd 157.xxx.xxx.255 scope global eth0
     inet6 fe80::218:8bff:fe7c:cbd7/64 scope link
        valid_lft forever preferred_lft forever
7: vif0.1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
8: veth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
9: vif0.2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
10: veth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
11: vif0.3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
12: veth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
13: xenbr0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:12:00 brd ff:ff:ff:ff:ff:ff
     inet6 fe80::200:ff:fe00:0/64 scope link
        valid_lft forever preferred_lft forever
15: vif2.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
16: vif3.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
17: vif4.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
18: vif5.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
19: vif6.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
23: vif10.0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
     link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
     inet6 fe80::fcff:ffff:feff:ffff/64 scope link
        valid_lft forever preferred_lft forever
vopro2:~#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20080425/f8c59190/attachment.pgp 


More information about the Pkg-xen-devel mailing list