*BSD News Article 50409


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!in2.uu.net!news.igcom.net!terra.igcom.net!david
From: david@terra.igcom.net (David Bauman)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: ifconfig aliases
Date: 3 Sep 1995 21:44:06 GMT
Organization: InterGlobal Communications
Lines: 43
Message-ID: <42d7j7$bsv@moon.igcom.net>
References: <424lpg$ogv@hops.entertain.com> <425l4e$cd5@news.enterprise.net>
NNTP-Posting-Host: terra.igcom.net
X-Newsreader: TIN [version 1.2 PL2]

Adrian Cooper (apc@enterprise.net) wrote:
: In article <424lpg$ogv@hops.entertain.com>,
:    dwatson@abwam.com (Darryl Watson) wrote:
: >Does anyone know if we can ifconfig an interface with more than one
: >alias?  I tried to do it, and am getting 'dupicate IP' errors.
: >
: >:(
: >
: >Thanks for the info.

: You certainly can have multiple aliases - we have at least a dozen set up at 
: the moment with no problems whatsoever.

: The preferred way of doing this is to attach the aliases to the loopback 
: interface and arrange for routing within your system to point the aliases from 
: the ether at the loopback interface. This means that your ethernet is not 
: swamped by lots of arping for aliases on the local ether which could be a 
: serious problem.

: Hope this assists you.

	Actually, BSDI tech support recomended using the ethernet interface.
	The command looks likes this:
	ifconfig INTERFACE IPADDR alias

then type
	route add -host IPADDR 127.1

I use multiple IP routing for HTTPD on my system, and it works great.


David Bauman



 			  InterGlobal Communications
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Bauman <david@igcom.net> == <Shell, SLIP, PPP, UUCP, Leased Lines> 
voice: 708.298.9933 	       == <WWW design, programming, implementation>	
fax:   708.298.1473	       == <3 Dial-up locations around Chicagoland>
modem: 708.298.1120            == <Competitive pricing, great customer service>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
		  8616 W. Golf Road Suite 301 Niles, IL 60714