虚拟机中的配置
虚拟机静态IP地址的配置:vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 HWADDR=00:0C:29:03:47:83 TYPE=Ethernet UUID=03f28455-fdb7-4fe2-8347-3034386796c9 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=192.168.25.3 NETMASK=255.255.255.0 GATEWAY=192.168.25.2 DNS1=192.168.25.2
域名服务器的配置:vi /etc/resolv.conf
nameserver 192.168.25.2
本机vmnet8的配置: