Re: Quick Routing Question

From: Jason Morgan (jwm-freebsd_at_sentinelchicken.net)
Date: 11/01/05

  • Next message: Steve Bertrand: "RE: Quick Routing Question"
    Date: Tue, 1 Nov 2005 12:52:34 -0500
    To: FreeBSD Questions <freebsd-questions@freebsd.org>
    
    

    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"
    > >
    >
    _______________________________________________
    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"


  • Next message: Steve Bertrand: "RE: Quick Routing Question"

    Relevant Pages

    • Re: Frame Relay Lan routing between sites help needed
      ... router rip. ... had some static route statements incorrect. ... you'd have a static route out ... 10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks ...
      (comp.dcom.sys.cisco)
    • RE: Quick Routing Question
      ... > on the Linksys. ... > routing to the outside world from both subnets. ... this is not a NAT issue. ... is set a static route inside the Linksys that ...
      (freebsd-questions)
    • Re: Route-Map / Adjacent Next Hop Question
      ... I tried the "dhcp" option on my static route. ... 192.168.100.0/29 is subnetted, 1 subnets ...
      (comp.dcom.sys.cisco)
    • Re: How to tell if my vlans are layer 2 or layer 3.
      ... to see IP routes use the command "show ip route" ... The command you typed in would display route-maps if any ... P - periodic downloaded static route ... 172.16.0.0/22 is subnetted, 12 subnets ...
      (comp.dcom.sys.cisco)
    • Re: Network configuration problem.
      ... >> Also, with the Linksys wireless device, how did you connect it? ... >> wireless users are simply bridged over to that network. ... > defaults the LAN address of the Linksys router is 192.168.1.1 but since ... Did you try specifying the subnet mask on the route you put into your ...
      (Fedora)