From owner-freebsd-questions@FreeBSD.ORG Tue Nov 1 17:52:41 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1357D16A41F for ; Tue, 1 Nov 2005 17:52:41 +0000 (GMT) (envelope-from jwm-freebsd@sentinelchicken.net) Received: from dukecmmtar02.coxmail.com (dukecmmtar02.coxmail.com [68.99.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id B832C43D58 for ; Tue, 1 Nov 2005 17:52:35 +0000 (GMT) (envelope-from jwm-freebsd@sentinelchicken.net) Received: from sentinelchicken.net ([70.183.13.213]) by dukecmmtar02.coxmail.com (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20051101175259.PREH1549.dukecmmtar02.coxmail.com@sentinelchicken.net> for ; Tue, 1 Nov 2005 12:52:59 -0500 Received: (qmail 91581 invoked by uid 1000); 1 Nov 2005 17:52:34 -0000 Date: Tue, 1 Nov 2005 12:52:34 -0500 From: Jason Morgan To: FreeBSD Questions Message-ID: <20051101175234.GC91422@sentinelchicken.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Re: Quick Routing Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 17:52:41 -0000 On Tue, Nov 01, 2005 at 12:42:27PM -0500, Steve Bertrand wrote: > > > Ok, it looks like it was an issue with the default settings > > on the Linksys (and is still somewhat of an issue). I can now > > connect to systems in each of the two subnets and I also have > > routing to the outside world from both subnets. My only > > remaining issue is getting to the web app setup for the > > Linksys - I can only do it from a local address (meaning a > > 192.168.1.x address). The Linksys refuses connections from > > my 10.0.0.x subnet. Is this a NAT issue? > > No, this is not a NAT issue. > > You are not doing NAT in this situation (on exception through to the > Internet)...the 10/24 and 192.168.1/24 subnets are routed (not NAT'd) > through the FBSD box. They are communicating directly to one another, > with no translation at all. > > The problem here (my opinion only), is that the Linksys sees the 10.x > address and is not familiar with it (unless explicitly told to do so). > > What you need to do, is set a static route inside the Linksys that > states that 10.0.0.x/24 should be routed to 192.168.1.2 (aka FBSD fw), > out the LAN side of the device. Otherwise, what will happen is that the > Linksys sees 10/24 as an *outside* address range, and it will forever > trying to send it out it's WAN side, to it's default GW, even if there > is not one configured. > > The Linksys may try to give up searching for the 10 network because the > only addresses it knows how to route through the LAN side will be the > 192 network. > > I hope I haven't confused you here. I've gotten quite busy so I'm typing > faster tham I'm able to think :) > > Anyway, it's been a while since I've played with a Linksys, but I am > certain you can add static routes. > > Again, what you want is a route that states: > > - if it needs to go to 10.0.0.0, 255.255.255.0, send it to 192.168.1.2. Got it. I'll try that. The Linksys does allow you to specify static routes. -Jason > > Now, one more thing...it may be possible that the Linksys interface may > ONLY allow connection from it's own subnet, but you'll be able to > enlighten me here :) > > > Thanks again for all the help. tcpdump helped a lot. > > No problem. I'm glad I could be of help. > > Truly, what you are learning here is how the Internet as a whole works > (as far as routing is concerned). The only difference is that you are > playing with private IP address allocations, as opposed to public > addresses. > > Steve > > > > > Jason > > > > > > > > Cheers, and good luck! > > > > > > Steve > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > >