Multiple LANs - One Internet Connection

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View


Any suggestions on how to connect multiple LANs to one cable modem Internet
connection?  Each LAN has 4 PCs (max) must remain isolated from the other
LANs.  One LAN requires the ability to limit what PC's can connect to the
Internet.

Re: Multiple LANs - One Internet Connection



Quoted text here. Click to load it

Copy and paste into notepad.

                 ---------
                 | Cable |
                 | Modem |
                 ---------
                     |
                     | <-WAN Port
              ------------------
              |   Broadband    |
              |     Router     |
              ------------------
    LAN Ports -> |  |        | 192.168.100.0 /24
       __________|  |______  |__________________
      |                    |                    |
      |                    |                    |
      | <-WAN Port         | <-WAN Port         | <-WAN Port
------------------   ------------------   ------------------
|   Broadband    |   |   Broadband    |   |   Broadband    |
|     Router     |   |     Router     |   |     Router     |
------------------   ------------------   ------------------
LAN Ports | | | |    LAN Ports | | | |    LAN Ports | | | |
          | | | |              | | | |              | | | |
          | | | |              | | | |              | | | |
192.168.100.0 /24    192.168.101.0 /24    192.168.102.0 /24



Re: Multiple LANs - One Internet Connection


Wayne wrote:

Quoted text here. Click to load it

There are two 192.168.100/24 nets, which is probably not
a good idea.

Best is to randomly assign the third octet of a 192.168 address,
or the second and third of a 10.x.y/24 address.  If you join a VPN
it reduces the change of having to change all the addresses.

Otherwise, yes, this is probably the best, and with routers down
to $10, a very affordable solution.

-- glen

-- glen


Re: Multiple LANs - One Internet Connection



Quoted text here. Click to load it

Actually yeah, that's not a good idea.  Typo on my part!

Quoted text here. Click to load it

Yeah, we could get into something like a PIX 515 with a VLAN-capable switch,
but that would be expensive and unnecessary.



Re: Multiple LANs - One Internet Connection


Quoted text here. Click to load it


You could roll your own with a spare PC and a few NIC cards, using
freebsd or linux..   any old pentium box would work, or you could use one
of the soekris boards..

I have a setup similar to this, with 3 lans, and a dsl line.. mapping to
3 static addresses on the dsl side, using freebsd, ipfw, and natd.


--
               -- Welcome My Son, Welcome To The Machine --
Bob Vaughan  | techie @ tantivy.net           |
         | P.O. Box 19792, Stanford, Ca 94309 |
-- I am Me, I am only Me, And no one else is Me, What could be simpler? --

Re: Multiple LANs - One Internet Connection


Wayne wrote:
Quoted text here. Click to load it


For the LAN routers, I planned on using DHCP but turn off NAT.  For the LAN
router, just the opposite.  Good idea?

--
Message posted via HWKB.com
http://www.hwkb.com/Uwe/Forums.aspx/network-ethernet/200601/1

Re: Multiple LANs - One Internet Connection


Quoted text here. Click to load it

You've received good replies about hierarchy.  I'd be more
worried about performance.  One person with a virus, p2p
or sending large emails can use all the upstream bandwidth,
making the large downstream unusable.  A more intelligent
[Linux] router can reduce this effect by QoS and throttling.

-- Robert




Re: Multiple LANs - One Internet Connection


Robert Redelmeier wrote:


Quoted text here. Click to load it


I have heard there is a version of linux to run on the WRT54G
if you don't like the system that it comes with.

-- glen


Re: Multiple LANs - One Internet Connection


glen herrmannsfeldt wrote:
Quoted text here. Click to load it

You heard correctly. Sort of. Apparently you can hack it up through v4.
V5 you can't. But what they did was come up with a special version
(suffix L?) which can be hacked.

Google WRT54G hack and you'll get lots of links.

Site Timeline