LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DHCP to static IP ?? (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-to-static-ip-172858/)

davepal 04-21-2004 09:17 AM

DHCP to static IP ??
 
Morning all,

I currently have DHCP running on my Redhat 9.2 box. I realized that I need static IP for an application that I plan to run on the network. How do I revert back ?

Any suggestions ?

Thanks
Dave

leckie 04-21-2004 09:34 AM

hedhat ehh open /etc/sysconfig/network-scripts/ifcfg-eth0


change BOOTPROTO="static"

and set IPADDR="ipaddress"

if you have a nonstandard subnet

change this NETMASK=255.255.254.0


have hun


All times are GMT -5. The time now is 09:07 AM.