unable to ping ipv6 addresses - Network is unreachable
by katie12 from LinuxQuestions.org on (#6K0D1)
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/forwardingboth 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?
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/forwardingboth 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?