我正在运行 ubuntu 20.04.1VMware. 当其网络适配器桥接,我不能做sudo apt update
,同时我能 ping 8.8.8.8
甚至ping google.com
。如果我将其网络适配器更改为NAT模式,我可以做到sudo apt update
。
有什么区别?我怎样才能sudo apt update
进入桥接模式?
任何评论都将受到感谢!
这里是输出sudo apt update
:
Err:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Could not connect to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out
Err:3 http://us.archive.ubuntu.com/ubuntu focal InRelease
Could not connect to banjo.canonical.com:80 (91.189.91.38), connection timed out Could not connect to kazooie.canonical.com:80 (91.189.91.39), connection timed out Could not connect to us.archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Could not connect to us.archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable)
我的主机有两个网络接口,它们都连接(有线)到接入点,然后连接到互联网!