On 1/3/06, Chris Buechler <cbuechler at gmail dot com> wrote:
> On 1/3/06, Oivind <oivindg at gmail dot com> wrote:
> > I have a 1.21 m0n0wall box with a quad interface pci card.
> > I.e. I assign 10.0.10.1/24 to OPT1. Now, if I reassign to 10.0.20.2
> > without touching mask, it is set to /8 though the gui displays /24
> > before i click save.
> Yeah, it automatically assigns the CIDR based on the address class.
> If you don't tab or click outside the IP address box before clicking
> the Save button, you end up with a mask you didn't intend to have.
Ok, I see. IMHO, if I don't touch the CIDR after updating the ip on an
interface, it means that I want to keep the CIDR visible in the gui
when I click save.
> In pfsense, I'm pushing for removing that behavior entirely, and
> defaulting to /24 for everything. Would make sense, IMO, to do the
> same here. Practically nobody should want a 10. network to be a /8,
> and /24 is a much more sensible default.
Yes, I agree indeed that /24 would be a sensible default on first ip
assignment to a 10. network.