• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Dhcpd - assign IP based on client-id in request, not MAC-address

Scheduled Pinned Locked Moved DHCP and DNS
7 Posts 4 Posters 3.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jarlel
    last edited by Mar 21, 2013, 9:38 AM

    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!

    1 Reply Last reply Reply Quote 0
    • W
      wallabybob
      last edited by Mar 21, 2013, 11:18 AM Mar 21, 2013, 10:19 AM

      @jarlel:

      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.

      1 Reply Last reply Reply Quote 0
      • J
        jarlel
        last edited by Mar 21, 2013, 10:21 AM

        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).

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Mar 21, 2013, 12:11 PM

          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/

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by Mar 21, 2013, 12:15 PM

            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.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • J
              jarlel
              last edited by Mar 21, 2013, 1:31 PM

              The WiFi-card:

              http://forum.parallels.com/showthread.php?1877-Parallels-Desktop-Networking-FAQ-and-Troubleshooting-Guide/page1

              Read under "DHCP problems".

              1 Reply Last reply Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator
                last edited by Mar 21, 2013, 3:31 PM Mar 21, 2013, 1:46 PM

                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.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received