Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Simply put: does Mac OS X support RFC3442?

RFC3442 implements DHCP codes (121 and 249) to provide classless static routes to DHCP clients.

I can only seem to find rather old information circa 2005-2008 which implies that OS X does not support RFC3442. Any chance this has changed recently and I'm just doing something wrong while setting it up? My anecdotal testing seems to confirm that OS X does not support RFC3442 but I'm looking for confirmation.

If OS X still doesn't support RFC3442, what is an alternative method of pushing static routes to OS X clients?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Per http://stackoverflow.com/questions/316574/dhcp-setting-in-mac-os-x, it should be possible to use ipconfig to get the values of arbitrary options from the most recent DHCP transaction. I presume you'd need to use a custom launchd plist to run something when the interface is (re)configured.

share|improve this answer
    
That workaround is definitely viable. I suppose the answer to the first questions is no, then? –  rthomson Mar 18 '11 at 3:38
    
Right, this is a workaround. The linked article lists the RFCs it obeys, and 3442 wasn't one of them. But any decent DHCP client (admittedly this excludes at least some Solaris versions...) provides a mechanism to get at other DHCP options, because custom options are used fairly widely in larger shops. –  geekosaur Mar 18 '11 at 3:43
    
Answer accept, friend. –  rthomson Mar 18 '11 at 6:11
    
Using ipconfig with 10.7, the classless routing options are not shown. There seems to be no way to get them in the Mac. Or does the Mac only request certain options and the dhcp server only sends the requested ones? –  mivk Jul 7 '13 at 18:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.