主机是 macOS 11.2.2。客户机是 Ubuntu 20.04 这是我在 VirtualBox 上的网络设置。
Bridged Adapter
en0: Wi-Fi(Airport)
Allow all
这是ip a
来自 Ubuntu 的输出:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 08:00:27:f4:32:9b brd ff:ff:ff:ff:ff:ff
inet 192.168.2.110/24 brd 192.168.2.255 scope global dynamic enp0s3
valid_lft 7158sec preferred_lft 7158sec
inet6 fe80::a00:27ff:fef4:329b/64 scope link
valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:ea:81:8e:a3 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
它停止连接互联网。有专家能帮我吗?谢谢!
答案1
升级 macOS 后,问题就消失了!