WG: linux routing table for default route
andrey
Thu Dec 12 17:49:25 2019
-----Ursprüngliche Nachricht-----
Von: Andrey Vakhitov <andrey@xxxxxxxxxxxx>
Gesendet: Donnerstag, 12. Dezember 2019 16:49
An: Roy Marples <roy@xxxxxxxxxxxx>
Betreff: Re: linux routing table for default route
Hi Roy,
Von meinem iPhone gesendet
> Am 12.12.2019 um 13:52 schrieb Roy Marples <roy@xxxxxxxxxxxx>:
>
> On 08/12/2019 10:46, Ron Varburg wrote:
>> Hello,
>> Obviously, I am not Roy.
>> Have you tried to set appropriate ip route commands at exit-hook?
>> I don't know if that is supposed to work. Just throwing a thought which looks to me at the right direction.
>> Do let us know your findings. I do hope it is right of me to ask you to further post to the list about this subject.
>
> While this would of course work, it might confuse dhcpcd when it re-examines the routing table at renewal. This though is speculation.
>
> Out of curisosity, have you tried it Andrey - and if so, what were the results?
>
No I didn’t. My case ist primarily dhcpv6 and DHCP server running on my isp-provided router provides it’s link-level address as universal gateway (according to standards). So it is basically static. I started to experiment with hook, then recognized, that I can actually set static route independently from dhcpcd and continue using it to get public IPv6 address and prefix delegation. So I went for it.
Funny issue I went into was wrong mtu because I overseen that isp router sets lower mtu on default route and it’s very essential for IPv6, but it was also easy to fix statically.
If I’d exactly know the events triggering the hook I’ve to care about and parameters I have to set on up -6 route add (mtu, expiration, scope etc) and then to remove it, I’d give hook a chance, But I could not find any ipv6 related help or examples.
Archive administrator: postmaster@marples.name