Benches macOS

4

DHCP client options

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I have a problem connecting to our company network. It seems that IP addresses are only handed out to machines having certain DHCP client options. Is there a way to add these options to DHCP client requests in Mac OS X?

4 replies

Sign in or join Beachball Help to reply.

  1. 0

    Austin Kinsella1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Can you tell us what options? If it is just the DHCP client id you can set it in Network Preferences - select the interface, click advanced, and look at the TCP/IP tab.

    User uploaded fileAK

  2. 0

    moreelsj

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The DHCP client id should have been too easy. Thanks anyway for the suggestion. I need to specify the vendorclassid in the client request.

  3. 0

    Austin Kinsella1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    See is there anything helpful in
    this thead - after that, I am out of ideas.

    User uploaded fileAK

  4. 0

    moreelsj

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for the information. It did however not advance me.

    In Linux you can set DHCP options using the /etc/dhclient.conf file

    I checked DHCP configuration for Mac OS X and I only found settable parameters in /System/Library/SystemConfiguration/IPConfiguration.bundle/Contents/Resources/I PConfiguration.xml.

    There I find the following related to DHCP:

    <key>DHCPAcceptsBOOTP</key>

    <false/>

    <key>DHCPAllocateLinkLocalAtRetryCount</key>

    <integer>2</integer>

    <key>DHCPDefendIPAddressCount</key>

    <integer>3</integer>

    <key>DHCPDefendIPAddressIntervalSeconds</key>

    <integer>30</integer>

    <key>DHCPFailureConfiguresLinkLocal</key>

    <true/>

    <key>DHCPInitRebootRetryCount</key>

    <integer>2</integer>

    <key>DHCPLocalHostNameLengthMax</key>

    <integer>15</integer>

    <key>DHCPRequestedParameterList</key>

    <array>

    <integer>1</integer>

    <integer>3</integer>

    <integer>6</integer>

    <integer>15</integer>

    <integer>119</integer>

    <integer>95</integer>

    <integer>252</integer>

    <integer>44</integer>

    <integer>46</integer>

    <integer>47</integer>

    </array>

    <key>DHCPRouterARPAtRetryCount</key>

    <integer>0</integer>

    <key>DHCPSelectRetryCount</key>

    <integer>3</integer>

    <key>DHCPSuccessDeconfiguresLinkLocal</key>

    <true/>

    There seems to be a possibility to request certain server options but I cannot see any client options. I do not know if it is possible to set these options and did not find any documentation about this.

    I tried a few things by adding some XML tags but got no success.