Subject: Re: ifconfig not showing alias addresses
To: Julian Assange <proff@iq.org>
From: Doug Junkins <junkins@orcasisland.verio.net>
List: netbsd-help
Date: 03/26/1999 17:40:13
Thanks you for your kind reply, Julian. Unfortunately my original
note stated that I was using 1.3.3 -- the '-A' option doesn't
appear to be supported in 1.3.3 and is not mentioned in the man
page for ifconfig.
Maybe you should RTFM.
crane:junkins {3} ifconfig -A le0
ifconfig: illegal option -- A
usage: ifconfig [ -m ] interface
[ af [ address [ dest_addr ] ] [ up ] [ down ] [ netmask mask ] ]
[ metric n ]
[ mtu n ]
[ arp | -arp ]
[ media mtype ]
[ mediaopt mopts ]
[ -mediaopt mopts ]
[ link0 | -link0 ] [ link1 | -link1 ] [ link2 | -link2 ]
ifconfig -a [ -m ] [ -d ] [ -u ] [ af ]
ifconfig -l [ -d ] [ -u ]
crane:junkins {4}
-Doug
On Thu, Mar 25, 1999 at 04:22:14PM +1100, Julian Assange wrote:
>
> RTFM
>
> If the -A flag is also specified, any relevant interface alias informa-
> tion is also displayed.
>
> Doug Junkins <junkins@foghead.com> writes:
>
> > Running NetBSD 1.3.3 on a sparc4c. I have an alias address configured
> > on le0 and it seems to be working properly, but the alias address does
> > not appear in an ifconfig output as I would expect from past experience
> > with FreeBSD.
> >
> > crane# cat ifaliases
> > 192.147.160.201 le0 255.255.255.224
> > crane# ping 192.147.160.201
> > PING www.weaselboy.org (192.147.160.201): 56 data bytes
> > 64 bytes from 192.147.160.201: icmp_seq=0 ttl=255 time=0.877 ms
> > 64 bytes from 192.147.160.201: icmp_seq=1 ttl=255 time=1.476 ms
> > ^C
> > ----www.weaselboy.org PING Statistics----
> > 2 packets transmitted, 2 packets received, 0% packet loss
> > round-trip min/avg/max = 0.877/1.177/1.476 ms
> > crane# ifconfig le0
> > le0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> > media: manual status: active
> > inet 192.147.160.13 netmask 0xffffffe0 broadcast 192.147.160.31
> > crane#
> >
> > -Doug