Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 13:02:49 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Peter Olsson <pol@leissner.se>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can I, with IP-aliases, in any way force which src-IP is being used?
Message-ID:  <Pine.BSF.4.03.9905251238140.13061-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSF.4.05.9905251053340.23048-100000@nic-i.leissner.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 May 1999, Peter Olsson wrote:

> We have a 2.2.8-RELEASE with a couple of IP-aliases.
> 
> I would like to be able to force certain network operations,
> like telnet and ping, to use one of the aliased IP-numbers
> instead of the original IP-number when I'm going out from
> the machine.
> 
> For example, the original IP-number is 192.168.1.1 and the
> aliased IP-numbers are 192.168.1.2 and 192.168.254.1.
> I would like to be able to choose which of 192.168.1.1, 192.168.1.2
> and 192.168.254.1 that is used as source IP-number in different situations.
> 
> Is this possible, and in that case how is it done?

I think the program has to specifically request this.  Ping has a -I
option, I'm not sure about the rest.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



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.BSF.4.03.9905251238140.13061-100000>