08-11-2007 02:23 AM - edited 03-05-2019 05:50 PM
Hi,
I have two networks that needs to use the same gateway, what type of equipment do I need for this?
Example;
192.168.200.0
192.168.201.0
Gateway - 192.168.200.1
DNS1 - 192.168.200.2
DNS2 - 192.168.200.3
How can I make sure that all hosts on both networks can see each other (ping etc) and second subnet (192.168.201.0) use the gateway and DNS on the first subnet?
What type of router would I need? How would this be placed on a network (i have a switch, should the router's (2 network interfaces) be plugged into the switch?)
I have never done anything like this before and any information/pointers very much appreciated.
Pieter
08-11-2007 11:42 AM
You need a router with two LAN interfaces. Any Cisco model would do the job here.
http://www.cisco.com/en/US/products/hw/routers/index.html
One LAN interface should be assigned under the 192.168.200.0/24 network and another LAN interface should be assigned under the 192.168.201.0/24 network.
You should have an ip route in the Cisco router like this:
ip route 0.0.0.0 0.0.0.0 192.168.200.1
and the clients in the 192.168.201.0/24 network should point to the Cisco LAN interface as their gateway.
For instance if the LAN interface that is connected to that subnet is 192.168.201.254/24 then that's the gateway for devices on that subnet.
Also, 192.168.200.1 device needs to know how to send the packets back so it needs a route like this:
ip route 192.168.201.0 255.255.255.0 192.168.200.254
192.168.200.254 being the Cisco Router LAN interface for that segment.
HTH,
08-14-2007 12:51 AM
Thanks HTH, it all makes sense now.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: