*BSD News Article 48058


Return to BSD News archive

#! rnews 1880 sserve.cc.adfa.oz.au
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!news.primenet.com!usenet
From: Larry Kruper <lak@primenet.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem with ifconfig alias
Date: 6 Aug 1995 14:45:53 GMT
Organization: Primenet
Lines: 36
Message-ID: <402kj1$jv6@nnrp1.primenet.com>
References: <400tlf$5na@alpha.aladdin.co.uk>
NNTP-Posting-Host: usr2.primenet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.05 9000/712)
X-URL: news:400tlf$5na@alpha.aladdin.co.uk

chris@aladdin.net wrote:
>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
>
 
  I would like to try this as well. I am willing to shamelessly copy this 
example, but I would prefer to understand all the applications for this
feature.

For example, is it possible to 'telnet' to the new address on the same machine
?
If, so are you packets assigned to the new ip ?  What are the routeing commands
in BSD to allow connectivity to this new address, and is there a limit to the
number allowed.


lak
(yes I will be reading the man pages too)