1.关闭 Windos10 防火墙
2.关闭 CentOS6.6 防火墙
# service iptables stop
# chkconfig iptables off
3.开启两个服务VMware DHCP Service ;VMware NAT Service
右击“此电脑”(WIN10),单击“管理”,打开计算机管理,启动图中圈出的两个服务
![](https://img.haomeiwen.com/i11945267/8a18cba00d9fbf62.png)
4.无线网卡的网络(或者插网线的网络)上设置网络共享,选择 VM8
![](https://img.haomeiwen.com/i11945267/1b2e074d95e59b8f.png)
5.使用 ipconfig -all 命令查看 DNS、IPv4 等信息
![](https://img.haomeiwen.com/i11945267/c11702b255a444fa.png)
![](https://img.haomeiwen.com/i11945267/f0920d66a6ec397c.png)
6.配置VM8的选择使用配置ip
![](https://img.haomeiwen.com/i11945267/7f581293672555d3.png)
7.进入 vm10,单击菜单栏的编辑-->虚拟网络编辑器
![](https://img.haomeiwen.com/i11945267/19b149998f36155f.png)
![](https://img.haomeiwen.com/i11945267/6f5d5e817be377dd.png)
8.hadoop-01 配置 NAT 网络
![](https://img.haomeiwen.com/i11945267/7e20ac9a12e26e44.png)
9.进入 hadoop-01,编辑 ifcfg-eth0 vi /etc/sysconfig/network-scripts/ifcfg-eth0
![](https://img.haomeiwen.com/i11945267/0f0822946da388ff.png)
10. 进入 hadoop-01,重启网络 执行命令:
service network restart
11. 进入 hadoop-01,检查网络
![](https://img.haomeiwen.com/i11945267/271612ede959ef80.png)
网友评论