For example:

ip -6 route show | grep ^default

There is no output. So there's no default gateway for IPv6.

also I see some complains from the kernel side of things:

dmesg | grep IPv6 
eth0: no IPv6 routers present

Also, I see that I only have a link-local address and not a global unicast.

ifconfig eth0 |grep "inet6 addr:"

returns an inet6 addr fe80: blahblah blah Scope:Link

The informations I have from ISP is:

  1. my ipv6 ip network range
  2. my default ipv6 gateway

The question is how I configure these into Linux.

  • In what Linux distribution? Commented Feb 11, 2015 at 17:05

2 Answers 2


Sample data:

  • Network range: 2001:db8::/56
  • GW: 2001:db8::1

To just set it up, this would be enough (as root, using iputils2):

ip -6 addr add 2001:db8::2/64 dev eth0
ip link set dev eth0 up
ip -6 route add default via 2001:db8::1

To make this permanent, consult your distro's documentation.

  • Thank you very much for your answer. I did followed your steps. Now I have a new kind of error: > From dead:beef icmp_seq=15 Destination unreachable: Address unreachable
    – drpaneas
    Commented Feb 12, 2015 at 9:00

add the route to the gateway :

ip -6 route add 2004::3 dev eth0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .