Re: [RFC netifd 1/2] interface-ip: mask out host bits in IPv4 route targets

2023-08-24 Thread Etienne Champetier
Hi Jo, Le jeu. 24 août 2023 à 08:55, Jo-Philipp Wich a écrit : > > The kernel will reject attempts to install routes with target addresses > having host bits set with an "Invalid prefix for given prefix length" > error. > > A route configuration like the one below will silently fail to apply: > >

[RFC netifd 1/2] interface-ip: mask out host bits in IPv4 route targets

2023-08-24 Thread Jo-Philipp Wich
The kernel will reject attempts to install routes with target addresses having host bits set with an "Invalid prefix for given prefix length" error. A route configuration like the one below will silently fail to apply: config route option interface lan option target 10.40.40.1