From owner-freebsd-net Fri Mar 5 8:47:58 1999 Delivered-To: freebsd-net@freebsd.org Received: from mrdata.com (phydeaux.mrdata.com [207.170.64.2]) by hub.freebsd.org (Postfix) with ESMTP id C519C15039 for ; Fri, 5 Mar 1999 08:47:54 -0800 (PST) (envelope-from blakef@mrdata.com) Received: (from blakef@localhost) by mrdata.com (8.8.8/8.8.5) id KAA05018; Fri, 5 Mar 1999 10:47:28 -0600 (CST) From: Blake Freeburg Message-Id: <199903051647.KAA05018@mrdata.com> Subject: Re: 3.1 machine as a router? In-Reply-To: <36E009F0.74AFBE3B@dpt-info.u-strasbg.fr> from Abdelghani ALLOUI at "Mar 5, 99 05:44:32 pm" To: alloui@dpt-info.u-strasbg.fr (Abdelghani ALLOUI) Date: Fri, 5 Mar 1999 10:47:28 -0600 (CST) Cc: freebsd-net@freebsd.org X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Blake Freeburg wrote: > > > > Hi, > > > > What am I missing? This is not working, and from the handbook/FAQ, I am not sure what is wrong... > > > > Setup > > -------------------------------------------------------------------- > > Internal Machines Gateway Gateway WAN > > internal.net.b internal.net.a outnet.b > > internal.net.c outnet.a > > > > On Gateway, I have a default route to > > > > default -> outnet.b > > > > in the rc.conf > > > > GATEWAY_ENABLE="YES" > > DEFAULTROUTE="outnet.b" > > > > 'routed' is running, with /etc/gateways having something like > > > > net internal.net.0/27 gateway outnet.a metric 0 active > > > > on all other internal machines, they are told to route to > > > > default -> internal.net.a > > > > Problem > > -------------------------------------------------------------------- > > From 'gateway', I can get to/from anywhere. No problems > > From any other internal machine, I can get to gateway (internal.net.a, outnet.b), but nowhere else > > From outside machines, you can get to gateway, but no internal machines > > Can you get to the inetrnal.net.a interface from outside? > if no, i guess that the Gateway WAN has no route to the inetnal.net > network !! > even if routed is running on Gateway, Gateway WAN is perhaps configured > to not learn routes > on his interface leading to the Gateway... => packets from outside reach > Gateway WAN and don't go further... Yes, it should be from outside machines, you can get to either gateway interface (internal.net.a, outnet.b) For the moment I am just running 'routed' with the single line above - do I need to add more definitions? > > > > > Other attempts > > ---------------------------------------------------------------------- > > Tried to do many variations on the /etc/gateways files, pointing the gateways to 'internal.net.a', 'outnet.b' > > Tried changing the default route to internal.net.a, outnet.a > > Added a route from outnet.a -> outnet.b > > > > Blake > > > > > hope that can help > > Abdelghani > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message