VMware 配置虚拟机网络 ip 地址及修改本地 hosts文件
VMware 配置虚拟机网络 ip 地址
1.查看网络IP和网关
1.1 查看虚拟网络编辑器
1.2 查看IP
1.3 查看windows环境的中VMnet8网络配置
2. 配置网络ip地址
2.1 查看当前Linux 中网络ip
[root@hadoop101 ~]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.187.101 netmask 255.255.255.0 broadcast 192.168.187.255
inet6 fe80::2844:766c:f7c8:b649 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:0c:60:bb txqueuelen 1000 (Ethernet)
RX packets 22864 bytes 27974392 (26.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8272 bytes 588382 (574.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x1