오늘부터 일부 웹사이트는 브라우저를 통해 또는 터미널에서 핑을 통해 액세스할 수 없지만 다른 웹사이트는 계속 액세스할 수 있습니다. 나는 우분투 20.04를 사용하고 있으며 네트워크 설정 변경 등을 수행하지 않았습니다. 예를 들어www.google.com또는www.youtube.com접근이 가능하지만www.github.com또는www.askubuntu.com그렇지 않습니다.
보시다시피 YouTube.com은 올바르게 핑을 보내고 있지만 GitHub에서는 오류가 발생합니다.
ping : connect : Network is unreachable
systemd.conf의 내용도 추가합니다.
If that helps :
the systemd.conf content
` GNU nano 4.8 /etc/systemd/resolved.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details
[Resolve]
#DNS=
#FallbackDNS=
#Domains=
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#DNSOverTLS=no
#Cache=no-negative
#DNSStubListener=yes
#ReadEtcHosts=yes`
달리면 내가 얻는 것sudo apt-get update
Err:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
Could not resolve 'de.archive.ubuntu.com'
Hit:2 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Err:4 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
Could not resolve 'de.archive.ubuntu.com'
Hit:5 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu focal InRelease
Err:6 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease
Could not resolve 'de.archive.ubuntu.com'
Hit:7 http://ppa.launchpad.net/thierry-f/fork-michael-gruz/ubuntu focal InRelease
Reading package lists... Done
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/focal/InRelease Could not resolve 'de.archive.ubuntu.com'
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Could not resolve 'de.archive.ubuntu.com'
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Could not resolve 'de.archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
유사한 문제의 경우 추적 경로의 출력이 관련될 수 있으므로 여기에도 추가합니다().
tracepath google.com
1?: [LOCALHOST] 0.030ms pmtu 1500
1: 2a02:8071:aeb:8200:7254:25ff:fe58:f20b 7.085ms
1: 2a02:8071:aeb:8200:7254:25ff:fe58:f20b 6.447ms
2: 2a02:8071:a00::1 24.160ms
3: 2a02:8071:ff:37c0::1 20.167ms
4: de-str01c-rc1-lo0-0.v6.aorta.net 20.573ms asymm 5
5: de-fra04d-rc1-lo0-0.v6.aorta.net 19.275ms
6: no reply
7: no reply
8: no reply
9: no reply
10: no reply
tracepath github.com
1: send failed
Resume: pmtu 65535
tracepath ebay.com
1: send failed
Resume: pmtu 65535
tracepath youtube.com
1?: [LOCALHOST] 0.015ms pmtu 1500
1: 2a02:8071:aeb:8200:7254:25ff:fe58:f20b 13.594ms
1: 2a02:8071:aeb:8200:7254:25ff:fe58:f20b 9.654ms
2: 2a02:8071:a00::1 412.341ms
3: 2a02:8071:ff:37c0::1 17.899ms
4: de-str01c-rc1-lo0-0.v6.aorta.net 21.356ms asymm 5
5: de-fra01b-rc2-lo0-0.v6.aorta.net 24.844ms
6: no reply
7: no reply
8: no reply
ping ebay.com
ping: connect: Network is unreachable
ping github.com
ping: connect: Network is unreachable
ping youtube.com
PING youtube.com(fra07s30-in-x200e.1e100.net (2a00:1450:4001:803::200e)) 56 data bytes
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=1 ttl=115 time=41.1 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=2 ttl=115 time=57.1 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=3 ttl=115 time=26.9 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=4 ttl=115 time=22.2 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=5 ttl=115 time=24.7 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=6 ttl=115 time=31.0 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=7 ttl=115 time=28.9 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=8 ttl=115 time=25.7 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=9 ttl=115 time=24.4 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=10 ttl=115 time=74.2 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=11 ttl=115 time=78.4 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=12 ttl=115 time=74.9 ms
64 bytes from fra24s02-in-x0e.1e100.net (2a00:1450:4001:803::200e): icmp_seq=13 ttl=115 time=25.9 ms
^C
--- youtube.com ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 12018ms
rtt min/avg/max/mdev = 22.158/41.177/78.385/20.963 ms
저도 결과를 찾아봤는데nslookup
nslookup google.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: google.com
Address: 142.250.186.46
Name: google.com
Address: 2a00:1450:4001:801::200e
nslookup github.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: github.com
Address: 140.82.121.4
다른 시스템에서 시도하면 github의 IP 주소가 실제로 github.com으로 연결됩니다. 그러므로 아마도 DNS 문제일 것입니다. 하지만 소파는 그것을 해결하지 못했습니다
이 문제를 해결하는 방법을 아시나요?
감사해요
부분적으로 문제를 해결했습니다. 메인 라우터에 직접 연결되어 있으면 모든 것이 잘 작동하지만 Wi-Fi 중계기에 연결되자마자 연결 문제가 시작됩니다. 중계기로의 연결은 지난 24시간까지 문제가 되지 않았습니다. 누구든지 이 문제에 대한 해결책을 갖고 있다면 기꺼이 받아들일 것입니다.
답변1
라우터나 인터넷 제공업체가 제공한 것이 아닌가요? 또한 확인할 수 있습니다설정 > 네트워크 > 네트워크 프록시비활성화, 자동 또는 수동인지 확인하십시오. 상황을 바꾸고 문제가 해결되는지 확인하십시오.