# cd /etc/syconfig/network-scripts/
# vi ifcfg-eth0
DEVICE=eth0
IPADDR=192.168.1.2
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
ONBOOT=yes
# /etc/rc.d/init.d/network stop
# /etc/rc.d/init.d/network start
# cd /etc/syconfig/network-scripts/
# vi ifcfg-eth0
DEVICE=eth0
IPADDR=192.168.1.2
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
ONBOOT=yes
# /etc/rc.d/init.d/network stop
# /etc/rc.d/init.d/network start
0 comentário