????1?????????VM8???
????2???????????NAT??????????VM8?????????Linux??????????ε???????????????
????3?????????????
????vim /etc/sysconfig/network-scripts/ifcfg-eth0 ??????????£?
IPADDR=192.168.200.5 //IP?????VMnet8??IP?????????????
NETMASK=255.255.255.0 //????????
GATEWAY=192.168.200.2 //???????????WMware??????????е???????
DNS1=192.168.1.1 //??DNS??????IP????windows?????????????
???????????????
/etc/sysconfig/network-scripts/ifcfg-eth0??????
DEVICE=eth0                 ?豸??????
HWADDR=00:0c:29:ac:95:0c    ?豸????????
NM_CONTROLLED=no            ??????NetworkManager??????????????????yes
ONBOOT=yes                  ?????????????????????????????????????no
IPADDR=192.168.1.1          ????IP???
NETMASK=255.255.255.0       ????????????
TYPE=Ethernet               ??????????????
BOOTPROTO=none              IP???????
none    ??????κ????Э??
dhcp    ???dhcpЭ????????Э?飬???dhcp?????????IP???
static  ??t??IP???
IPV6INIT=no                 ??????IPv6????
USERCTL=no                  ????????????????????????
GATEWAY=192.168.1.254       ??????????
DNS1=222.222.222.222        ?????????????????DNS?????????
DNS2=202.99.166.4
DNS3=202.99.160.68