*BSD News Article 98056


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: multiple IP on one i/f
Date: Fri, 20 Jun 1997 10:31:48 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 17
Message-ID: <33A9CF74.36B3@OntheNet.com.au>
References: <33a7fdfb.5230095@news1.star.net>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Frank DiPrete <frankd@star.net>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43178

Frank DiPrete wrote:
> 
> question:
> can you/how do you put a second IP address on an interface in freeBSD?
> in BSD it was done in the /etc/ethers file.
> frankd@star.net
> www.star.net/People/~frankd/

# ifconfig <blah> <blah> <blah> alias
                                ^^^^^

# man ifconfig

Can be done automatically at boot time via /etc/sysconfig (pre-2.2.2) or
/etc/rc.conf (2.2.2+).

Tony