Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!news.jsums.edu!news2.cais.net!news.cais.net!chi-news.cic.net!news.math.psu.edu!news.iag.net!newsfeed.kdcol.net!news.ios.com!haven.ios.com!gmann
From: gmann@haven.ios.com (Glen Mann)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Multiple Ip Addresses
Date: 8 Mar 1996 03:30:45 GMT
Organization: Phrantic Physics
Lines: 37
Message-ID: <4ho9l5$l2a@news.ios.com>
References: <4hgcl0$5p@plaster.csdc.toshiba.com.au>
NNTP-Posting-Host: haven.ios.com
X-Newsreader: TIN [version 1.2 PL2]
I had success with
ifconfig de0 inet alias a.b.c.d
but had seen that another post had put a netmask (ffffffff I think) on the
end. Anyone know why the netmask? The IP I used was valid and within
the same domain as the "base" host.
John Creasey (johnc@csdc.toshiba.com.au) wrote:
: I have been trying to get multiple ip addresses to work.
: I used:
: ifconfig lo0 alias a.b.c.d netmask 0xffffff00
: to set up an alias, but I have found that
: none of the other machines can see the new address.
: I tried using
: arp -s a.b.c.d x:y:z:.. pub
: and that seems
: to work, but I'm not sure if this is the right way to go
: about setting this up. I haven't seen anyone else mention
: using arp directly.
: Does anyone know if this is correct?
: --
: ---------------------------------------------------------------------
: John Creasey johnc@csdc.toshiba.com.au
--
gmann@haven.ios.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gary Willis: "If I had to put D'Addario strings on my bass, I'd
give up music and become a drummer."
Scott Henderson: "GHS Progressives suck."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~