You are not logged in.

#1 2024-04-23 12:02:54

EjgtePiraat
Member
Registered: 2024-04-23
Posts: 3

Can't ping ipv6 address, but ipv4 is working fine

Hello everyone,

If I ping any domain with ipv6 say:

ping -6 archlinux.org
ping: connect: Network not available

However "ping archlinux.org" works just fine. I am using NetworkManager with systemd-resolved and dhclient. I am not sure how to debug this problem.
I know this is quite vague, but I am completely lost as to how to follow up.


Anynone knows what is going on?

Last edited by EjgtePiraat (2024-04-23 12:09:25)

Offline

#2 2024-04-23 12:15:31

-thc
Member
Registered: 2017-03-15
Posts: 509

Re: Can't ping ipv6 address, but ipv4 is working fine

What's the output of

ip a

Offline

#3 2024-04-23 12:37:17

EjgtePiraat
Member
Registered: 2024-04-23
Posts: 3

Re: Can't ping ipv6 address, but ipv4 is working fine

Sure thing, thanks!

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 noprefixroute
       valid_lft forever preferred_lft forever
2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 88:a4:c2:54:0a:eb brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 92:6e:21:f6:5f:65 brd ff:ff:ff:ff:ff:ff permaddr 2c:6d:c1:0c:65:c5
    inet 145.116.180.114/22 brd 145.116.183.255 scope global dynamic noprefixroute wlan0
       valid_lft 4671sec preferred_lft 4671sec
    inet6 fe80::4b16:9a68:a1db:e48f/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

Also interesting to note is that pinging the address fe80::4b16:9a68:a1db:e48f does work, but with a warning:

ping  fe80::4b16:9a68:a1db:e48f

ping: Warning: IPv6 link-local address on ICMP datagram socket may require ifname or scope-id => use: address%<ifname|scope-id>

Last edited by EjgtePiraat (2024-04-23 12:39:13)

Offline

#4 2024-04-23 12:38:39

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: Can't ping ipv6 address, but ipv4 is working fine

You only have a link local IPv6 address. Check your IAD and / or with your ISP whether you actually do have IPv6 compatible internet access.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#5 2024-04-23 12:40:27

EjgtePiraat
Member
Registered: 2024-04-23
Posts: 3

Re: Can't ping ipv6 address, but ipv4 is working fine

Ah, I see. I'm on my university network. I'll try later from home and see if it makes a difference. I just assumend the would have ipv6 access.

Offline

Board footer

Powered by FluxBB