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