Subnetwork on a network

Brian23

Banned
Dec 28, 1999
1,655
1
0
Ok, 4 people live in my apartment. My brother and I want to be on the same network, but one of the other guys wants have his own network. He doesn't want to be on the same network for privacy reasons. However, The only internet connection comes to my room.

So, I want to build a DHCP network on the 192.168 address space, and I want my friend to be able to set up his own DHCP private network on a different 192.168 address space. Do both of us need a PC with 2 NICs to do this, or can it be done with standard routers? How do you set up a DHCP server to also be a DHCP client?

Thanks!
 

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
It can be done w/ 1 business class router, or 2 SOHO routers.
JackMDS has a nice writeout here
In your case, you'd put your roommate's router behind you & your brother's.
 

irwincur

Golden Member
Jul 8, 2002
1,899
0
0
An old PC with m0n0wall or smoothwall installed would be perfect for this. Get a couple NICs - three in this instance and you are pretty much ready to go. Setup is as easy as any off the shelf router/firewall and performance is absolutely excellent in terms of what the firewall is capable of.
 

Brian23

Banned
Dec 28, 1999
1,655
1
0
I thought you couldn't use a 192.168 address as the WAN ip of a normal router. I have two el cheapo netgear wireless routers, so I'm going to give it a try.
 

Cooky

Golden Member
Apr 2, 2002
1,408
0
76
You can pretty much assign any IP to your interfaces, it's just a matter whether it's routable on the Internet or not.
 

skyking

Lifer
Nov 21, 2001
22,709
5,837
146
the only caveat about double routing is forwarding ports. If the folks on the second router want some specific port forward through, it can get tedious.
 

Brian23

Banned
Dec 28, 1999
1,655
1
0
thanks for the help. It works great. I never knew you could set up a router behind a router before.