*BSD News Article 50467


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!spool.mu.edu!howland.reston.ans.net!tank.news.pipex.net!pipex!swrinde!news.uh.edu!uuneo.neosoft.com!usenet
From: Darryl Watson <dwatson>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: How to delete ifconfig aliases
Date: 1 Sep 1995 19:41:18 GMT
Organization: NeoSoft Internet Services   +1 713 968 5800
Lines: 8
Message-ID: <427nku$4qr@uuneo.neosoft.com>
NNTP-Posting-Host: stout.entertain.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
X-URL: news:comp.unix.bsd.bsdi.misc

You use the following syntax:

	ifconfig <interface> <IP addr> -alias down
	ifconfig <interface> up

Make sure you do the second command; the whole interface goes down when you
remove an alias like this!