Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 13:58:38 -0700 (PDT)
From:      "Jason C. Wells" <jcwells@nwlink.com>
To:        Kenneth Karoliussen <kenneth@karoliussen.net>
Cc:        freebsd-questions@FreeBSD.ORG, odin <nc@collector.org>
Subject:   Re: Aliased network interface
Message-ID:  <Pine.SOL.3.96.1000725135240.20240D-100000@utah>
In-Reply-To: <076401bff646$2f682040$1a85bcd5@kekar.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Jul 2000, Kenneth Karoliussen wrote:

> Are there any methods for creating a *true* alias network interfaces? 
> I'm not talking about attached alias IP addresses to a single interface..

True? I have only used Redhat and FreeBSD. Based on that alone, alias _is_
attaching an alias IP address to a single interface.
 
> I really want this because I need a method for speaking with multiple
> source IP address to foreign hosts, by create multiple entries in the
> routing table. I know this was possible on a Linux based system by
> creating aliased interfaces like eth0 -> eth0:1, eth0:2 and attach
> different IP addressed to the alias interfaces. 
> 
> PC1 (with one psyical NIS (eth0))
> 192.168.1.1 <---eth0--->  Net A
> 192.168.1.2 <---eth0:1(alias)---> Net B
> 193.168.1.3 <---eth0:2(alias)---> Host A

FreeBSD does not have the eth0:0 semantics.

Destination        Gateway            Flags      Netif Expire
192.168.1          link#1             UC         fxp0 =>
192.168.1.200/32   link#1             UC         fxp0 =>

These two entries are for the same interface. There are multiple entries
in the routing table.

The difference is the cosmetics of the display. That or I am smoking
crack.

Thank you,
Jason C. Wells



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.1000725135240.20240D-100000>