-
-
vmware使用bridge上网 配置/etc/network/interfacesJava代码 #The loopback network interface auto lo iface lo inet loopback # The primary network interfacefor kvm auto eth0 iface eth0 inet manual auto br0 iface br0 inet static address 192.168.0.177 #地址要和宿主在一个网段 network 192.168.0.0 #其余照抄 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 dns-nameservers 202.103.44.150 144.144.144.144 bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off sudo ifup br0sudo ifup eth0sudo /etc/init.d/networking restartsudo service networking restart
点这里复制本页地址发送给您QQ/MSN上的好友
- 300*300广告