View Full Version : Network Question using DHCP
Damide
02-10-2002, 11:25 PM
I have been using seq 4 now with static IP's, but may have to change to a service using DHCP soon. I tried playing around with RedHat 7.1 to find out how to change from static to DHCP - does anyone know how to do this, and the better question, will it be able to run this way?
Thanks,
D
fryfrog
02-10-2002, 11:33 PM
yes, redhat can use dhcp just fine.
the file /etc/sysconfig/network-scripts/ifcfg-eth0 contains some settings. this is my file (which uses dhcp to get an ip). you can also use "linuxconf"
[root@mystique network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
Damide
02-10-2002, 11:57 PM
I just tried that setting using this Linksys router I had with built in DHCP and it worked perfect...thanks Fry!
Powered by vBulletin® Version 4.1.11 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.