我已经在我的笔记本中安装了Oracle。然后,我下载了OracleLinux9.1版本的完整ISO映像(通过https://yum.oracle.com/oracle-linux-isos.html),并使用它来创建Oracle (64位)虚拟机。安装是成功的,我能够登录到我的VM。
我可以从我的笔记本电脑到我的Linux,没有任何问题。我可以在Linux机器上浏览互联网。
我打开了一个终端并执行以下命令
ping google.com不幸的是,它没有发送任何回复。
[root@localhost ~]# ping google.com
PING google.com(bom12s05-in-x0e.1e100.net (2404:6800:4009:80f::200e)) 56 data bytes
--- google.com ping statistics ---
113 packets transmitted, 0 received, 100% packet loss, time 114760ms我做的nslookup google.com和cat /etc/resol.conf一样好。正确获取服务器名称详细信息。
我不确定我在这里是否遗漏了什么,因为我可以通过Linux中的internet浏览器访问internet。
我们非常感谢你的想法和意见。
解析状态
[root@localhost ~]# resolvectl status
bash: resolvectl: command not found...
Install package 'systemd-resolved' to provide command 'resolvectl'? [N/y] y
* Waiting in queue...
* Loading list of packages....
The following packages have to be installed:
systemd-resolved-250-12.0.1.el9_1.x86_64 System daemon that provides network name resolution to local applications
Proceed with changes? [N/y] y
* Waiting in queue...
* Waiting for authentication...
* Waiting in queue...
* Downloading packages...
* Requesting data...
* Testing changes...
* Installing packages...
Failed to get global data: Could not activate remote peer.nslookup
的结果
Server: X.X.X.X
Address: X.X.X.X#98
Non-authoritative answer:
Name: google.com
Address: 142.250.199.174
Name: google.com
Address: 2567:7845:4756:74e::352egrep名称服务器/etc/grep的
发布于 2022-12-01 18:56:16
根据用户手册,默认情况下,使用NAT适配器的来宾禁用IPv6。
或
VBoxManage natnetwork modify --netname natnet1 --ipv6=on (查找运行VBoxManage natnetwork list的所有NAT网络适配器)。不管怎样,ping -4 host.com应该能工作。
https://unix.stackexchange.com/questions/726974
复制相似问题