VMware error: VMnetDHCP - No subnet declaration for VMnet

VMware Workstation 12 Player

I have rewritten as always the files vmnetdhcp.conf and vmnetnat.conf to keep infrastructure consistent and it appears error message in EventViewer "No subnet declaration for VMnet8 (192.168.113.1). Please write a subnet declaration for the network segment to which interface VMnet8 is attached."

I have found that vmnetdcp.exe looks for value in registry
HKLM\System\CurrentControlSet\services\VMnetDHCP\Parameters\VirtualEthernetSegments\1\HostIpAddress

The registry key was still containing old IP address and didn't allow to start DHCP service. You should change it to actual one.
Please note that address has reverse HEX notation. e.g.
192.168.1.1 is reversed to 1.1.168.192 and key value is 0101A8C0


Enjoy!

5 comments:

Anonymous said...

Thank you you rock.

here's a reverse hex (and back) online resource http://www.adman.net/cisco/hexip.asp
(ok it's the first result in google but for some reason I picked the second link.)

Anonymous said...

Thank you!
fight this 6 hours!
working calculator, top one does not work

http://ncalculators.com/digital-computation/ip-address-hex-decimal-binary.htm

mm said...

You rock! Works like a charm....thanks!

Unknown said...

THANK YOU!

Anonymous said...

Holy shit, this saved me a ton of time, thank you!

HOWTO: Repair Logitech M325 Mouse

FixIt says that you will find single screw under CE label. It isn't always true.