dhcp ---->static
ONBOOT--yes
IPADDR =192.168.20.130
GATEWAY =192.168.2.128
DNS1=192.168.20.128
验证 : service network restart
ping www..................
dhcp ---->static
ONBOOT--yes
IPADDR =192.168.20.130
GATEWAY =192.168.2.128
DNS1=192.168.20.128
验证 : service network restart
ping www..................