[opensuse-factory] wicked dhcp & virtualization
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. Other dhcp clients (like dhcpcd) can obtain an IP from the Windows Server. Kind regards Michael -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.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). 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? -- 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
participants (2)
-
Michael Melcher
-
Per Jessen