Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 1995 13:24:57 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        Brian Tao <taob@gate.sinica.edu.tw>
Cc:        Richard A Childers <pascal@netcom.com>, freebsd-questions@FreeBSD.org
Subject:   Re: How Many IPs Can An Interface Take ?
Message-ID:  <9505241724.AA00383@halloran-eldar.lcs.mit.edu>
In-Reply-To: <Pine.BSI.3.91.950524222539.21919K-100000@leo>
References:  <199505241400.HAA10582@netcom19.netcom.com> <Pine.BSI.3.91.950524222539.21919K-100000@leo>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 24 May 1995 23:16:09 +0800 (CST), Brian Tao <taob@gate.sinica.edu.tw> said:

> # foreach i (`seq 65 100 1 140.109.40.`)
> foreach? ifconfig ed1 inet $d netmask 0xffffff00 alias
                                        ^^^^^^^^^^ should be all-ones
> ifconfig: ioctl (SIOCAIFADDR): File exists
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to eliminate this

root@khavrinen$ ifconfig ed0 alias 18.26.25.25 netmask 255.255.255.255
root@khavrinen$ netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.00.c0.be.a8.75       114988     0     7039     0   235
ed0   1500  18.26       khavrinen         114988     0     7039     0   235
ed0   1500  18.26.25.25 18.26.25.25       114988     0     7039     0   235
lo0   16384 <Link>                          1286     0     1286     0     0
lo0   16384 your-net    localhost           1286     0     1286     0     0

Ah, the joys of a class A network... :-)

-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?9505241724.AA00383>