Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!news-peer.sprintlink.net!news.sprintlink.net!Sprint!news.maxwell.syr.edu!eerie.fr!cnusc.fr!ciril.fr!univ-angers.fr!jussieu.fr!oleane!weld.news.pipex.net!pipex!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: multiple IP on one i/f Date: 19 Jun 1997 16:17:17 GMT Organization: Awfulhak Ltd. Lines: 21 Message-ID: <5obm2d$4u7@ui-gate.utell.co.uk> References: <33a7fdfb.5230095@news1.star.net> Reply-To: brian@awfulhak.org, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43191 In article <33a7fdfb.5230095@news1.star.net>, frankd@star.net (Frank DiPrete) writes: > > 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/ rtfm ifconfig. You need the "alias" keyword. If you want it to happen when your machine reboots, update /etc/{sysconfig,rc.conf}, specifying a "ifconfig_XXX_alias0" variable. There'll be a man page for rc.conf soon I believe ;) -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !