1.先查看自己主机网络详细信息
![image.png](https://static.studygolang.com/190227/bb79104881f99a4c6ec71c12570cde35.png)
2.设置虚拟机,根据上面的信息进行配置
![image.png](https://static.studygolang.com/190227/062275bd9398fd2a7e59eb3437024dc3.png)
![image.png](https://static.studygolang.com/190227/f4344e385a3b7aad9caeaff6e8fe2e20.png)
![image.png](https://static.studygolang.com/190227/4b7806af5f0081af23de0221d09dfd4f.png)
![image.png](https://static.studygolang.com/190227/d1b93df95f5691e5ad1593780592e9f4.png)
![image.png](https://static.studygolang.com/190227/b8882526e59f36d8b05e001606a7e86b.png)
![image.png](https://static.studygolang.com/190227/96d5ba50f3176300a823515ed00ade43.png)
先关闭一下网络再重新连接前面天加的网络
![image.png](https://static.studygolang.com/190227/e4b37436a4da96120c79cb801541dafa.png)
3.最后设置
![image.png](https://static.studygolang.com/190227/5ab2dc6cfe87580e00061f27eb6ff026.png)
![image.png](https://static.studygolang.com/190227/2d44824acf2f627a7d208333b1168eef.png)
![image.png](https://static.studygolang.com/190227/048515915fb300a6c3cef0089428aebd.png)
有疑问加站长微信联系(非本文作者)