Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2000 23:53:47 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        root oh yeah <root@babel.serve.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: static route / interface question
Message-ID:  <20000619235347.B836@dialin-client.earthlink.net>
In-Reply-To: <20000619160730.A92657@babel.serve.com>; from root@babel.serve.com on Mon, Jun 19, 2000 at 04:07:30PM -0400
References:  <20000616152855.A559@babel.serve.com> <20000616215435.E310@dialin-client.earthlink.net> <20000619160730.A92657@babel.serve.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000619235347.B836>