I am running ubuntu 20.04.1 VMware. When its network adapter is bridged, I can not do sudo apt update
, meanwhile I can ping 8.8.8.8
or even ping google.com
.
If I change its network adapter to NAT mode, I can do sudo apt update
.
What are the differences? and how can I have sudo apt update
in the bridged mode too?
Any comments would be appreciated!
here is the output of the 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)
My host pc has two network interfaces, both of them are connected (wired) to an access point which are connected to internet!