Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!oleane!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!uknet!SoNet!news From: chris@aladdin.net Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Problem with ifconfig alias Date: 5 Aug 1995 23:08:31 GMT Organization: Aladdin Internet Lines: 23 Distribution: world Message-ID: <400tlf$5na@alpha.aladdin.co.uk> NNTP-Posting-Host: me.aladdin.co.uk X-Newsreader: <WinQVT/Net v3.9> In article <3vuhco$86n@gate.sinica.edu.tw>, taob@gate.sinica.edu.tw (Brian Tao) writes: >In article <3vtud3$inv@alpha.aladdin.co.uk>, <chris@aladdin.net> wrote: >: >:Can anyone help explain what is happening in the example below. >:I need multiple IP addresses on the same interface in order to >:run multiple www servers. This works fine under Linux but something >:odd is happening under FreeBSD which I would like to switch to. >[...] >:bash# /sbin/ifconfig ed1 alias 193.119.96.55 >:ifconfig: ioctl (SIOCAIFADDR): File exists >:^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Weird error message what file > > Try using a 0xffffffff netmask on your alias: > >ifconfig ed1 193.119.96.55 netmask 0xffffffff alias Works fine, thanks a lot for the reply >-- >Brian ("Though this be madness, yet there is method in't") Tao >taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org