*BSD News Article 97436


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!news-out.internetmci.com!newsfeed.internetmci.com!howland.erols.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!firehose.mindspring.com!news.mindspring.com!usenet
From: anindya@bastard.net (AC)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IP Aliasing
Date: Tue, 10 Jun 1997 03:30:27 GMT
Organization: MindSpring Enterprises
Lines: 34
Message-ID: <339cc8f2.88895331@news.mindspring.com>
References: <01bc576a$ff7a8260$64d91dce@phishhead.dawtech.com> <86afmc5qqm.fsf@bitbox.follo.net>
NNTP-Posting-Host: user-2k7i8ha.dialup.mindspring.com
X-Server-Date: 10 Jun 1997 03:28:41 GMT
X-Newsreader: Forte Free Agent 1.1/32.230
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42663

On 03 May 1997 20:56:33 +0200, Eivind Eklund <perhaps@yes.no> wrote:

>In article <01bc576a$ff7a8260$64d91dce@phishhead.dawtech.com> "Chris Taylor" <cstaylor@dawtech.com> writes:
>
>> 
>> Could someone lead me to a good source of documentation on IP Aliasing.  I
>> tried to set it up using Linux docs to no avail.  Thanks.
>
>If you're using PPP, use
>ppp -alias
>and you're all set.
>
>Otherwise, look at the docs for natd (ports collection) and ipfw, or
>the ipf docs.
>
>Eivind.

Under FreeBSD, IP aliasing is a snap. Simply type something like:
"ifconfig <interface_name> alias <ip_address>" It works pretty
darn well, and has saved my butt in a couple cases. The only
possible snag is if you have an entire subnet you need to 
alias (rare, I know), in which case you need to create an
alias on that interface for *every* host in that subnet separately.

Hope this helps.
--Anindya
|-------------------------------------------------------------|
| Anindya Chakraberti                            |
| Business Services Network Engineer  | 
| Mindspring Enterprises Inc.                  |
| Atlanta, GA                                          |
| anindya@mindspring.net                     |
|-------------------------------------------------------------|