1. 程式人生 > >VM連線centOS注意配置

VM連線centOS注意配置

1、VM配置

宿主機ip:172.17.36.200

2、VM虛擬機器設定

3、centOS網路設定ifcfg-eth0 

cat /etc/sysconfig/network-scripts/ifcfg-eth0 
[[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 
DEVICE=eth0
HWADDR=00:0C:29:C4:19:A5
TYPE=Ethernet
UUID=8418d974-68fe-4869-8278-a89459dc20d2
ONBOOT=yes   #由no設定yes,這樣分配到ip地址
NM_CONTROLLED=yes
BOOTPROTO=dhcp
 

4、