You are not logged in.
Pages: 1
Topic closed
I have that when I have a wifi connection in some routers, some site are unreachable. For example, I can ping Google but can't ping DuckDuckGo:
ping www.google.com
PING www.google.com(mad41s14-in-x04.1e100.net (2a00:1450:4003:80e::2004)) 56 data bytes
64 bytes from mad41s14-in-x04.1e100.net (2a00:1450:4003:80e::2004): icmp_seq=1 ttl=58 time=9.95 ms
but
ping www.duckduckgo.com
ping: connect: Network is unreachable
This is the first problem I have encountered related to Network so I am unsure of what information I should provide.
Thank you!
Last edited by joao_reves (2021-12-17 11:59:35)
Offline
1) DDG does not respond to ICMP echo requests.
2) DDG is not reachable over IPv6.
I suspect that you're on a IPv6-only network and thusly cannot reach DDG.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Do you know how can I check this?
Offline
$ ip a
$ ip -4 r
$ ip -6 r
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
This is what I got
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 68:f7:28:a7:d6:a7 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 5c:c5:d4:e1:11:3f brd ff:ff:ff:ff:ff:ff
inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp3s0
valid_lft 2638sec preferred_lft 2638sec
inet6 2001:8a0:7009:a400:9bb3:8f79:319:c4e/64 scope global dynamic noprefixroute
valid_lft 89904sec preferred_lft 89904sec
inet6 fe80::44d7:860e:7eff:dc88/64 scope link noprefixroute
valid_lft forever preferred_lft forever
$ ip -4 r
192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.100 metric 600
$ ip -6 r
::1 dev lo proto kernel metric 256 pref medium
2001:8a0:7009:a400::/64 via fe80::ce19:a8ff:feaf:8f0f dev wlp3s0 proto ra metric 600 pref high
fe80::/64 dev wlp3s0 proto kernel metric 600 pref medium
default via fe80::ce19:a8ff:feaf:8f0f dev wlp3s0 proto ra metric 600 pref low
Offline
Yeah. You don't have an IPv4 default gateway.
Only your local network 192.168.1.0/24 is routed.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
From my research, I think I need to run
sudo route add default gw IPAddress Adapter
, correct?
Offline
Thank you schard! It worked
Offline
From my research, I think I need to run
sudo route add default gw IPAddress Adapter
, correct?
When I try run this command, I get error.
sudo: route: command not found
How to install route?
Offline
pacman -F route
https://archlinux.org/packages/core/x86_64/net-tools/
Please don't necrobump, esp. what's essentially off-topic ("how do i know what provides a binary" isn't related to this thread)
Also you can just use "ip r"
Online
As noted, SumZbrod, please do not necrobump.
Closing this old solved thread.
Offline
Pages: 1
Topic closed