Configure Default Gateway## # vi /etc/sysconfig/network# NETWORKING=yes HOSTNAME=centos6 GATEWAY=192.168.1.1 Restart Network Interface## /etc/init.d/network restart# Configure DNS Server## # vi /etc/resolv.conf# nameserver 8.8.8.8 # Replace with your nameserver ip nameserver 192.168.1.1 # Replace with your nameserver ip