From owner-freebsd-questions Sat Jun 15 17:04:42 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA25157 for questions-outgoing; Sat, 15 Jun 1996 17:04:42 -0700 (PDT) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA25152 for ; Sat, 15 Jun 1996 17:04:40 -0700 (PDT) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA27005; Sat, 15 Jun 1996 20:04:37 -0400 Date: Sat, 15 Jun 1996 20:04:37 -0400 From: Garrett Wollman Message-Id: <9606160004.AA27005@halloran-eldar.lcs.mit.edu> To: Jason Kuri Cc: questions@freebsd.org Subject: Question about Routing, and IP 'source' on Multi-IP machine. In-Reply-To: References: Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk < said: > 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. > 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. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant