Public bug reported: Xen was installed from the feisty repositories, the domU system was installed with debootstrap using the "debian lenny" template and later with the "ubuntu feisty" template. The installation is detailed later on this page. This recipe used to work fine but now show shortcomings. The eth0 interface is configured in the domU to dynamically retrieve its IP address.
The domU boots but can't get an IP address: [EMAIL PROTECTED]:~# dhclient eth0 Internet Systems Consortium DHCP Client V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ socket: Address family not supported by protocol - make sure CONFIG_PACKET (Packet socket) and CONFIG_FILTER (Socket Filtering) are enabled in your kernel configuration! DomU installation step: 1. create a partition {{{ lvcreate -n azalee -L 2G hd && mkfs.ext3 /dev/mapper/hd-azalee mkdir /mnt/azalee && mount /dev/mapper/hd-azalee /mnt/azalee}}} 1. install a minimum debian system: {{{ debootstrap feisty /mnt/azalee}}} 1. configure the minimum debian system : {{{ chroot /mnt/azalee cat > /etc/hostname <<. azalee . cat > /etc/fstab <<. /dev/hda1 / ext3 defaults 0 1 . cat > /etc/network/interfaces <<. auto lo eth0 iface lo inet loopback iface eth0 inet dhcp . exit umount /mnt/azalee }}} 1. create a "xen domain" ie a vm {{{ cat > /etc/xen/azalee <<. name = "azalee" kernel = "/boot/vmlinuz-2.6.19-4-server" ramdisk = "/boot/initrd.img-2.6.19-4-server" root = "/dev/hda1" disk = [ 'phy:/dev/hd/azalee,hda1,w' ] vif = [ 'mac=00:16:3E:00:01:03'] memory = 200 .}}} ** Affects: xen-3.0 (Ubuntu) Importance: Undecided Status: New ** Description changed: Xen was installed from the feisty repositories, the domU system was installed with debootstrap using the "debian lenny" template and later with the "ubuntu feisty" template. The installation is detailed later on this page. This recipe used to work fine but now show shortcomings. The eth0 interface is configured in the domU to dynamically retrieve its IP address. The domU boots but can't get an IP address: [EMAIL PROTECTED]:~# dhclient eth0 Internet Systems Consortium DHCP Client V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ socket: Address family not supported by protocol - make sure CONFIG_PACKET (Packet socket) and CONFIG_FILTER (Socket Filtering) are enabled in your kernel configuration! DomU installation step: 1. create a partition {{{ lvcreate -n azalee -L 2G hd && mkfs.ext3 /dev/mapper/hd-azalee - mkdir /mnt/azalee && mount /dev/mapper/hd-krusty /mnt/azalee}}} + mkdir /mnt/azalee && mount /dev/mapper/hd-azalee /mnt/azalee}}} 1. install a minimum debian system: {{{ debootstrap feisty /mnt/azalee}}} 1. configure the minimum debian system : {{{ chroot /mnt/azalee cat > /etc/hostname <<. azalee . cat > /etc/fstab <<. /dev/hda1 / ext3 defaults 0 1 . cat > /etc/network/interfaces <<. auto lo eth0 iface lo inet loopback iface eth0 inet dhcp . exit umount /mnt/azalee }}} 1. create a "xen domain" ie a vm {{{ cat > /etc/xen/azalee <<. name = "azalee" kernel = "/boot/vmlinuz-2.6.19-4-server" ramdisk = "/boot/initrd.img-2.6.19-4-server" root = "/dev/hda1" disk = [ 'phy:/dev/hd/azalee,hda1,w' ] vif = [ 'mac=00:16:3E:00:01:03'] memory = 200 .}}} -- dhclient fails in domU https://bugs.launchpad.net/bugs/127215 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
