Tuesday, 26 May 2015

How To Permanently Change The Linux IP Address Manually?

1. Setting the IP
/etc/sysconfig/network-scripts/ifcfg-eth0

2. Setting the DNS
/etc/resolv.conf
/etc/hosts

3. Setting the Router
/etc/sysconfig/network

4. Restart the network
/etc/rc.d/init.d/network restart

No comments:

Post a Comment