Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help with Windows 2000 Professional AND Routing

Status
Not open for further replies.

Thorpe

MIS
Apr 30, 2002
3
0
0
US
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 is 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 have not rebooted the machines, don't know if this is critical)
 
i have a W2k PC that needs to connect to our network via VPN. The PC connects to the net thru Verizon DSL line.
The user connects to the server, but can't view the server drives. can ping correctly to the servers but can't seem to view them. If we test a dailup connection and VPN to the server, works fine.
 
Are these PC's connected to 2 networks? I.E. all NIC A and all NIC B to 2 networks? If so you cant ping between them because they all have IP's belonging to different subnets.

1. NIC A:172.16.1.254 Mask:255.255.255.0
2. NIC A:172.16.2.254 Mask:255.255.255.0
3. NIC A:172.16.15.254 Mask:255.255.255.0

1 belongs to IP subnet 172.16.1.0, 2 to 172.16.2.0 and 3 to 172.16.15.0 .
To establish direct connection between 2 PCs both IP's have to belong to the same subnet.
A little example:
PC1
NIC A: 172.16.1.254 / 24
NIC B: 10.1.1.251 / 24
PC2
NIC A: 172.16.1.253 / 24
NIC B: 10.1.2.251 / 24

On PC 1
route add -p 10.1.2.0 mask 255.255.255.0 172.16.1.253
On PC 2
route add -p 10.1.1.0 mask 255.255.255.0 172.16.1.254

The routes you defined are not needed as they point to the subnets defined on the PC itself.

Hope that helps


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top