How do I set up DHCP in Linux?
Ron Peterson
ron.peterson at yellowbank.com
Sat Feb 10 22:29:13 EST 2001
"Kevin M. Gleason" wrote:
>
> I am running RH6.2 and have the Red Hat Linux Bible (for 6.1) in front
> of me...it only mentions that one might have it...the Bible don't cover
> it.
/etc/sysconfig/network-scripts/ifcfg-eth0 should look like:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
The script /etc/sysconfig/network-scripts/ifup will actually start
dhcp. It will look for one of either 'pump' or 'dhcpcd'. I use pump.
Just make sure you have the pump rpm installed (rpm -qa | grep pump).
Run '/etc/rc.d/init.d/network restart' to restart the network. Do 'tail
/var/log/messages' if you want to see what's going on.
-Ron-
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
More information about the Discuss
mailing list