Epoch, Richard: OK, I've updated my script after having thought about some of the things you guys had to say. Thanks for that.
I guess my real question was this: Is using dhclient the easiest way to determine the address of the dhcp server? It seems a little messy to me given that I have to kill it later on in the script. Also, am I in danger of slowly exhausting the dhcp server's pool this way? Neither dhcping or dhcpdump seem like they'll do what I want. Is there some other way to broadcast a dhcp request and parse the response for an ip address? Do I need to write my own C code to broadcast a DHCPDISCOVER packet and then tease the dhcp server's ip address out of a DHCPOFFER response? Would I be avoid exhausting the dhcp pool as long as my C utility never follows up the DHCPOFFER with a DHCPREQUEST? ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=95037 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
