1.edit the file with vi vi/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0ONBOOT=yesBOOTPROTO=staticIPADDR=192.168.0.20NETMASK=255.255.255.0GATEWAY=192.168.0.1 2.To put Dns Server ip addressvi /etc/resolv.confnameserver=192.168.0.103.restart the network serviceservice network rest...











