On Mon, Mar 27, 2023 at 08:45:35PM +0200, Geert Stappers wrote: > On Mon, Mar 27, 2023 at 08:35:22AM +0000, 🐧 Christophe wrote: > > Configure network: [E] > > > > Comments/Problems: > > > > This bug is present since many years. > > :-) > > > > Currently, tt's not possible to declare a network like this : > > > > | IPv4: 54.37.96.xxx/32 > > | Gateway: 54.38.179.254 > > > > The installer tell "Unreachable gateway" but it's not true. If the > > network if configured with these values, everything is fine. > > > > If i put this in /etc/network/interfaces, it works : > > > > | auto eth0 > > | iface eth0 inet static > > | address 54.37.96.xxx/32 > > | gateway 54.38.179.254 > > > Which feels wrong. > > It is the /32 that makes it odd.
Yeah that's for sure. The gateway IP is not within the subnet (given only one IP is) so it is definitely unreachable by normal IPv4 routing rules. If it was a PtP link, then perhaps it would be a different story, but it probably isn't. Certainly for any normal functional network, those settings would not work. If they do work, the network is doing things outside normal IPv4 routing rules. -- Len Sorensen