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-fr

[Xen-fr] Interface réseau non trouvée sur une VM

To: xen-fr@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-fr] Interface réseau non trouvée sur une VM
From: "Stephane DINE" <17stephane@xxxxxxxxx>
Date: Sat, 29 Nov 2008 17:02:41 +0100
Delivery-date: Sat, 29 Nov 2008 08:02:47 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=c89OnZah8KRTzm6yebW8MU/3PjJkq/4Ny8FompD+HO4=; b=Ibarr+VsEcJO2VwQylouglhZo1WwXge++SLsmDs8dVLuWg05TXA0g2vVn3oTwDGHX4 L6q52gk0wGk3NlOIRI0cTSNjwo1DnSvM20/ypIWQBm6XgJEzAqbV/JSi2bxI5cQfWIiZ 0GTe1bAMUyBRQ9FD3lv4Ns0Cku92/qbvbPKPI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=gBrdsqie2hWFOzh1VQ76VllVJ/5sz19PF1RqJWjSs97Uk2vKKyHtkKS6EaTb5zEjRi sMjpA7s+1aiPHUsDo3t5Z6+uVtkZ5/5StDoeLmOaV77aprUdZF4+eAP2W47MH72+sMfM Bxvy0t8iFlNCcewQG0cP9y0qHpdQ92+Oz1w94=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://lists.xensource.com/archives/html/xen-fr>
List-help: <mailto:xen-fr-request@lists.xensource.com?subject=help>
List-id: xen-fr.lists.xensource.com
List-post: <mailto:xen-fr@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-fr>, <mailto:xen-fr-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-fr>, <mailto:xen-fr-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-fr@xxxxxxxxxxxxxxxxxxx
Sender: xen-fr-bounces@xxxxxxxxxxxxxxxxxxx
Bonjour à tous,

Je viens d'installer Xen sur une Debian Etch. Ma première machine virtuelle se lance bien, par contre pas de réseau, j'ai cette erreur lors du démarrage de la VM :

   Setting up networking....
   Configuring network interfaces...SIOCSIFADDR: No such device
   eth0: ERROR while getting interface flags: No such device
   SIOCSIFNETMASK: No such device
   SIOCSIFBRDADDR: No such device
   eth0: ERROR while getting interface flags: No such device
   Failed to bring up eth0.

Voici pour info le contenu du fichier de conf de la VM :

   name = "LinuxVM1"
   kernel = "/boot/vmlinuz-2.6.18-4-xen-686"
   ramdisk = "/boot/initrd.img-2.6.18-4-xen-686"
   root = "/dev/sdb1"
   memory = 128
   cpus = "1"
   disk = ['phy:/dev/vg0/VM1-root,sdb1,w','phy:/dev/vg0/VM1-swap,sdb2,w']
   vif = ['mac=00:13:D4:56:40:4C,ip=192.168.1.101,bridge=xenbr0']
   extra = "3"

ifconfig sur Dom0 me donne ceci :

   dagda:/etc/xen# ifconfig
   eth0      Lien encap:Ethernet  HWaddr 00:13:D4:56:40:4C
          inet adr:192.168.1.4  Bcast:192.168.1.255  Masque:255.255.255.0
          adr inet6: fe80::213:d4ff:fe56:404c/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3827 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:718237 (701.4 KiB)  TX bytes:798942 (780.2 KiB)

   lo        Lien encap:Boucle locale
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:848 (848.0 b)  TX bytes:848 (848.0 b)

   peth0     Lien encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:6194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3843 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:743103 (725.6 KiB)  TX bytes:815742 (796.6 KiB)
          Interruption:17

   vif0.0    Lien encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:3827 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6194 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:798942 (780.2 KiB)  TX bytes:718237 (701.4 KiB)

   xenbr0    Lien encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          adr inet6: fe80::200:ff:fe00:0/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1001 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:280305 (273.7 KiB)  TX bytes:0 (0.0 b)

brctl show retourne ceci :

   dagda:/etc/xen# brctl show
   bridge name     bridge id               STP enabled     interfaces
   xenbr0          8000.feffffffffff       no              vif0.0
                                                           peth0

J'ai bien modifier ce qu'il faut dans /etc/sen/xend-config.sxp :
   (network-script network-bridge)
   (vif-script vif-bridge)

Et pour finir voici le contenu du fichier /etc/network/interfaces

   auto lo
   iface lo inet loopback
   address 127.0.0.1
   netmask 255.0.0.0

   auto eth0
   iface eth0 inet static
   address 192.168.1.101
   netmask 255.255.255.0
   broadcast 192.168.1.255
   network 192.168.1.0
   gateway 192.168.1.1


Depuis le Dom0 je ping très bien la gateway et sur le net.
J'ai cherché un peu partout mais là je bloque. Je me serais planté quelque part dans la config ???

Merci d'avance pour votre aide.

--
Stéphane
17stephane@xxxxxxxxx
http://stephane.baladeauboutdumonde.com
_______________________________________________
Xen-fr mailing list
Xen-fr@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-fr
<Prev in Thread] Current Thread [Next in Thread>