Re: Default route for static IPv6 config
Roy Marples
Thu Jul 05 06:53:54 2018
Hi Shane
On 04/07/2018 21:00, Shane Allgeier wrote:
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?
dhcpcd has no support for adding static IPv6 routers.
Tbe routers option is for IPv4 routes only.
Why do you want to setup a static route rather than broadcast RA's from
the router?
Roy
Archive administrator: postmaster@marples.name