Re: [opensuse-factory] wicked dhcp & virtualization
Sorry for double sending. Gmail client on android sends html mail. -- Kind regards Michael Melcher Sent from my phone with K9 Am 24. November 2015 17:35:44 MEZ, schrieb Michael Melcher <michael.melcher82@gmail.com>:
Hi Per,
Am 24.11.2015 09:23 schrieb "Per Jessen" <per@computer.org>:
Michael Melcher wrote:
Hi,
I'm setting up a virtualization host based on Leap.
We have a Windows Server that acts as AD and DHCP Server. Unfortunately wicked seems to be unable to obtain an IP Address
from
the DHCP Server.
Wicked reports an error: option 121 has zero length error: unable to parse dhcp4 response.
according to bugzilla.novell.com id=918069 that bug has been fixed in wicked 0.6.19. Leap uses 0.6.27
This leaves me to the following setup: eth0: Static IP vnet0: Static IP dhcpd listening only on vnet0 to prevent conflicts with the main DHCP Server.
The issue here is, that vnet0 is not available until the first VM has been started. Thus the procedure currently is: 1: boot first VM 2: assign IP to vnet0 (ifconfig vnet0 xxx.xxx.xxx.xxx) 3: start dhcpd
Surely I could script something to do this automatically for me, but the goal should be to fix wicked to get an IP address from the Windows DHCP Server.
Hi Michael
I have a similar setup, based on xen and 13.2 - no problems with guests acquiring addresses via dhcp (from a dhcp server external to the xen host). It's not only the guests that are unable to acquire an IP from the windows server, but also the host itself.
I can't quite work out what you're trying to do - do you want your virtual hosts to use the DHCP server on your Windows machine or do you want to run dhcpd on a virtual host?
I'm currently forced to run dhcpd on the vm host (listening on vnet0 only!) As all guests using wicked/dhclient rather than dhcpcd can't get an IP either.
I could probably try a live dvd of a distro that uses dhcpcd in a vm to see if that works. But so far only suse (sle included) fails to get an IP. Even on real hardware. An Ubuntu live dvd we had to use today on real hardware got an IP. Same as acronis boot dvd (afaik it uses linux as base system too. But not 100%sure)
Also our gentoo systems (both on real hw and in vms in virtualbox) can obtain IPs from the DHCP Server.
As far as it looks like the issue is with wicked/dhclient producing the above mentioned error - which should be fixed according to the mentioned bug report.
On a side note: I'm not the admin of the windows server and thus can't check the configuration or adjust it.
-- Per Jessen, Zürich (-1.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Michael Melcher