Hello,
changing the IP of the LAN-interfaces kills active static routes which shows to gateways in the same subnet.
E.g.
Konfig:
LAN-interface eth0
eth0-IP: 192.168.178.1 / 24
static route (configured via WebAdmin): subnet 192.168.1.0/24 via gateway 192.168.178.11
"netstat -rn" from console shows the following:
Destination Gateway Genmask Flags MSS Window irtt Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
192.168.1.0 192.168.178.11 255.255.255.0 UG 0 0 0 eth0
192.168.178.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
When I change the IP of the LAN-interface eth0 from 192.168.178.1 to 192.168.178.2 (or something else from the same subnet as before), "netstat -rn" on console shows the following:
Destination Gateway Genmask Flags MSS Window irtt Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
192.168.178.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
The static route is shown in WebAdmin as active! When I deactivate and activate it again via WebAdmin, the static route is working again and the "netstat -rn" shows all expected routes.
Regards,
Manuel Fischer