*BSD News Article 50206


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!math.ohio-state.edu!news.cyberstore.ca!van-bc!vanbc.wimsey.com!fonorola!nntp.igs.net!usenet
From: ptetreau@cng.on.ca (Pascale Tetreault)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: [Q]: Getting rid of an alias...
Date: Tue, 29 Aug 1995 15:26:20 GMT
Organization: CNG Group Inc.
Lines: 35
Message-ID: <41vbsr$3a9@nntp.igs.net>
NNTP-Posting-Host: ptetreau.cng.on.ca
X-Newsreader: Forte Agent .99.82


Hello All.

I'm having some difficulties getting rid of an alias I've set for a
network device on one of my BSD/OS v.2.0 machines.  (The device is an
ne2000 compatible card).

I've set the alias with the following command:

%	ifconfig ne0 xxx.xxx.xxx.251 alias

Looking at netstat -i, I see:

Name	Mtu	Network	Address
ne0	1500	xxx.xxx.xxx	ursa
ne0	1500	xxx.xxx.xxx	xxx.xxx.xxx.251

So far, so good.  A simple ifconfig ne0 gives:

%	ne0:	flags=(blah, blah, blah)
			inet xxx.xxx.xxx.1 netmask 0xffffff00 broadcast xxx.xxx.xxx.255

So the alias doesn't show here.  Therefore, when I try to get rid of
the alias with:

%	ifconfig xxx.xxx.xxx.251 delete

it gives me:	ifconfig: ioctl (SIOCGIFFLAGS) : no such interface

All the man pages in the world haven't cleared up this mystery yet.
Help!!??!!

Pascale Tetreault
ptetreau@cng.on.ca