Default route for static IPv6 config
Shane Allgeier
Wed Jul 04 20:00:31 2018
So, I've had some trouble trying to get dhcpcd to create a default route
for my static IPv6 connection. I got this far:
interface eth0
> noipv6rs
> static ip6_address=dead:beef:deed:feed::2/64 # fake, but you get the idea
> static routers=dead:beef:deed:feed::1 # also fake
> static domain_name_servers=2001:4860::8888
When I run dhcpcd -d I get a message saying:
> `dead:beef:deed:feed::1' is not a valid IP address
... which says to me that it's parsing it as an IPv4 address no matter what.
By checking ip -6 route, I can see that dhcpcd properly created the one
route, but no default:
> dead:beef:deed:feed::/64 dev eth0 metric 202 pref medium
>
*So my question is*: how do I get dhcpcd to create a default IPv6 route for
me? Should I be using something other than the "routers" config option?
Thanks for your help.
-Shane
Archive administrator: postmaster@marples.name