*BSD News Article 48240


Return to BSD News archive

Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!cs.utexas.edu!news.cs.utah.edu!news.provo.novell.com!park.uvsc.edu!hamblin.math.byu.edu!usenet
From: "Phillip J. Windley" <windley>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: ioctl (SIOCAIFADDR): Can't assign requested address
Date: 2 Aug 1995 16:26:43 GMT
Organization: Laboratory for Applied Logic, Brigham Young University
Lines: 25
Message-ID: <3vo903$qkq@hamblin.math.byu.edu>
NNTP-Posting-Host: bobcat.cs.byu.edu
Mime-Version: 1.0
X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.05 9000/715)

X-URL: news:comp.unix.bsd.bsdi.misc#3vj0kr$d0t@hamblin.math.byu.edu
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

Anyone know what this means?  

    ioctl (SIOCAIFADDR): Can't assign requested address

Its coming from within ifconfig on inet device ef0 when I try to add an alias.
The error is reported after a call to ioctl. I tracked it down through the
ifconfig code and I believe that ioctl is being called with the right
parameters.  intro(2) gives this information about this error:

 49 EADDRNOTAVAIL Cannot assign requested address. Normally results from
             an attempt to create a socket with an address not on this ma-
             chine.

What does it mean that the address is not on this machine?  The whole idea of
ifconfig is to create addresses for this machine, no?  

The aliases I'm trying to create fall within the netmask, so I don't think
that's the problem.  

Any ideas?