Log in

View Full Version : Connecting two networks in one


viveksinhaniit
Nov 11, 2008, 07:37 AM
Hi,
How to connect two different networks in one with routing in window server 2003?

Yours faithfully
Vivek
NIIT

chuckhole
Nov 12, 2008, 06:19 AM
You would need two network cards on the server, one connected to each network.

You would then configure static routes.

Example:

Network 1
IP Address: 172.16.11.1
Subnet Mask: 255.255.0.0

Network 2: 192.168.1.1
Subnet Mask: 255.255.255.0

ROUTE ADD -P 192.168.1.0 MASK 255.255.255.0 192.168.1.1
ROUTE ADD -P 172.16.0.0 MASK 255.255.0.0 172.16.11.1

The -P switch makes the static routes persistent so that they will return after a reboot. The gateway address for each PC would be the server address for the network they are located in.