Dhcpd - assign IP based on client-id in request, not MAC-address
-
Hi all,
I have an issue with a Apple MAC running VMWare with Windows 8 and bridged network adapter. The pfsense dhcp-server assigns an IP to the Apple MAC based on its MAC-address. The DHCP request from the VMWare-host has the same MAC-address but a different client-id.
The server seems to look at this as a request from the same host (based on the MAC) and the VMWare won't get an IP-address assigned.Shouldn't the dhcp-server distinguish the hosts based on the client-id in the request and not the MAC-address?
How can I make the dhcp-server do this? It seems to me that the RFC says this is how it should work.Is there a DHCP option that "turns on" this feature?
Thanks for any help!
-
The DHCP request from the VMWare-host has the same MAC-address
Can't you specify in a different MAC address in the VMWare host (or the Apple MAC)?
There is a big range of MAC addresses reserved to Digital (since taken over by Compaq since taken over by HP) beginning aa:00:04:00 which was reserved for DECnet phase IV which is probably no longer in substantial use anywhere so it is probably safe to reuse addresses from that space.
-
Well, that is the actual problem - you can't do that on the Apple MAC VMWare application… It uses the same MAC-address as on the
physical card, only with a different client-id (which the dhcp-server should take into account, but it doesn't). -
That isn't possible yet, but may not take a lot to add in the future (2.2 or later). Open a feature request ticket at http://redmine.pfsense.org/
-
When you say mac vmware application do you mean Fusion? You can change mac of vm in fusion
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1003479
Setting a MAC address for a virtual machine in VMware Fusion (1003479)
Not being able to change the mac address or generate a different one in a VM would be completely and utterly asinine.
-
The WiFi-card:
http://forum.parallels.com/showthread.php?1877-Parallels-Desktop-Networking-FAQ-and-Troubleshooting-Guide/page1
Read under "DHCP problems".
-
Yeah I see right there in dhcp problems
Also note that each time a new VM is created it’s assigned a new hardware address. You can change hardware address manually on the Advanced tab of VM Network Adapter Configuration should you need to do so.
If you wireless card does not allow promiscuous, use of other macs - then use a different wireless card, or use a wire.
Wouldn't another option just to set static IP? Or use Natted connection under VM software vs bridged.