[vox-tech] dhcp question
Henry House
vox-tech@lists.lugod.org
Tue, 6 Aug 2002 00:18:01 -0700
--Fba/0zbH8Xs+Fj9o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Aug 05, 2002 at 11:39:16PM -0700, Peter Jay Salzman wrote:
> this is the first time i've ever done anything with dhcp. please regard
> me as a newbie here.
>=20
> from reading the man page, it sounds like:
>=20
> pump -i eth0
>=20
> or
>=20
> pump -i eth0 -l 120 (for 120 hours)
>=20
> will get an IP assigned to a machine. right? does this also configure
> DNS servers? will it also take care of the default gateway?
Since I know you use Debian exclusively, I will tell you the Debian Way. Ed=
it
your /etc/network/interfaces so that it looks like mine:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian instal=
lation
# automatically added when upgrading
auto eth0
iface eth0 inet dhcp
Run ifdown eth0; ifup eth0 and all should be well. The DNS servers will not
be configured but the default gateway will (by ifup, not pump or /sbin/dhcp=
).
--=20
Henry House
The attached file is a digital signature. See <http://romana.hajhouse.org/p=
gp>
for information. My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.
--Fba/0zbH8Xs+Fj9o
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9T3gpi3lu92AVGcIRAvdoAJ97/7jKGggAbkaGcRLzgPdCG7LhsQCfYGz5
XMSePp3/jyiqaHq5w0qwReU=
=mukN
-----END PGP SIGNATURE-----
--Fba/0zbH8Xs+Fj9o--