Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2003 23:31:01 +0100
From:      Toni Schmidbauer <toni@stderror.at>
To:        freebsd-questions@freebsd.org
Subject:   Re: getting DHCP-assigned IP address
Message-ID:  <20031202223101.GA31192@stderror.at>
In-Reply-To: <3FCD0C92.7080508@code-fu.com>
References:  <3FCD0C92.7080508@code-fu.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 02, 2003 at 05:05:06PM -0500, Michael A. Smith wrote:
> Is there an easy way to get the IP address that DHCP has assigned to an=
=20
> interface?

ifconfig fxp0 | grep 'inet ' | cut -f 2 -d ' '

hth,
toni
--=20
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at=
=20
lieber gar nicht, als dass man verurteile.       | Toni Schmidbauer
-- Rudolf Steiner                                |=20

--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/zRKlu/mjSj7RMocRArdcAJ93YwzRYuVNquGCij9yaYLC5J9P+ACfS8SK
cJO8j47NJUWaCzVEjQ4Vrxc=
=22f1
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031202223101.GA31192>