Multiple Subnets - TechRepublic
Question
March 15, 2010 at 02:36 PM
h4ckn3t

Multiple Subnets

by h4ckn3t . Updated 16 years, 3 months ago

Before asking my question, please don’t reply with “you don’t need that” or “thats an overkill for a home network”. I am doing this for training purposes and a home lab creation. I also know that these routers aren’t particularly made for this type of setup, but I know there is people out there that can make this happen. All your help is greatly appreciated, and if you ever need any help from me, please don’t hesitate to ask.

Basically this is what I am trying to do:
As of now, all subnet masks are 255.255.255.0. I have a FreeNAS server in which I use the Web server and the torrent server only. I would like for it to be on a different subnet than the rest of my network. I have been trying to get this going for weeks now in my spare time, and I am having a difficult time getting the subnets to talk to each other.
I have had it setup many ways, but basically I have a cable modem running to a Dynex DX-E402 wired router with an integrated 4 port switch. DHCP is turned off on all routers. Dynex has a LAN IP of 192.168.1.1. From one of the Dynex router’s switch ports I have a Netgear WNR2000 router with the wifi turned off as well as the dhcp turned off, and an IP of 192.168.2.1. I have tried connecting to the Netgears WAN port and one of the switch ports, and enabled RIP on the Netgear router. From one of the switch ports I connect the FreeNAS server with a static IP of 192.168.2.50.
Now back at the Dynex router, from another switch port I have a linksys wrt54gv2 with DD-WRT v24. As of now, the linksys is assigned an IP of 192.168.1.2. Once again, I have tried connecting to the linksys from the Dynex wan port and a switch port, as well as assigning an IP of 192.168.3.1 to the linksys. The linksys is set to router mode and I have tried adding static routes to the 192.168.2.0 network. I also went into the Dynex router and assigned static routes to both the linksys and netgear router. The linksys has Wifi enabled which provides access via switch ports to a Windows Server 2003 and a windows 7 desktop. Wirelessly it connects my i7 laptop, iphone, and a wap54g which is in client mode and wired to my custom built i7 gaming machine. As long as I keep the linksys side of the network on the 192.168.1.0 255.255.255.0 network everything on that side works fine but if I change the linksys IP to 192.168.3.1 it is unable to talk to anything else or get online. I’m not really doing anything with the windows server as of now, but plan on it in the future. I am thinking I could use the Windows server as a DNS to solve my issues but that hasn’t been accomplished yet. The FreeNAS has never been able to access the internet while on a different subnet.
I have tried so many different setups with this, and each time there will be somebody who can’t talk to the other hosts. If anyone knows a better way to do what I am trying to do, this is what I have to work with:

Dynex DX-E402 Wired Router
Netgear WNR2000
Linksys WRT54g DD-WRTv24 Firmware
Windows Server 2003
2 PCs
1 Laptop
1 Iphone
Linksys WAP54g (which is basically being used as a wifi adapter for my main pc because I like using eth0 when I’m running linux)

Thank You.

This discussion is locked

All Comments