[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pf: subnet declaration
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Pf: subnet declaration
- From: Stuart Henderson <stu_(_at_)_spacehopper_(_dot_)_org>
- Date: Fri, 29 Apr 2005 01:30:30 +0100
On 2005/04/27 14:00:41, Henning Brauer wrote:
> > It is true that it is not a valid CIDR notation, but this
> > notation is used by ifconfig, isakmp (isakmpd.conf), mountd
> > (exports). These do not support the CIDR notation.
> show me one single occurance where address slash masl allows a mask in
> dotetd quad notation.
'notation' isn't the correct term about requiring masks in OpenBSD,
nowhere uses the stupid "10.20.30.40/255.255.240.0" format (unless you
count ports - e.g. Samba).
The places mentioned do need IP and netmask as values though, no way
to use a prefix instead.
ifconfig is an easy example, you can't "ifconfig foo0 inet 10.20.30.40/20",
you must instead type "ifconfig foo0 inet 10.20.30.40 netmask 255.255.240.0"
(or 0xfffff000, if you prefer something easier to type).
But permit prefixes here, and I'm sure some people will try and use
them in hostname.if some way or other, support there means either changing
format or making /etc/netstart more (too?) complicated. As usual, there's
more to think about than how to add the features.
Visit your host, monkey.org