选用centos6.5+Linux2.4(64)桥接模式
网络配置
加入
IPADDR=192.168.1.11
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.0
BOOTPROTO=static
ONBOOT=yes
改了n遍
原来坑在适配哪儿呢
1.rm -rf /etc/udev/rules.d/70-persistent-net.rules
2.reboot //生成新的网络适配器
3.vi /etc/sysconfig/network-scripts/ifcfg-eth0 /替换适配器
- service network restart