*BSD News Article 47992


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!howland.reston.ans.net!newsserver.jvnc.net!news.Edu.TW!news.cc.nctu.edu.tw!news.sinica!taob
From: taob@gate.sinica.edu.tw (Brian Tao)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem with ifconfig alias
Date: 5 Aug 1995 01:26:48 GMT
Organization: Institute of Biomedical Sciences, Academia Sinica
Lines: 25
Message-ID: <3vuhco$86n@gate.sinica.edu.tw>
References: <3vtud3$inv@alpha.aladdin.co.uk>
NNTP-Posting-Host: 140.109.40.248

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
[...]
:--- 193.119.96.55 ping statistics ---
:3 packets transmitted, 0 packets received, 100% packet loss
:
:; nope ???? What is going on.
:
:Now if I try and ping 193.119.96.55 from another machine on the ethernet it 
:works !!

    Try using a 0xffffffff netmask on your alias:

ifconfig ed1 193.119.96.55 netmask 0xffffffff alias
-- 
Brian ("Though this be madness, yet there is method in't") Tao
taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org