Bug #970
closedCannot add my gateway because the gateway IP is not in the same subnet
0%
Description
System > Routing > I click the Edit icon next to my gateway.
Then, in gateway, I put the (private) IP of my DSL modem, then I click save and get the following message:
"The gateway address x.y.z.t does not lie within the chosen interface's subnet."
The problem is my modem has IP 10.x.x.x, and over DHCP, gives a 77.x.x.x IP to the interface.
If I go to console and do "route add -net default 10.x.x.x", then everything works fine.
Note that at bootup, in "System: Gateways", the gateway displayed for the the interface is the 10.x.x.x IP... but pinging anything fails with "no route to host", and "netstat -nr" displays no default route.
Updated by Iñigo Martinez about 14 years ago
Gateway test should check in both subnet interface and IP ALIAS subnet.
At this moment, only subnet interface is checked, but not subnet ip alias.
Please, reopen.
Thanks in advance.
Updated by Chris Buechler about 14 years ago
that's a diff issue, opened as #1015