Re: simple routing setup ...

From: Kurt (kurtl_at_nospam.olypen.com)
Date: 09/19/05


Date: Sun, 18 Sep 2005 21:35:02 -0700


It's not a problem routing a private network to the internet via another
private network, but you do have to have your routes set up somewhere.
Simply connecting the interfaces and setting up the computer to route
between interfaces won't do it. If computers on the 172.17.0.0 network
point to 172.17.0.1 as their default gateway, then you'll need to add a
route to the 172.17.0.1 router that points traffic destined for the
172.18.0.0 network via 172.17.1.7. Computers on the 172.18.0.0 network
should use 172.18.0.1 as their gateway, and the box you're using for
your router should have a single default gateway, 172.17.0.1. If you
don't have access to the router, you could add the routes directly on
the computers for LAN-to-LAN, but you'll need the route on the router if
you want the 172.18 network to have Internet.

...kurt

moritz@uplink-verein.ch wrote:
> 172.17.0.1 is the overall gateway. this means every packet with
> destination world has to pass through this. the subnet 172.17.0.0/16 is
> connected to this gateway. in addition i want to connect a second
> subnet 172.18.0.0/16 to 172.17.0.0/16. so this means: all traffic from
> 172.18.0.0/16 goes through 172.18.0.1, which is 172.17.1.7 (so not the
> overall gateway). from there it goes through the 172.17.0.1 to the
> internet.
>
> so i want to route a private network through another private network to
> the internet.
>
> regards
> moritz
>



Relevant Pages

  • Connect to internal lan using PPP
    ... It's currently the default gateway for an internal lan and I'd like to ... internet cable, one internal for home and runs natd for the other local pc. ... If i delete this route on the windows client and ... # set dns 203.2.75.132 ...
    (freebsd-questions)
  • Re: One computer on 2 networks
    ... The gateway setting on the 172.30 NIC should be blank. ... If they are not all 172.30 you need to use a shorter network mask (so ... How exactly would the Route Add sentence be? ... and yours must point to the Internet gateway. ...
    (microsoft.public.windows.server.networking)
  • Re: (more) the coffee house broke my auto
    ... Is the IP address of your gateway actually ... route 2 network: route add default gw outer and route private network ... host in private network zone set this: ...
    (Debian-User)
  • Re: Dual NICs on Server 2003 issue
    ... To route a particular set of addresses to some other ... gateway you need to use static routing. ... connects via another gateway to a remote site that is on a 10.0.1.x ... assuming you have two internet access? ...
    (microsoft.public.windows.server.networking)
  • Re: Why does this route not work ?
    ... Internet connectivity works fine. ... The other interface connects to a private network. ... the traceroute results do not change no matter what route I ...
    (microsoft.public.windows.server.networking)

Loading