From owner-freebsd-questions Tue May 25 13: 2:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 8058415467 for ; Tue, 25 May 1999 13:02:55 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id NAA06045; Tue, 25 May 1999 13:02:50 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 25 May 1999 13:02:49 -0700 (PDT) From: Doug White To: Peter Olsson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can I, with IP-aliases, in any way force which src-IP is being used? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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