1. 外部网络变化之后,需要修改DNS
[root@rhe ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
TYPE=Ethernet
UUID=4f61c2be-900c-47cc-a0a5-b56223dff69d
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
HWADDR=00:0C:29:2A:A8:73
IPADDR=192.168.37.132
PREFIX=24
GATEWAY=192.168.37.2
DNS1=192.168.1.1
#DNS2=202.102.213.68
DOMAIN=192.168.37.1
LAST_CONNECT=1409535334

Profeel
289 声望17 粉丝

Brilliant's everywhere.