Date: Tue, 02 Dec 2003 17:05:06 -0500 From: "Michael A. Smith" <msmith@code-fu.com> To: freebsd-questions@freebsd.org Subject: getting DHCP-assigned IP address Message-ID: <3FCD0C92.7080508@code-fu.com>
next in thread | raw e-mail | index | archive | help
Is there an easy way to get the IP address that DHCP has assigned to an interface? I know I can do it the hard way -- parsing the results of ifconfig with regular expressions -- but I suspect there's a much easier way. -- Michael A. Smith <msmith@code-fu.com> Programmer at Large
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FCD0C92.7080508>