おや?google.comへのpingが通らない。配線は間違っていないし、ルータの設定も問題なし。でも表記のエラーが表示されて疎通できない。
では、
$ systemctl status systemd-resolved
○ systemd-resolved.service - Network Name Resolution Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; disabled; preset: enabled) Active: inactive (dead) Docs: man:systemd-resolved.service(8) man:org.freedesktop.resolve1(5) https://systemd.io/WRITING_NETWORK_CONFIGURATION_MANAGERS
https://systemd.io/WRITING_RESOLVER_CLIENTS
$ sudo systemctl start systemd-resolved
$ sudo systemctl enable systemd-resolved
Created symlink '/etc/systemd/system/dbus-org.freedesktop.resolve1.service' → '/usr/lib/systemd/system/systemd-resolved.service'.
Created symlink '/etc/systemd/system/sysinit.target.wants/systemd-resolved.service' → '/usr/lib/systemd/system/systemd-resolved.service'.
$ systemctl status systemd-resolved
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; preset: enabled)
Active: active (running) since Mon 2024-07-08 10:26:05 JST; 29s ago
Invocation: f7e3124135fe44ec87cde7cc0609f9e5
Docs: man:systemd-resolved.service(8)
man:org.freedesktop.resolve1(5)
https://systemd.io/WRITING_NETWORK_CONFIGURATION_MANAGERS
https://systemd.io/WRITING_RESOLVER_CLIENTS
Main PID: 3033 (systemd-resolve)
Status: "Processing requests..."
Tasks: 1 (limit: 9366)
Memory: 3.3M (peak: 3.6M)
CPU: 65ms
CGroup: /system.slice/systemd-resolved.service
└─3033 /usr/lib/systemd/systemd-resolved
Jul 08 10:26:05 M2 systemd[1]: Starting Network Name Resolution...
Jul 08 10:26:05 M2 systemd-resolved[3033]: Positive Trust Anchors:
Jul 08 10:26:05 M2 systemd-resolved[3033]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc6834571>
Jul 08 10:26:05 M2 systemd-resolved[3033]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa>
Jul 08 10:26:05 M2 systemd-resolved[3033]: Using system hostname 'HOST_NAME'.
Jul 08 10:26:05 M2 systemd[1]: Started Network Name Resolution.
$ ping -c 4 google.com
PING google.com (2404:6800:4004:818::200e) 56 data bytes
64 bytes from nrt13s50-in-x0e.1e100.net (2404:6800:4004:818::200e): icmp_seq=1 ttl=114 time=12.1 ms
64 bytes from nrt13s50-in-x0e.1e100.net (2404:6800:4004:818::200e): icmp_seq=2 ttl=114 time=7.99 ms
64 bytes from nrt13s50-in-x0e.1e100.net (2404:6800:4004:818::200e): icmp_seq=3 ttl=114 time=8.97 ms
64 bytes from nrt13s50-in-x0e.1e100.net (2404:6800:4004:818::200e): icmp_seq=4 ttl=114 time=8.36 ms
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 7.994/9.353/12.090/1.618 ms
これで解決。
Comments powered by CComment