From owner-freebsd-questions Tue Dec 19 11:45:19 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA00433 for questions-outgoing; Tue, 19 Dec 1995 11:45:19 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA00428 for ; Tue, 19 Dec 1995 11:45:16 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA15941; Tue, 19 Dec 1995 14:45:03 -0500 Date: Tue, 19 Dec 1995 14:45:03 -0500 From: "Garrett A. Wollman" Message-Id: <9512191945.AA15941@halloran-eldar.lcs.mit.edu> To: Peter Berger Cc: Terry Lambert , "Garrett A. Wollman" , freebsd-questions@freefall.freebsd.org Subject: Re: 2 (or more) LAN interface on SAME subnet ? In-Reply-To: References: <199512191750.KAA14777@phaeton.artisoft.com> Sender: owner-questions@FreeBSD.ORG Precedence: bulk < said: > ------------- > 147.72.1.2 | 147.72.56.1--------------147.72.56.1 ----------- > (netblazer) |----------------------|FreeBSD |================|..56.2 | > ------------- -------------- ---(pc)---- > ^ppp link ^ethernet > Both tun0 and ep0 have the same IP address (147.72.56.1). I haven't > noticed any problems just yet. Are you saying that this is somehow > invalid, and need difference networks on each interface? This is invalid, but as a special case we include hackery to make it work most of the time. It only works for you because the second link is a point-to-point interface, so the kernel installs a host route to the destination. If your situation were: 147.72.56.nnn/24 147.72.56.nnn/24 ==================|FreeBSD|================== Then it wouldn't work, because the kernel would be unable to figure out which interface to use. -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