Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi Guys,
On Windows clients we can setup Dhcp class id, so that a particular range of ip's are addressed to those clients.
Is is possible to assign such dhcp class id to Mac os X ? cause currently i have to assign static ips to my mac user [one of them being my MD]. Setting up dhcp class id for mac will be a relief for the users who now have to go thru the hassle of manually changing their settings.
Imported from the Apple Support Forums via the Wayback Machine 🔗
What do you meant exactly?
Normally a DHCP client asks the server for an address and it gets returned one. If I understand what you are asking for it sounds very non-standard, since basically you seem to be saying that they can specify a zone of something of the sort, which I have never heard of before (maybe another MS specific extension?). A better approach on the DHCP server would either to split things into subnets and have different ranges for each, or to reserve certain addresses based on the MAC address of the specific computers.
0
rohver·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi,
Let me explain to you with an example...
In MS DHCP, you can set up vendor class ID, eg. macip.
you then configure your clients with the following lines:
*ipconfig /setclassid <name of you ethernet card> macip*
can this be done in mac?
0
rlussier·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hello,
You can set the ClassID in the Network Control Panel in the *DHCP Client ID* box. The trick lies in setting up your DHCP server to recognize it. Windows XP sends the DHCP class ID via DHCP option 77, and OS X sends it via option 61. You'll have to set your DHCP server to check for option 61, +with an offset of 1 and a length of 9+. That's the tricky bit. How you do this will depend on what DHCP server you are using, but this is what it looks like in the DHCPD.conf file:
class "ClassIDMac" {
match if (substring ( option dhcp-client-identifier, 1, 9) = "ClientID");
}
You'll also have to allow that Classid into your address pool, same as you did for XP: