LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-29-2024, 12:16 PM   #1
katie12
LQ Newbie
 
Registered: Feb 2024
Posts: 3

Rep: Reputation: 0
unable to ping ipv6 addresses - Network is unreachable


When I try to ping/traceroute/ssh ipv6 addresses, I always get Network is unreachable.

For example, googles ipv6 address is 2a00:1450:4001:806::200e


Ive tried checking some files on my machine.

Code:
cat /proc/sys/net/ipv4/conf/all/forwarding
cat /proc/sys/net/ipv6/conf/all/forwarding
both return 1

Code:
ip addr show

2: enp0s20u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 00:11:11:1f:00:00 brd ff:ff:ff:ff:ff:ff
    inet 192.168.9.100/24 brd 192.168.9.255 scope global dynamic noprefixroute enp0s20u1
       valid_lft 79147sec preferred_lft 79147sec
    inet6 fe80::Masked-For-Privacy/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Code:
nmcli device show enp0s20u1

GENERAL.DEVICE:                         enp0s20u1
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         00:11:00:1F:00:00
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     Wired connection 2
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         192.168.9.100/24
IP4.GATEWAY:                            192.168.9.1
IP4.ROUTE[1]:                           dst = 192.168.9.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]:                           dst = 0.0.0.0/0, nh = 192.168.9.1, mt = 100
IP4.DNS[1]:                             192.168.9.1
IP6.ADDRESS[1]:                         fe80::Masked-For-Privacy/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 1024
IP6.DNS[1]:                             fe80::Masked-For-Privacy

I feel like my ipv6 isnt routing properly or somthings not enabled.

What should I do?

Last edited by katie12; 02-29-2024 at 12:22 PM.
 
Old 02-29-2024, 12:58 PM   #2
lvm_
Member
 
Registered: Jul 2020
Posts: 963

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
You needn't bother masking you ipv6 address - fe80 is ipv6 link-local address block. If you have only fe80 address and nothing else you have no ipv6 connectivity, and it is probably an upstream issue - you router is not configured, your ISP doesn't support, etc.
 
Old 02-29-2024, 08:09 PM   #3
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 794

Rep: Reputation: 253Reputation: 253Reputation: 253
Did you turn SLAAC off? Did you ask for an ip6 address/prefix? I don't see a proper ip6 route nor global address. Run tcpdump or wireshark on the exteral interface and see if there's ip6 traffic and router advertisements. Are you connecting to some sort of router? Does it support ip6?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting global unicast ipv6 addresses on an interfaces does not remove neigbors/direct connect ipv6 hosts from kernel nd_tbl haldermi Linux - Networking 1 06-07-2016 02:28 PM
Network is Unreachable/Unknown host/Destination Host Unreachable [Debian] denv Linux - Networking 4 03-27-2014 02:58 PM
ipv6 ping network is unreachable newbie_ubu Linux - Networking 1 10-17-2013 09:38 AM
I cannot ping with command 'ping IP' address but can ping with 'ping IP -I eth0' sanketmlad Linux - Networking 2 07-15-2011 05:32 AM
LXer: Another IPv6 Crash Course For Linux: Real IPv6 Addresses, Routing, Name Services LXer Syndicated Linux News 0 04-21-2011 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration