From owner-freebsd-questions Sat Jun 15 17:26:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA25584 for questions-outgoing; Sat, 15 Jun 1996 17:26:35 -0700 (PDT) Received: from oneway.com (oneway.com [204.148.144.42]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA25579 for ; Sat, 15 Jun 1996 17:26:34 -0700 (PDT) Received: from localhost (jaykuri@localhost) by oneway.com (8.6.12/8.6.9) with SMTP id TAA15988 for ; Sat, 15 Jun 1996 19:26:11 -0500 Date: Sat, 15 Jun 1996 19:17:23 -0500 (CDT) From: Jason Kuri To: Garrett Wollman Subject: Re: Question about Routing, and IP 'source' on Multi-IP machine. In-Reply-To: <9606160004.AA27005@halloran-eldar.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII ReSent-Date: Sat, 15 Jun 1996 19:26:01 -0500 (CDT) ReSent-From: Jason Kuri ReSent-To: questions@freebsd.org ReSent-Message-ID: Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > If I am actually using the gateway machine, The IP of the PPP tun0 > > interface is shown as the source of all connections. > Not true. The IP address chosen, unless explicitly overridden by > software, is the address OF THE INTERFACE USED to reach the > destination. Ok, all of my connections to the outside world (via the tun0 interface) from the gateway machine. =) > > Is there any way to make this the IP of the Ethernet interface? > Break your software so that it does a bind(2) first to select a > different address. Ok, short of recompiling all of my software with a hard-coded sockaddr and bind(2), is there any way to do this? No is an acceptable answer. Thanks, Jay Kuri --- "Listen, this old system of yours could be on fire and I couldn't even turn on the kitchen tap without filling out a 27b/6...Bloody paperwork." -Harry Tuttle