关闭Windows和Ubuntu防火墙

1、Windows:Computer->Manage->Service and Applications,找到Windows Firewall关闭。
2、Ubuntu:打开终端ufw disable,默认是关闭的,sudo ufw status查看状态。

设置IP

  1. 虚拟机中安装好Ubuntu系统后,选中Ubuntu,Network中**一个网卡,设置为Bridged Adapter,Name为桥接的物理网卡,其它保持默认。

Ubuntu虚拟机桥接Windows设置

  1. 设置物理网卡IP,外界装置通过这个网卡访问服务器:

Ubuntu虚拟机桥接Windows设置

  1. 设置虚拟机中Ubuntu系统IP

Ubuntu虚拟机桥接Windows设置
需要将上面步骤2、3两处的IP设置成你需要的同网段IP。

  1. 验证:开机后,从Ubuntu可以ping通物理网卡,从Windows可以ping通Ubuntu即表示桥接成功。

相关文章:

  • 2021-11-19
  • 2021-11-19
  • 2021-10-15
  • 2021-07-09
  • 2021-06-22
  • 2021-06-24
  • 2022-01-07
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2022-01-19
  • 2021-04-06
  • 2021-09-16
  • 2021-12-05
  • 2021-05-14
相关资源
相似解决方案