Re: dhcp client
On Tue, Jan 11, 2000 at 11:02:48AM -0800, Kenneth Scharf wrote:
> How do I setup my linux box to get it's lan address
> from dhcp-client? I've installed dhcp-client (no
> configuration requested). Looking at
> /etc/init.d/network I see my static ip is defined and
> used in the ifconfig line to start the network. What
> do I replace these with to get the ip from
> dhcp-client, and where do I specify my dhcp server ip?
the principle of dhcp is that you (the client) shouts a request on the whole
network and then the dhcp daemon gives you an IP...
the dhcp-client needs by default no config, though there is a config file
(/etc/dhclient.conf for special things...) and will request an IP address
AFTER /etc/init.d/network... but maybe you should
comment al things except 'ifconfig lo 127.0.0.1 netmask 255.0.0.0'
out to avoid troubles during that little time between network and dhclient
script ;)
Paul van Tilburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Student @ | Using the Power of Linux...
University of Technology | ICQ: 8678828
Eindhoven, The Netherlands | email: paul@donald-duck.ele.tue.nl
Reply to:
- References:
- dhcp client
- From: Kenneth Scharf <scharkalvin@yahoo.com>