vi /etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:11:85:BC:7D:5F (YOUR NIC MAC ADDRESS)
IPADDR=111.111.111.111
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
vi /etc/sysconfig/network
Code:
NETWORKING=yes
HOSTNAME=YOURDOMAIN.com (locoalhost.localdomain)
GATEWAY=111.111.111.111