Re: ifupdown and inet6 gateways for inet interfaces
Hi,
On Sat, Sep 28, 2024 at 04:37:31PM +0100, Tim Woodall wrote:
> Fascinating! I had absolutely no idea you could do that!
It is fun. 😀 Having users, even if it was supported in ifupdown,
netplan etc I'm still not sure I would do it just yet as it may be far
too unexpected for them.
> I suspect you can do it with pre-up commands and inet6 manual. I'd not
> be surprised if everything else expects a gateway to be on the same
> AF_FAMILY.
I got a reply on Fedi basically to that effect, by someone who had
recently presented on the subject:
https://wybt.net/@tfiebig/113213745122607112
The issue are the routes; With netplan, I just set the route via
puppet atm (you could use the funny netplan equivalent of post-up;
Don't have it from the top of my head.)
For ifupdown, it is just a 'skip the gateway and put the `ip -4
route` statement into a post-up.
A reply to that showed how netplan triggers scripts, so both things
basically need external commands at the moment.
Thanks,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Reply to: