From owner-freebsd-questions Mon Jun 19 23:55:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from emu.prod.itd.earthlink.net (emu.prod.itd.earthlink.net [207.217.121.31]) by hub.freebsd.org (Postfix) with ESMTP id 65AF037BBAD for ; Mon, 19 Jun 2000 23:55:46 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0564.cvx21-bradley.dialup.earthlink.net [209.179.194.54]) by emu.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id XAA11161; Mon, 19 Jun 2000 23:55:43 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id XAA00934; Mon, 19 Jun 2000 23:54:18 -0700 (PDT) Date: Mon, 19 Jun 2000 23:53:47 -0700 From: "Crist J. Clark" To: root oh yeah Cc: freebsd-questions@FreeBSD.ORG Subject: Re: static route / interface question Message-ID: <20000619235347.B836@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000616152855.A559@babel.serve.com> <20000616215435.E310@dialin-client.earthlink.net> <20000619160730.A92657@babel.serve.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000619160730.A92657@babel.serve.com>; from root@babel.serve.com on Mon, Jun 19, 2000 at 04:07:30PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jun 19, 2000 at 04:07:30PM -0400, root oh yeah wrote: > On Fri, Jun 16, 2000 at 09:54:35PM -0700, Crist J. Clark wrote: > > On Fri, Jun 16, 2000 at 03:28:55PM -0400, root oh yeah wrote: > > > I'm trying to set up what I think should be straightforward, but > > > I can't seem to get it to work. > > > > > > I have two ethernet cards, one connected to local network & my > > > internet gateway. I have another card connected to a seperate local > > > network (which a number of the same machines are connected to). > > > Each has its own ip. I need to enter the proper route command to > > > be able to access a particular machine only on the second local network, > > > through the second interface (xl0). > > > > What exactly are you trying to do here? If the machine is on the local > > network of one of the NICs, there is no special routing to be added. > > I mean, once you do your ifconfig(8)s look at, > > > > $ netstat -rn > > > > And the route would be in there. > > I'm sorry I wasn't clear -- basically, there is only a single local *IP* > network but there are two overlapping *ethernet* networks (by which I mean > that most of the machines have two ethernet cards). All requests > currently go out over my first interface card, but I need the request to the > local machine to go out over the other interface card as the machine is only > connected up to that ethernet network. > > Does that make sense? Not really. If you have only one logical IP network, there is no routing to be done. Your machines should be bridging, not routing. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message