因此,我设置了Vagrant libvirt VM,但是无法使用它访问Internet。我可以从主机访问google.com,但不能从访客访问。
/home/vagrant# ping www.google.com
PING www.google.com (64.233.177.105) 56(84) bytes of data.
^C
--- www.google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3075ms
nslookup显示如下:
/home/vagrant# nslookup www.google.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: www.google.com
Address: 64.233.177.104
Name: www.google.com
Address: 64.233.177.106
Name: www.google.com
Address: 64.233.177.103
Name: www.google.com
Address: 64.233.177.147
Name: www.google.com
Address: 64.233.177.99
Name: www.google.com
Address: 64.233.177.105
Name: www.google.com
Address: 2607:f8b0:4002:805::2004
我也尝试了nslookup www.google.com 8.8.8.8
,但是它什么也没做。任何想法如何解决这个问题? TIA。