Jurgen Stroo
2005-Jun-09 11:59 UTC
Re: [Xen-devel] Xen 3.0 Xend loses network - eth0 -> veth0? (fwd)
No one else got this problem with Xen Unstable anyway?>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 * >eth0 > >And with Xen and the veth0 interface: >IP address HW type Flags HW address Mask >Device >10.0.0.141 0x1 0x0 00:00:00:00:00:00 * >veth0 >10.0.0.142 0x1 0x0 00:00:00:00:00:00 * >veth0 >10.0.0.3 0x1 0x2 00:01:02:0A:25:0D * >veth0 >10.0.0.254 0x1 0x2 00:13:49:10:0B:E0 * >veth0 > > >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 :> > On 5 Jun 2005, at 21:53, Jurgen Stroo wrote: > > > > > 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:FF > > The 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/arp and seeing how it compares with > other machines on your network. > > -- Keir > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
David F Barrera
2005-Jun-09 14:56 UTC
Re: [Xen-devel] Xen 3.0 Xend loses network - eth0 -> veth0? (fwd)
On Thu, 2005-06-09 at 13:59 +0200, Jurgen Stroo wrote:> 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.> > >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 * > >eth0 > > > >And with Xen and the veth0 interface: > >IP address HW type Flags HW address Mask > >Device > >10.0.0.141 0x1 0x0 00:00:00:00:00:00 * > >veth0 > >10.0.0.142 0x1 0x0 00:00:00:00:00:00 * > >veth0 > >10.0.0.3 0x1 0x2 00:01:02:0A:25:0D * > >veth0 > >10.0.0.254 0x1 0x2 00:13:49:10:0B:E0 * > >veth0 > > > > > >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 : > > > > > On 5 Jun 2005, at 21:53, Jurgen Stroo wrote: > > > > > > > > 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:FF > > > > The 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/arp and seeing how it compares with > > other machines on your network. > > > > -- Keir > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jurgen Stroo
2005-Jun-09 17:11 UTC
Re: [Xen-devel] Xen 3.0 Xend loses network - eth0 -> veth0? (fwd)
I 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 :> On Thu, 2005-06-09 at 13:59 +0200, Jurgen Stroo wrote: > > 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. > > > > >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 * > > >eth0 > > > > > >And with Xen and the veth0 interface: > > >IP address HW type Flags HW address Mask > > >Device > > >10.0.0.141 0x1 0x0 00:00:00:00:00:00 * > > >veth0 > > >10.0.0.142 0x1 0x0 00:00:00:00:00:00 * > > >veth0 > > >10.0.0.3 0x1 0x2 00:01:02:0A:25:0D * > > >veth0 > > >10.0.0.254 0x1 0x2 00:13:49:10:0B:E0 * > > >veth0 > > > > > > > > >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 : > > > > > > > > On 5 Jun 2005, at 21:53, Jurgen Stroo wrote: > > > > > > > > > > > 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:FF > > > > > > The 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/arp and seeing how it compares with > > > other machines on your network. > > > > > > -- Keir > > > > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > 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 > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Birger Tödtmann
2005-Jun-10 07:01 UTC
Re: [Xen-devel] Xen 3.0 Xend loses network - eth0 -> veth0? (fwd)
Am Donnerstag, den 09.06.2005, 13:59 +0200 schrieb Jurgen Stroo:> 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, -- Birger Tödtmann Technik der Rechnernetze, Institut für Experimentelle Mathematik Universität Duisburg-Essen, Campus Essen email:btoedtmann@iem.uni-due.de skype:birger.toedtmann pgp:0x6FB166C9 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2005-Jun-10 07:12 UTC
Re: [Xen-devel] Xen 3.0 Xend loses network - eth0 -> veth0? (fwd)
On 10 Jun 2005, at 08:01, Birger Tödtmann wrote:>> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Birger Tödtmann
2005-Jun-10 07:22 UTC
Re: [Xen-devel] Xen 3.0 Xend loses network - eth0 -> veth0? (fwd)
Am Freitag, den 10.06.2005, 08:12 +0100 schrieb Keir Fraser:> On 10 Jun 2005, at 08:01, Birger Tödtmann wrote: > > >> 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, -- Birger Tödtmann Technik der Rechnernetze, Institut für Experimentelle Mathematik Universität Duisburg-Essen, Campus Essen email:btoedtmann@iem.uni-due.de skype:birger.toedtmann pgp:0x6FB166C9 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2005-Jun-10 07:32 UTC
Re: [Xen-devel] Xen 3.0 Xend loses network - eth0 -> veth0? (fwd)
On 10 Jun 2005, at 08:22, Birger Tödtmann wrote:>> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel