Hi all,

if i have "alias" directive in hostname.if with dot-notation netmask and
networks are in 10/8 or 172.16/12 it seems i'm getting classless /8 or
/16 networks ...


inet 192.168.42.1 255.255.255.0
alias 10.10.10.0 255.255.255.0

ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.42.1 netmask 0xffffff00 broadcast 192.168.42.255
        inet 10.10.10.0 netmask 0xff000000 broadcast 10.255.255.255

10/8               10.10.10.0         UCn   ix0
10.10.10.0         ec:f4:bb:da:f7:f8  UHLl  ix0
10.255.255.255     10.10.10.0         UHb   ix0



inet 10.10.10.0 255.255.255.0
alias 172.16.2.1 255.255.255.0

ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.10.10.0 netmask 0xffffff00 broadcast 10.10.10.255
        inet 172.16.2.1 netmask 0xffff0000 broadcast 172.16.255.255

172.16/16          172.16.2.1         UCn   ix0
172.16.2.1         ec:f4:bb:da:f7:f8  UHLl  ix0
172.16.255.255     172.16.2.1         UHb   ix0


but if i have "inet alias" or "alias" with cidr notation netmaks in
hostname.if everything seems fine and classful :)

i'm not sure if this is intentional or not so i'm reporting it here on
misc@

Reply via email to