Apr 20, 2011
I remember back when my colleagues and I have set up another LAN with a different subnet. It’s main purpose was to serve as a small network where you can learn programming, SQL scripting etc. It was separated from the department LAN so that internet, network games is not accessible from the ‘new’ subnet. This will help the attendees of a particular lesson to focus more on the topics being discussed.
But one day, it was saturday afternoon and there are no ‘cats’ around we decided to use the ‘new’ LAN to serve as game stations. We did this because some of our peers doesn’t have their own workstation so we need to connect the ‘new’ LAN with a different subnet to the department LAN. Just for fun and out of curiousity we decided to configure one of the PC as a ‘gateway’ computer. This will serve as the ‘router’ of all the computers residing on both subnets. Additionally we have no extra bucks to buy a ‘router’ to serve this purpose. 😛
The main idea we used to connect two different subnets, is to set one of the NIC(network interface card) installed to serve as the ‘gateway’ of the department LAN and the other to serve as a ‘gateway’ of the new subnet. So we installed an extra NIC on the ‘gateway’ computer. And then we placed the gateway computer between the network switch of the two differently configured subnets. The connection will look like similar to the diagram below. Take note that the gateway PC will sit between the two subnets and connect them using the two ethernet ports.
Configure the NIC1 of the GATEWAY PC as follows:
IP ADDRESS: 192.168.0.11
SUBNET MASK: 255.255.255.0
DEFAULT GATEWAY: 192.168.1.22
Configure the NIC2 of the GATEWAY PC as follows:
IP ADDRESS: 192.168.1.22
SUBNET MASK: 255.255.255.0
DEFAULT GATEWAY: 192.168.0.11
We reboot the GATEWAY PC after the configuration. Wait for a while so that the GATEWAY PC can ‘learn’ the routing paths. Then we try to ‘ping’ a computer from ‘LAN1’ to ‘LAN2’ and in our surprise it works! Then to test if the configuration really works, we load the ‘Counter Strike’ game. On both subnets we check if the client computers connecting to the ‘game’ server can see it’s IP address. As expected we can now see the game server’s IP address and connect to it. GAME ON! 😎
Incoming search terms:
how to connect 3 subnet, computer in one subnet needs to connect ot multiple computers in another subnet, diagram network 2 lan card in a pc with different subnet, how to connect to gateway on different subnet windows 2008, the role of gateway in computer network, Two Ethernet Cards One Computer same subnet, what is gateway in computer, what is gateway in computer network