11.02.2011 1:52, patrick wrote:
> See http://www.freebsd.org/doc/en/books/faq/networking.html#ETHERNET-ALIASES
> for more info. Note that aliases should have a netmask of 0xffffffff
> (255.255.255.255).

Much difference in the appointment of netmask /23 or /32 are not seen.

# ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
        ether 90:e6:ba:25:1c:b5
        inet XXX.XXX.XXX.12 netmask 0xfffffe00 broadcast XXX.XXX.XXY.255
        inet6 fe80::92e6:baff:fe25:1cb5%re0 prefixlen 64 scopeid 0x1
        inet XXX.XXX.XXX.18 netmask 0xfffffe00 broadcast XXX.XXX.XXY.255
        inet 192.168.1.201 netmask 0xffffff00 broadcast 192.168.1.255
        inet XXX.XXX.XXX.22 netmask 0xffffffff broadcast XXX.XXX.XXX.22
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active


# netstat -rn | grep XXX.XXX.XXX
default            XXX.XXX.XXX.1      UGS         0    60026    re0
XXX.XXX.XXX.0/23   link#1             U           0     1605    re0
XXX.XXX.XXX.12     link#1             UHS         0        0    lo0
XXX.XXX.XXX.18     link#1             UHS         0        0    lo0
XXX.XXX.XXX.22     link#1             UHS         0        0    lo0 =>
XXX.XXX.XXX.22/32  link#1             U           0        0    re0

-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to