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] eth0 is down in dom0

To: Ingo Rauner <irauner@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] eth0 is down in dom0
From: Ken Cobler <kcobler@xxxxxxxxxxxxxx>
Date: Fri, 21 Nov 2008 13:43:04 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 21 Nov 2008 11:44:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <492708C7.5090705@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <492708C7.5090705@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081105)
Ingo Rauner wrote:
Hi!

I built a xen 3.3.0 kernel on a Debian GNU/Linux 4.0 r4a (AMD64). When I boot the system without xen everything works fine. When I boot it with xen the network is not working. Here are the outputs of `ifconfig -a` for the system with and without xen:
Without xen (everything is as it should be):
-----------------------------------------------------
# ifconfig -a
eth0      Protokoll:Ethernet  Hardware Adresse <anonymized>
inet Adresse:192.168.2.105 Bcast:192.168.2.255 Maske:255.255.255.0 inet6 Adresse: fe80::21e:8cff:fece:7f/64 Gültigkeitsbereich:Verbindung
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:283 errors:0 dropped:0 overruns:0 frame:0
         TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
         Kollisionen:0 Sendewarteschlangenlänge:1000
         RX bytes:31321 (30.5 KiB)  TX bytes:5393 (5.2 KiB)
         Interrupt:177

eth1      Protokoll:UNSPEC  Hardware Adresse <anonymized>
         BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         Kollisionen:0 Sendewarteschlangenlänge:1000
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo Protokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0
         inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:66 errors:0 dropped:0 overruns:0 frame:0
         TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
         Kollisionen:0 Sendewarteschlangenlänge:0
         RX bytes:5176 (5.0 KiB)  TX bytes:5176 (5.0 KiB)

sit0      Protokoll:IPv6-nach-IPv4          NOARP  MTU:1480  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         Kollisionen:0 Sendewarteschlangenlänge:0
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
-----------------------------------------------------
Only eth0 is used, because eth1 is an onbord WLAN card that is disabled in the bios (when I use ifconfig without the -a option, this interface is not listed).

With xen (no network interfaces except lo and the tmpbridge which is not connected to any network interface):
-----------------------------------------------------
# ifconfig -a
lo Protokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:60 errors:0 dropped:0 overruns:0 frame:0
         TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
         Kollisionen:0 Sendewarteschlangenlänge:0
         RX bytes:4660 (4.5 KiB)  TX bytes:4660 (4.5 KiB)

tmpbridge Protokoll:Ethernet Hardware Adresse 00:00:00:00:00:00 BROADCAST MULTICAST MTU:1500 Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         Kollisionen:0 Sendewarteschlangenlänge:0
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
-----------------------------------------------------

I was not able to detect the problem from the logfiles. Which further information do you need to detect the problem or what should I try out?

Thanks, Ingo!


I have a similar problem. I have researched enough to realize that my OpenSuse 10.3 and Xen 3.3 have some compatibility issues (mainly in the location of network scripts like ifup and ifdown).

If I switch from network-bridge to network-route for Xen, the interfaces come up as expected.

If I modify the network-bridge script, I can get the interface to come up. I have to manually insert the route.

Ken Cobler




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

<Prev in Thread] Current Thread [Next in Thread>