Xen:failed to bring up eth0 from Dom0 (SIOCSIFADDR: No such device)
John LEJEUNE
john.lejeune at free.fr
Sat Feb 24 00:28:03 UTC 2007
Hello Ubunter[o|a]s,
I'm running Xen on Edgy from a raw LVM partition,
according to the
https://help.ubuntu.com/community/XenVirtualMachine/XenOnUbuntuEdgy
howto.
Everything goes well, but I'm unable to connect to the internet from
Dom0.
Here some informations on how the Dell inspiron 640m is configured:
john at mobildev:~$ uname -r
2.6.17-6-generic-xen0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
john at mobildev:~$ more /etc/xen/
[...]
#(network-script network-dummy)
(network-script network-bridge)
[...]
(vif-script vif-bridge)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
john at mobildev:~$ more /etc/network/interfaces
auto lo
iface lo inet loopback
#auto eth0
#iface eth0 inet dhcp
#config Xen
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
john at mobildev:~$ more /etc/xen/edgy-guest.cfg
kernel = "/boot/xen0-linux-2.6.17-6-generic-xen0"
ramdisk = "/boot/xen0-linux-2.6.17-6-generic-xen0.initrd.img"
builder='linux'
memory = 128
name = "edgy-guest"
vcpus = 1
vif = [ 'bridge=xenbr0' ]
disk = [ 'phy:/dev/vgGuest/lv1,hda1,w' ]
root = "/dev/hda1 ro"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
john at mobildev:~$ ifconfig
Password:
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
Packets reçus:2 erreurs:0 :0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:100 (100.0 b) Octets transmis:100 (100.0 b)
vif1.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
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:0 (0.0 b) Octets transmis:0 (0.0 b)
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
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:0 (0.0 b) Octets transmis:0 (0.0 b)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
john at mobildev:~$ sudo ifup eth0
Password:
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
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
I have tried to modify iftab, without any success.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
john at mobildev:~$ more /etc/iftab
#eth0 mac 00:15:c5:72:b8:69 arp 1
eth1 mac 00:18:de:e2:b8:05 arp 1
Finally, I've also tried to remove --purge the network-manager (and his
gnome orchestra). ;)
But the problem still alive.
Did I miss something ? Is it launchpad time ?
Thanks for any help, advice or suggestion.
Freely,
John.
More information about the ubuntu-users
mailing list