Xen 3.0 Xend loses network - eth0 -> veth0? (fwd)
No one else got this problem with Xen Unstable anyway?
Quoted 36 lines
Hi Keir, and others, I didn't have time last week to further investigate the problem, but I'm able to do now.
When I do the network scripts by hand, as I already mentioned, things are going well and the interface and routing configuration are okay. this means correct routes via veth0 etc. Also eth0 got its FE:FF:FF:FF:FF:FF correctly.
The arp table looks good actually:
normal situation without xen:
megalosaurus:~# cat /proc/net/arp IP address HW type Flags HW address Mask Device 10.0.0.3 0x1 0x2 00:01:02:0A:25:0D * eth0 10.0.0.142 0x1 0x0 00:00:00:00:00:00 * eth0 10.0.0.141 0x1 0x0 00:00:00:00:00:00 * eth0 10.0.0.254 0x1 0x2 00:13:49:10:0B:E0 * eth0And with Xen and the veth0 interface:
IP address HW type Flags HW address Mask
Device
10.0.0.1410x10x000:00:00:00:00:00 *
veth0
10.0.0.1420x10x000:00:00:00:00:00 *
veth0
10.0.0.30x10x200:01:02:0A:25:0D *
veth0
10.0.0.2540x10x200:13:49:10:0B:E0 *
veth0
Quoted 8 lines
Looks perfectly right, I don't know what the problem could be actually. Everyting looks right and they reply to each others arp requests, that means on ARP level they see each other and reply to each other with the ARP replies.
:-S
Jurgen
Although very unlikely, it seems Keir Fraser stated on Jun 6 that :
Quoted 27 lines · Jurgen Stroo
Quoted 8 lines
The thing is, after I've got the following configuration it is still -NOT-
working:megalosaurus:~# ifconfig -a eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FFThe MAC address should be FE:FF:FF:FF:FF:FF. The one above is the broadcast address. Not sure if it actually matters, but worth fixing anyway as it might confuse the bridge.
I had problems with ARP when I first started testing veth0. It turned out that domain0 was not applying the information in ARP packets to the ARP cache. Since the ARP cache wasn't kept up to date, I saw very weird IP behaviour.
I fixed that particular bug, but maybe there's another one. It is perhaps worth looking at
/proc/net/arpand seeing how it compares with other machines on your network.-- Keir
Quoted 1 line · Jurgen Stroo
No one else got this problem with Xen Unstable anyway?
Well, not sure it is the same issue. But, today I lost network when I started xend. The thing is I can't seem to be able to reproduce it consistently.
Quoted 81 lines
Quoted 37 lines
Hi Keir, and others, I didn't have time last week to further investigate the problem, but I'm able to do now.
When I do the network scripts by hand, as I already mentioned, things are going well and the interface and routing configuration are okay. this means correct routes via veth0 etc. Also eth0 got its FE:FF:FF:FF:FF:FF correctly.
The arp table looks good actually:
normal situation without xen:
megalosaurus:~# cat /proc/net/arp IP address HW type Flags HW address Mask Device 10.0.0.3 0x1 0x2 00:01:02:0A:25:0D * eth0 10.0.0.142 0x1 0x0 00:00:00:00:00:00 * eth0 10.0.0.141 0x1 0x0 00:00:00:00:00:00 * eth0 10.0.0.254 0x1 0x2 00:13:49:10:0B:E0 * eth0And with Xen and the veth0 interface:
IP address HW type Flags HW address Mask
Device
10.0.0.1410x10x000:00:00:00:00:00 *
veth0
10.0.0.1420x10x000:00:00:00:00:00 *
veth0
10.0.0.30x10x200:01:02:0A:25:0D *
veth0
10.0.0.2540x10x200:13:49:10:0B:E0 *
veth0Quoted 8 lines
Looks perfectly right, I don't know what the problem could be actually. Everyting looks right and they reply to each others arp requests, that means on ARP level they see each other and reply to each other with the ARP replies.
:-S
JurgenAlthough very unlikely, it seems Keir Fraser stated on Jun 6 that :
Quoted 20 lines · Jurgen Stroo
Quoted 8 lines
The thing is, after I've got the following configuration it is still -NOT-
working:megalosaurus:~# ifconfig -a eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FFThe MAC address should be FE:FF:FF:FF:FF:FF. The one above is the broadcast address. Not sure if it actually matters, but worth fixing anyway as it might confuse the bridge.
I had problems with ARP when I first started testing veth0. It turned out that domain0 was not applying the information in ARP packets to the ARP cache. Since the ARP cache wasn't kept up to date, I saw very weird IP behaviour.
Quoted 7 lines
I fixed that particular bug, but maybe there's another one. It is perhaps worth looking at
/proc/net/arpand seeing how it compares with other machines on your network.-- Keir
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 8 lines
Regards,
David F Barrera
Linux Technology Center
Systems and Technology Group, IBM
"The wisest men follow their own direction. "
EuripidesI never have succeeded, it consistently does *not* work. Probably your problem was not taking over the MAC/IP from eth0, and after that setting the eth0 to the right MAC address and deleting the IP from its interface.
Jurgen
Although very unlikely, it seems David F Barrera stated on Jun 9 that :
Quoted 97 lines · Jurgen Stroo
Quoted 1 line
No one else got this problem with Xen Unstable anyway?
Well, not sure it is the same issue. But, today I lost network when I started xend. The thing is I can't seem to be able to reproduce it consistently.
Quoted 72 lines
Quoted 37 lines
Hi Keir, and others, I didn't have time last week to further investigate the problem, but I'm able to do now.
When I do the network scripts by hand, as I already mentioned, things are going well and the interface and routing configuration are okay. this means correct routes via veth0 etc. Also eth0 got its FE:FF:FF:FF:FF:FF correctly.
The arp table looks good actually:
normal situation without xen:
megalosaurus:~# cat /proc/net/arp IP address HW type Flags HW address Mask Device 10.0.0.3 0x1 0x2 00:01:02:0A:25:0D * eth0 10.0.0.142 0x1 0x0 00:00:00:00:00:00 * eth0 10.0.0.141 0x1 0x0 00:00:00:00:00:00 * eth0 10.0.0.254 0x1 0x2 00:13:49:10:0B:E0 * eth0And with Xen and the veth0 interface:
IP address HW type Flags HW address Mask
Device
10.0.0.1410x10x000:00:00:00:00:00 *
veth0
10.0.0.1420x10x000:00:00:00:00:00 *
veth0
10.0.0.30x10x200:01:02:0A:25:0D *
veth0
10.0.0.2540x10x200:13:49:10:0B:E0 *
veth0Quoted 8 lines
Looks perfectly right, I don't know what the problem could be actually. Everyting looks right and they reply to each others arp requests, that means on ARP level they see each other and reply to each other with the ARP replies.
:-S
JurgenAlthough very unlikely, it seems Keir Fraser stated on Jun 6 that :
Quoted 24 lines · Jurgen Stroo
Quoted 8 lines
The thing is, after I've got the following configuration it is still -NOT-
working:megalosaurus:~# ifconfig -a eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FFThe MAC address should be FE:FF:FF:FF:FF:FF. The one above is the broadcast address. Not sure if it actually matters, but worth fixing anyway as it might confuse the bridge.
I had problems with ARP when I first started testing veth0. It turned out that domain0 was not applying the information in ARP packets to the ARP cache. Since the ARP cache wasn't kept up to date, I saw very weird IP behaviour.
I fixed that particular bug, but maybe there's another one. It is perhaps worth looking at
/proc/net/arpand seeing how it compares with other machines on your network.Quoted 9 lines
Quoted 3 lines
-- Keir
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel--
Regards,David F Barrera
Linux Technology Center
Systems and Technology Group, IBM"The wisest men follow their own direction. "
Euripides
Am Donnerstag, den 09.06.2005, 13:59 +0200 schrieb Jurgen Stroo:
Quoted 1 line
No one else got this problem with Xen Unstable anyway?
My experience is that the network is broken after starting xend. However, there is a simple repair mechanism: down eth0, unload the hw module (3c59x in my case), load it again, and configure eth0 anew. Networking is then doing fine.
Regards,
Signature · 4 lines
Birger Tödtmann Technik der Rechnernetze, Institut für Experimentelle Mathematik Universität Duisburg-Essen, Campus Essen email:[email protected] skype:birger.toedtmann pgp:0x6FB166C9
Quoted 6 lines · Birger Tödtmann
Quoted 1 line
No one else got this problem with Xen Unstable anyway?
My experience is that the network is broken after starting xend. However, there is a simple repair mechanism: down eth0, unload the hw module (3c59x in my case), load it again, and configure eth0 anew. Networking is then doing fine.
Does domU networking work after doing this?
-- Keir
Am Freitag, den 10.06.2005, 08:12 +0100 schrieb Keir Fraser:
Quoted 10 lines · Birger Tödtmann
Quoted 7 lines
Quoted 2 lines
No one else got this problem with Xen Unstable anyway?
My experience is that the network is broken after starting xend. However, there is a simple repair mechanism: down eth0, unload the hw module (3c59x in my case), load it again, and configure eth0 anew. Networking is then doing fine.
Does domU networking work after doing this?
I never had problems w/ networking between domUs (besides the already described kernel crashes when sending too many multicasts/broadcasts on a bridge with 8+ domU interfaces attached), but "physical" networking seems to be broken for dom0 when starting xend. veth0 then has the MAC address of my NIC and eth0 got the MAC address FF:FF:FF.... It does not work unless I reload my NIC hw module.
Regards,
Signature · 4 lines
Birger Tödtmann Technik der Rechnernetze, Institut für Experimentelle Mathematik Universität Duisburg-Essen, Campus Essen email:[email protected] skype:birger.toedtmann pgp:0x6FB166C9
Quoted 8 lines · Birger Tödtmann
Quoted 1 line
Does domU networking work after doing this?
I never had problems w/ networking between domUs (besides the already described kernel crashes when sending too many multicasts/broadcasts on a bridge with 8+ domU interfaces attached), but "physical" networking seems to be broken for dom0 when starting xend. veth0 then has the MAC address of my NIC and eth0 got the MAC address FF:FF:FF.... It does not work unless I reload my NIC hw module.
Do you know if the problem is the transmit or receive path? Packets should get received okay, even with the dummy MAC address on eth0 -- interfaces on the bridge are put into promiscuous mode.
-- Keir