[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Salut,
essaye pour voir sans le ip =
vif = [ 'mac=00:16:3e:FF:FE:01, bridge=xenbr0' ]

si tu n'as rien regarde dans tes log xen (/var/log/xen* )
et Ãventuellement colle nous Ãa ici ;)

tu devrais avoir un vif1.0 qui s'affiche dans ton dom0 dans xenbr0 et
dans ifconfig -a

sinon, lundi il y aura surement + de monde sur la chan #xenfr sur
freenode.

bon courage

yg

Le samedi 29 novembre 2008 Ã 17:02 +0100, Stephane DINE a Ãcrit :
> 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


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.