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

[Xen-users] Unable to get IP address in guest OS through DHCP


I have a Gentoo Linux guest, which was working very well with the past
xm tool stack.
Since the migration to xen-4.1.1 and to the new xl tool stack, I have
a problem for the IP
assignation. Actually, when dhcpcd starts at boot time the IP address
is not correctly assigned.
This also happens if I perform "dhcpcd eth0" once I've accessed to the
guest shell.

I don't know what happens, but it always worked with the previous xen
tool stack. I use a bridge
for the guest OS networking and it is called xenbr0.

This is what I see when dhcpcd starts:
 * Starting eth0
 *   Bringing up eth0
 *     dhcp
 *       Running dhcpcd ...dhcpcd[2226]: version 5.2.10 starting
dhcpcd[2226]: eth0: checking for
dhcpcd[2226]: eth0: using IPv4LL address
dhcpcd[2226]: forked to background, child pid 2247

I don't know if it could be a guest kernel configuration problem (I
don't think so) or something else, but the
network is not working. It should get an IP address of the type

The configuration file is:

kernel = "/mnt/dati/xen/kernel/vmlinuz-xen-3.0.4-domU"
memory = "512"
name = "gentoo-10.0-x86_64"
vif = ['bridge=xenbr0']
dhcp = "dhcp"
disk = ['file:/mnt/data/xen/vmstore/gentoo-10.0/gentoo-10.0.x86-64.img,xvda1,w',
root = "/dev/xvda1 ro"
vcpus = 2
extra   = 'console=hvc0 xencons=tty'
ip = "off"



Xen-users mailing list



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