Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Find and display a DHCP server's IP address' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Find and display a DHCP server's IP address
Authored by: piper on Jan 31, '06 01:53:34PM

If you get nothing when you run the command it probably means you have a static, not DHCP, IP address.

piper



[ Reply to This | # ]
Find and display a DHCP server's IP address
Authored by: sjk on Jan 31, '06 10:10:52PM
Yep, that's likely the reason. From the ipconfig man page:

     getpacket interface-name
                 Prints to standard output the DHCP/BOOTP packet that the
                 client accepted from the DHCP/BOOTP server.  This command is
                 useful to check what the server provided, and whether the
                 values are sensible.  This command outputs nothing if
                 DHCP/BOOTP is not active on the interface, or the attempt to
                 acquire an IP address was unsuccessful.


[ Reply to This | # ]
Find and display a DHCP server's IP address
Authored by: designcoder on Feb 01, '06 10:54:43AM

Yep -- that's it. I forgot I had a static address on my at-work Mac!



[ Reply to This | # ]