-   Linux - Networking (
-   -   DHCP server (

justinr1 08-03-2005 05:43 AM

DHCP server
Simple question:
How can I check the ip address of the DHCP server from the DHCP client machine?

archtoad6 08-03-2005 06:44 AM

It depends on the DHCP client you are using. With pump use -s:

# pump -s
Device eth0
        Boot server
        Next server
        Renewal time: Wed Aug  3 06:53:27 2005
        Expiration time: Wed Aug  3 07:08:27 2005

If you're using dhcpcd or dhclient, RT(F)M, I presume they have an equivalent option.

justinr1 08-03-2005 07:09 AM

Thanks for your help
Looks like dhcpcd. I will try google that a little.

archtoad6 08-03-2005 08:33 AM

DHCP clients
Start with:

$ man dhcpcd
BTW, if you don't know what DHCP client you're using, try:

$ dhc<TAB>
As long as tab completion is working, it will show dhclient or dhcpcd. If it does not complete to either of these, then you probably (99%) have pump.

archtoad6 04-20-2006 09:48 AM

DHCP client list

Yesterday I ran across a reference in a mailing list archive to "4 Linux DHCP clients in common use". "4?", I said to myself, "I only know 3, WTF is the 4th?"

I did a variety Gooles, the 1 that worked is:
"linux dhcp clients" dhcpcd dhclient pump

& the 4th is dhcpxd. Notice that dhc<tab> will still detect it. So the list, possibly in chronological order, is:
  • pump
  • dhcpcd
  • dhcpxd
  • dhclient

SimplyMEPIS now uses dhclient (was pump).

Obviously, I have never seen dhcpxd on a system, since I just heard about it today.

It, dhcpxd, may be a Mandriva creation.

All times are GMT -5. The time now is 03:18 PM.