摘要:
首先配置DNSvi /etc/resolv.conf加入:nameserver 192.168.0.1其次配置网关:vi /etc/sysconfig/network加入:GATEWAY=192.168.0.1完整的如下:NETWORKING=yesHOSTNAME=localhost.localdomainGATEWAY=192.168.0.1然后编辑:vi /etc/sysconfig/network-scripts/ifcfg-eth0内容如下:DEVICE="eth0"HWADDR="00:0C:29:6C:BB:E6"#NM_CONTROLLE 阅读全文