Sorry about this, I'm a bit of a n00b when it comes to routing... I tried this question in the Linksys section, but haven't gotten an answer yet. At any rate it isn't too specific to those products for the most part.
My network has two subnets, 192.168.1.0, and 192.168.2.0. I have a Linksys router running as a gateway on the first subnet, and a Linux router running as a gateway to the second subnet (one interface has the IP 192.168.1.2, and the other has 192.168.2.0). I have a couple other computers I want to run as servers and put on the subnet 192.168.2.0, and I want to be able to forward ports from the internet to these servers.
On my Linksys router I have a static route set up as follows:
Destination: 192.168.2.0
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.2
I can ping the computers on the second subnet just fine, but the Linksys box won't let me forward ports to a host on another subnet. So, is it possible to set up a route between an IP on the first subnet, such as 192.168.1.10, and an IP on the second, say 192.168.2.10, allowing me to simply enter 192.168.1.10 as the IP to forward ports to?
Another thing I have been a bit confused by is the net mask. Right now my entire network uses the netmask 255.255.255.0. Since I have the two subnets, should I be useing 255.255.0.0 instead?
Thanks in advance.
My network has two subnets, 192.168.1.0, and 192.168.2.0. I have a Linksys router running as a gateway on the first subnet, and a Linux router running as a gateway to the second subnet (one interface has the IP 192.168.1.2, and the other has 192.168.2.0). I have a couple other computers I want to run as servers and put on the subnet 192.168.2.0, and I want to be able to forward ports from the internet to these servers.
On my Linksys router I have a static route set up as follows:
Destination: 192.168.2.0
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.2
I can ping the computers on the second subnet just fine, but the Linksys box won't let me forward ports to a host on another subnet. So, is it possible to set up a route between an IP on the first subnet, such as 192.168.1.10, and an IP on the second, say 192.168.2.10, allowing me to simply enter 192.168.1.10 as the IP to forward ports to?
Another thing I have been a bit confused by is the net mask. Right now my entire network uses the netmask 255.255.255.0. Since I have the two subnets, should I be useing 255.255.0.0 instead?
Thanks in advance.