And to setup or configure your IP address, Gateway and Netmask run this command.
vi /etc/sysconfig/network-scripts/ifcfg-eth0
You may get a result like this
DEVICE=eth0
BOOTPROTO=none
HWADDR=e0:69:95:50:39:6a
IPADDR=192.168.0.12
NETMASK=255.255.0.0
GATEWAY=192.168.0.1
ONBOOT=yes
Press the Insert key on your keyboard to make any changes on your eth0 config and after changing the correct IP Address, Netmask and Gateway you may press ESC on your keyboard then type :wq then press enter.
No comments:
Post a Comment