*BSD News Article 51888


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!tank.news.pipex.net!pipex!btnet!dispatch.news.demon.net!demon!kiss.demon.co.uk
From: phil@zipmail.co.uk (Phil Taylor)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problems with ifconfig alias
Date: Fri, 29 Sep 1995 13:02:05 GMT
Organization: Lan Systems
Lines: 34
Message-ID: <812379733.26943@kiss.demon.co.uk>
Reply-To: phil@zipmail.co.uk
NNTP-Posting-Host: kiss.demon.co.uk
X-NNTP-Posting-Host: kiss.demon.co.uk
X-Newsreader: Forte Free Agent 1.0.82

I am trying to configure an alias address for my ethernet card on
FreeBSD 2.0.5R  and it is not working.

I have tried using command line and in an /etc/start_if.ed1 script
various permutations of the following command.

ifconfig ed1 inet 194.70.220.59 netmask 0xffffff00 alias

I always get the response :

ifconfig: ioctl (SIOCAIFADDR): File exists

I have tried the command arguments in various different orders but to
no avail.

my sysconfig has the following lines:

network_interfaces="ed1 tun0 lo0"
ifconfig_ed1="inet 194.70.220.60 netmask 0xffffff00"
ifconfig_tun0="inet kiss.demon.co.uk netmask 0xffff0000"


I can talk to the machine fine using it main .60 address but not using
the .58 one.

Any ideas would be gratefully received.


Thanks

Phil Taylor
phil@zipmail.co.uk