Bug #517
closedDo not check gateway within interface's IP subnet for dynamic gateways
0%
Description
Dynamic gateways are occasionally (almost always with PPP and PPPoE) outside of the subnet of the interface IP. The input validation on System>Gateways>edit gateway doesn't allow changing the monitor IP because it sees the gateway IP as invalid. For dynamic gateways, the input validation for gateway IP within interface IP subnet must be removed.
Updated by Jim Pingle about 15 years ago
It seems like storing the actual gateway IP for a dynamic WAN type may not be what we want to do anyhow, so it doesn't really make sense to validate against it. Or is this IP listed on this screen only for show?
Updated by Chris Buechler almost 15 years ago
Yeah it doesn't actually store it, it's only for show.
Updated by Jim Pingle almost 15 years ago
If that's the case then perhaps when this bug is fixed that field should be disabled (grayed out, not removed) for dynamic gateways.
Updated by Chris Buechler almost 15 years ago
It is grayed out, but it's still checked against the input validation.
Updated by Ermal Luçi almost 15 years ago
- Status changed from New to Feedback
I fixed a problem of saving the monitor ip to the correct place in config.
Otherwise i was unable to reproduce this.
Please attach the relevant interface and gateway config parts to reproduce it.