FreeBSD Bugzilla – Bug 149949
emulators/open-vm-tools: Problems with DHCP on startup in Open-VM-Tools VMXNet driver
Last modified: 2013-12-22 22:30:00 UTC
sysinstall will let you configure the VMXNet devices(vxn0:) with DHCP and the device successfully obtains an IP address when running sysinstall. Unfortunately, at boot time, no attempt is made to acquire a DHCP address.
I suspect that there is a bug in the driver that causes it to not send the appropriate link-up stage change to trigger DHCP. That is why SYNCDHCP is needed. But, the patch to vmware-guestd is probably necessary even if the driver is changed so it starts earlier.
I was able to solve this by changing the rc.conf line configuring the device from ifconfig_vxn0="DHCP" to ifconfig_vxn0="SYNCDHCP"
But, I also had to change the following line in /usr/local/etc/rc.d/vmware-guestd so that it would start before "netif".
# BEFORE: LOGIN
# BEFORE: LOGIN netif
How-To-Repeat: Use sysinstall to configure the open-vm-tools ethernet driver and then reboot.
Fix synopsis and assign.
I would like to clarify something that I didn't mention in my bug report.
The actual port name I installed was open-vm-tools-nox11.
It is possible that my suggested workaround and changing the start order may have some undesired side-effect in the regular (x11) version of the tools.
I just upgraded the tools to the latest build. Can
you please test if the dhcp problem is fixed now ?
Thank you very much.
Reassign to the heap
Updates in between and feedback timeout.
Date: Sun Dec 22 22:23:06 2013
New Revision: 337221
- Require netif in vmware-guestd to avoid DHCP issue
- Bump PORTREVISION for package change
--- head/emulators/open-vm-tools/Makefile Sun Dec 22 21:21:24 2013 (r337220)
+++ head/emulators/open-vm-tools/Makefile Sun Dec 22 22:23:06 2013 (r337221)
@@ -3,7 +3,7 @@
--- head/emulators/open-vm-tools/files/vmware-guestd.in Sun Dec 22 21:21:24 2013 (r337220)
+++ head/emulators/open-vm-tools/files/vmware-guestd.in Sun Dec 22 22:23:06 2013 (r337221)
@@ -4,7 +4,7 @@
# PROVIDE: vmware-guestd
-# REQUIRE: DAEMON
+# REQUIRE: DAEMON netif
# BEFORE: LOGIN
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"