文章列表
依次修改以下三个文件:
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/resolv.conf
1.配置网关/etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=LOCALHOST #主机名
GATEWAY=219.244.92.1 #默认网关
2.配置网卡IP地址 /etc/sysconfig/network-scripts ...