Bug #517
closed
Do not check gateway within interface's IP subnet for dynamic gateways
Added by Chris Buechler over 14 years ago.
Updated over 14 years ago.
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.
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?
Yeah it doesn't actually store it, it's only for show.
If that's the case then perhaps when this bug is fixed that field should be disabled (grayed out, not removed) for dynamic gateways.
It is grayed out, but it's still checked against the input validation.
- 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.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF