> Most definitely, -A is normally the only way to see alias info. Just
> wanted to let you know about the /32 mask for aliases.
???. Perhaps I missed some earlier context, but -A is not the only way
to see alias info.
$ ifconfig msk0
msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:16:cb:a7:52:1c
groups: egress
media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
status: active
inet 208.201.244.208 netmask 0xffffff00 broadcast 208.201.244.255
inet6 fe80::216:cbff:fea7:521c%msk0 prefixlen 64 scopeid 0x1
inet 208.201.244.210 netmask 0xffffffff broadcast 208.201.244.210
inet6 2001:5a8:4:910:216:cbff:fea7:521c prefixlen 64
$
Note the second line from the bottom. It is an alias as are the inet6
entries. Note the command line. -A was not given. Per the man page:
-A Causes full interface alias information for each interface to be
displayed.
Shows all aliases on all interfaces. Not necessary (and not valid) if
you only want to look at one interface.
// marc