I enabled IP routing on 3 of my Windows 2000 Professional machines with dual-nics and now I need some help on defining static routes.
MACHINE 1
NIC A:172.16.1.254 Mask:255.255.255.0
NIC B:10.1.1.251 Mask:255.255.255.0
MACHINE 2
NIC A:172.16.2.254 Mask:255.255.255.0
NIC B:10.1.2.251 Mask:255.255.255.0
MACHINE 3
NIC A:172.16.15.254 Mask:255.255.255.0
NIC B:10.1.15.251 Mask:255.255.255.0
Using the route command, here are the routes I added:
MACHINE 1
route add -p 172.16.1.0 mask 255.255.255.0 10.1.1.251
route add -p 10.1.1.0 mask 255.255.255.0 172.16.1.254
MACHINE 2
route add -p 172.16.2.0 mask 255.255.255.0 10.1.2.251
route add -p 10.1.2.0 mask 255.255.255.0 172.16.2.254
MACHINE 3
route add -p 172.16.2.0 mask 255.255.255.0 10.1.15.251
route add -p 10.1.15.0 mask 255.255.255.0 172.16.15.254
I can't ping between subnets. What am I missing?
(I rebooted the machines after the IPEnableRouter registry hack, but did not reboot after adding static routes, don't know if this is critical)
MACHINE 1
NIC A:172.16.1.254 Mask:255.255.255.0
NIC B:10.1.1.251 Mask:255.255.255.0
MACHINE 2
NIC A:172.16.2.254 Mask:255.255.255.0
NIC B:10.1.2.251 Mask:255.255.255.0
MACHINE 3
NIC A:172.16.15.254 Mask:255.255.255.0
NIC B:10.1.15.251 Mask:255.255.255.0
Using the route command, here are the routes I added:
MACHINE 1
route add -p 172.16.1.0 mask 255.255.255.0 10.1.1.251
route add -p 10.1.1.0 mask 255.255.255.0 172.16.1.254
MACHINE 2
route add -p 172.16.2.0 mask 255.255.255.0 10.1.2.251
route add -p 10.1.2.0 mask 255.255.255.0 172.16.2.254
MACHINE 3
route add -p 172.16.2.0 mask 255.255.255.0 10.1.15.251
route add -p 10.1.15.0 mask 255.255.255.0 172.16.15.254
I can't ping between subnets. What am I missing?
(I rebooted the machines after the IPEnableRouter registry hack, but did not reboot after adding static routes, don't know if this is critical)