dhcp -> static ip configuration.
My Red Hat 9.0 network interface is currently running in dhcp configuration. I would like to switch to static IP.
My ifcfg-eth0 file looks like below. DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes HWADDR=00:04:E2:83:F5:58 MODE=Managed ESSID=coconut KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx My router address is http://192.168.2.1 I know I need to add some kind of IPADDR, NETMASK, GATEWAY and BROADCAST variables and change BOOTPROTO to "static", but don't seem to get the setting correctly. Please advise. Thanks in advance. |
use:
redhat-config-network-druid or netconfig -d eth0 then do a /sbin/service network restart u need to have root access to do this. |
All times are GMT -5. The time now is 12:18 AM. |