Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 1999 10:47:28 -0600 (CST)
From:      Blake Freeburg <blakef@mrdata.com>
To:        alloui@dpt-info.u-strasbg.fr (Abdelghani ALLOUI)
Cc:        freebsd-net@freebsd.org
Subject:   Re: 3.1 machine as a router?
Message-ID:  <199903051647.KAA05018@mrdata.com>
In-Reply-To: <36E009F0.74AFBE3B@dpt-info.u-strasbg.fr> from Abdelghani ALLOUI at "Mar 5, 99 05:44:32 pm"

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




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