*BSD News Article 65176


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!asstdc.scgt.oz.au!metro!metro!news.cs.su.oz.au!inferno.mpx.com.au!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.com!imci4!newsfeed.internetmci.com!in2.uu.net!EU.net!sun4nl!news.simplex.nl!xs1!rob
From: rob@xs1.simplex.nl (Rob Simons)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Multiple ip aliases in one network
Date: 2 Apr 1996 10:29:35 GMT
Organization: SimpleX Networking Amsterdam
Lines: 21
Message-ID: <4jqvif$gb1@news.simplex.nl>
References: <4jobg3$ou5@studs2.sci.kun.nl>
NNTP-Posting-Host: xs1.simplex.nl
X-Newsreader: TIN [version 1.2 PL2]

Jos Vissers (jvissers@sci.kun.nl) wrote:
: Can somebody explain why I can assign multiple ip aliases to a
: single ethernet card only when these other ip adresses are on
: a different network.

: My ed0 interface has ip address 192.168.0.9
: ifconfig ed0 alias 192.168.3.9 works, so does any other address with
: the network part different from previous aliases.
: ifconfig ed0 alias 192.168.0.10 doesn't work, nor does any address
: with the network part the same as a previous alias.
Apparently it does work if you specify the netmask as 0xffffffff when
the addresses are in the same C-net. (It will give an error though)

- Rob.

--
/*--------------------------------------------------------------*\
/*   Rob Simons                      |  rob@simplex.nl          *\
/*   ------------  |  -------------  |  --------  |  -------    *\
/*   Novell Netware System Operator  |  UNIX system operator    *\
/*--------------------------------------------------------------*\