*BSD News Article 43956


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!news.uoknor.edu!news.ecn.uoknor.edu!paladin.american.edu!howland.reston.ans.net!swrinde!cs.utexas.edu!news.sprintlink.net!noc.netcom.net!netcom.com!ortega
From: ortega@netcom.com (John Ortega)
Subject: ifconfig alias option dosn't work
Message-ID: <ortegaD8G4uJ.Gyt@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
Date: Fri, 12 May 1995 03:39:54 GMT
Lines: 7
Sender: ortega@netcom.netcom.com

The ifconfig alias option will not allow me to set an alias to a number 
on the same class C network as the interface's primary address. In other 
words, if the card is at 204.140.136.18, then "ifconfig de0 inet 
204.140.136.22 alia"' will not work. Instead, it will give the message: 
"ifconfig: ioctl (SIOCAIFADDR): File exists". Now, an ifconfig using 
198.147.73.70 will work. Can I use the alias option on the same class C 
network ?