Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 1996 12:12:24 -0400
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Jim Dennis <jimd@mistery.mcafee.com>
Cc:        questions@freefall.freebsd.org
Subject:   Re: ifconfig aliasing
Message-ID:  <9606051612.AA07808@halloran-eldar.lcs.mit.edu>
In-Reply-To: <201006042059.NAA00207@mistery.mcafee.com>
References:  <9605141519.AA10528@halloran-eldar.lcs.mit.edu> <201006042059.NAA00207@mistery.mcafee.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 4 Jun 110 13:59:25 -0700 (PDT), Jim Dennis <jimd@mistery.mcafee.com> said:

> 	I tried 'ifconfig ep0:1 alias 205.227.... netmask 255.255...'
> 	which the system accepted without error, and which seemed 
> 	to add entries into my 'netstat -nr' output.

This is probably a bug; it should not have accepted `ep0:1'.  What on
earth made you decide to write that?

> 	However 'ifconfig -a' showed the same number of interfaces
> 	ep0, tun0, lp0, sl0, and lo0.  Various other permutations
> 	of parameters like 'ifconfig ep0:1' didn't show the new
> 	address.

Ummm...

root@khavrinen(2)# ifconfig ed0 alias 10.1.1.1 netmask 0xffffffff     
root@khavrinen(3)# ifconfig -a
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 18.26.0.162 netmask 0xfffff000 broadcast 18.26.0.0
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
        inet 10.1.1.1 netmask 0xffffffff broadcast 10.1.1.1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        ether 00:00:c0:be:a8:75 
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
ds0: flags=8008<LOOPBACK,MULTICAST> mtu 65532

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9606051612.AA07808>