En réponse à "Bruno G. Albuquerque" <bga@xxxxxxxxxxxxx>: > > I recently signed up to work on the Networking team, and I was > > asked to > > work on DHCP and PPP. Now, from what I see on my system, dhcp is > > done by two > > programs, dhcpd and dhcp_client. I don't know anything about how > > these > > interface with the rest of the networking environment (do they simply > > > act like > > daemons, doing the dhcp work and spitting out the IP info in the std > > > out??), > > and if anyone knows much about this, I'd love to hear it. I need a > > starting > > point. > > dhcpd is a server that will provide IP address to other computers. It > is not strictly necessary. dhcp_client is what actually gets an IP from > > a server and assigns it to a local interface. > Yeah, I actually missled you, this was caused by Linux having als something called dhcpcd (CD= client daemon), that does what the background part of dhcp_client does. > > As I said, all the DHCP client will do is request an IP, get an answer > > and assign it to an interface. just check the ifconfig code and you > will see how that works. For actually getting the IP you will have to > read the RFC that explains DHCP (I don't have the number handy right > now). > At least http://www.abcdrfc.free.fr/rfc-vo/rfc2485.txt http://www.abcdrfc.free.fr/rfc-vo/rfc2132.txt http://www.abcdrfc.free.fr/rfc-vo/rfc2131.txt François.