Jump to ID:
Networking

Project Home

Discussions

Wiki

Project Info
Forum Topic - DHCP client startup: Page 1 of 28 (28 Items)
   
 
 
DHCP client startup  
Hi,

I read post5543 and have an additional question. (In the future should I just append to that post?)

We need to implement DHCP client identifiers. It appears that the released client doesn't allow for that in the build. 
So I downloaded the client from SourceForge and re-built it to enable the "-D" option (client identifier support).

That said, I need to start the client with command line parameters. For now, I've added the following to rc.local:

slay dhcp.client
slay dhcp.client
dhcp.client -i en0 -D 02000000
dhcp.client -i en1 -D 03000000
inetd

There are two adapters shown above but that does not matter for this question.

The above is inelegant and I think it poses a race condition WRT to allocation of DHCP lease requests. That is, the 
server sees the first request using a MAC address and then a second (on the same adapter) using the client identifier. 

What I'd like to do is know how do I specify dhcp.client parameters when it is started by netmanager (from post5543)? Is
 that possible?

Thanks...