Ant, 
Aaahh But when I try to add the route via postup in the wireguard conf file, I get the message cant do cos there's an autoconfigured default route. Which is annoying as I don't use the term default as such. Will try using the more specific looking 2000::/3 which is as you say the same thing but worded differently.
OK just tried it out with PostUp set in config file. Got this reply  " systemd-udevd[30023]: link_config: autonegotiation is unset or enabled," so it all failed.
Will set it back to how it was and think a bit more


On Thu, 4 Jul 2019 at 19:14, Anthony Newman via users <users@lists.bitfolk.com> wrote:
On 2019-07-04 10:53, Keith Williams wrote:

>
> Now here comes the problem. It is the default route issue. All that I
> read says that you cannot have 2 default routes in the same table. I
> have looked at a variety of solutions but find none except the one
> everyone seems to say is impossible but which works. I set the route
> /ip -6 route add ::0/0 dev wg0 metric 512. /
> Note the metric 512. The autoconfigured one has a metric of 1024.
> which gives me
> /ip -6 route
> default dev wg0 metric 512 pref medium
> default via fe80::42c7:29ff:fe26:78c9 dev enp3s0 proto ra metric 1024
> expires 265sec mtu 1488 hoplimit 64 pref medium/


Are you conflating the ideas of a route of last resort ("default route")
and one which routes traffic to the whole rest of the Internet?

0.0.0.0/0 and ::/0 (really 2000::/3) are functionally identical to
"default" but there can only be one default as it is a fallback in the
event of nothing more specific. It seems like the output of `ip -6
route` is confusing in this regard as well as they may be displaying
::/0 as the string "default" even when it is an additional route.

There's nothing to stop you having 2 (or 10) routes to 2000::/3 with
different metrics iirc.


Ant


_______________________________________________
users mailing list
users@lists.bitfolk.com
https://lists.bitfolk.com/mailman/listinfo/users