Subject: always print IPv4 alias addresses
To: None <tech-net@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: tech-net
Date: 04/28/2001 08:03:21
	currently, IPv4 alias is not printed on the following comand invocation,
	# ifconfig foo
	# ifconfig -a foo
	however, the aliases are there, and will be printed with the following:
	# ifconfig -A foo
	# ifconfig -a -A foo

	it is, IMHO, confusing (and i got comments from others, including
	jinmei - cc'ed).  is it okay to always print aliases, and say
	good bye to -A? (i.e. -A is the default behavior)

itojun


# ifconfig -A fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (none)
        status: no carrier
        inet6 fe80::290:27ff:fe96:1ce1%fxp0 prefixlen 64 scopeid 0x1
# SU ifconfig fxp0 10.0.0.1
# SU ifconfig fxp0 20.0.0.1 alias
# ifconfig fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (none)
        status: no carrier
        inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
        inet6 fe80::290:27ff:fe96:1ce1%fxp0 prefixlen 64 scopeid 0x1
# ifconfig -A fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (none)
        status: no carrier
        inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
        inet alias 20.0.0.1 netmask 0xff000000 broadcast 20.255.255.255
        inet6 fe80::290:27ff:fe96:1ce1%fxp0 prefixlen 64 scopeid 0x1