Two internal networks, one internet connection

From: Les Klassen Hamm <linux_at_no.spam.please>
Date: Wed Sep 03 2003 - 16:19:02 CST

Hi All,

I have setup an office previously where I built a linux router with 3 NICs, one
facing the internet and each of the other two facing an internal,
NAT'ed network, so the two internal networks couldn't see each other but each
had internet access.

That continues to work without issue, but now I'm curious about another way to
do such a thing. Is it possible to sort of "daisy chain" two basic routers
together to get the same affect? I don't have two to try this.

For example, let's say you have a couple of D-Links routers or whatever. The
first connects to the internet, grabs it's IP from Shaw/Sasktel, and serves up
an internal NAT'd network. Could you grab another and router put it on the
internal network, DHCP it's number from the first router, and serve up a second
NAT'd network? It sounds stupid as I write this, but I'm curious. A diagram:

Router +--- Net1 computer #1
       +--- Net1 computer #2
       +--- Router
                +--- Net2 computer #1
                +--- Net2 computer #2

I know, ascii art sucks for all you fancy-pants users with proportional fonts
in your mail reader, but the die-hard pine/mutt crew will see the raw beauty of
the illustration. I would have attached a nice dia drawing, but alas,
strip-mime lurks nearby.
Received on Wed Sep 3 16:19:02 2003

This archive was generated by hypermail 2.1.8 : Mon Mar 06 2006 - 18:35:12 CST