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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Routing on Win2000 server

Status
Not open for further replies.

nimesh007

Technical User
Jan 18, 2002
16
US
I had to connect two subnets so adopted following procedure.
Installed two NIC cards on one computer and installed win2k server.
Network A has 192.168.1.0 IPs subnet is 255.255.255.0 (Win2k network)
Network B has 192.168.32.0 IPs subnet is 255.255.255.0 (NT network)
Network card on network A side is set foll configuration
IP 192.168.1.57
Subnet 255.255.255.0
Network card on network B side is set foll confi
IP 192.168.32.10
Subnet 255.255.255.0
Than I installed RRAS services and enabled IP routing.
Than I set multiple default gateways on one of the computer in network A. They look like below
Default Gateway
192.168.1.1 metric 1 (This is to go on internet)
192.168.1.57 metric 1 (This is to access network B)
Then tried to ping one of the computer in network B but it doesnt work.
Also checked REgistry to make sure IP forwarding on RRAS server is on and its ON.
Just so you know the computer acting as gateway also has active directory (dc) win2k. And this computer can see all computers on network A as well as B.
Help from expert is needed. Thanks in advance.
 
Ok
Your problem is as follow:
Your ping does reach the machine on subnet B, but that machine does not know how to get back to the original machine.
You have to configure the machine to know about the other subnet and what IP range should go via what gateway.

In short you have to configure both ends of the network, not just one.

Hope this Helps

Maruis
"I sleep at home not on my Job!"
 
Thanks Mauris
But does NT supports multiple gateway entries.
I dont have much idea about NT
 
Yes it does.

Do the following:
In command Prompt...

Type "route print"
Your first line will be your default gateway:
i.e.
0.0.0.0 mask 0.0.0.0 gateway 192.168.1.1 interface 192.168.0.10

To add a route in your case type for subnet A:

route add -p 192.168.32.0 mask 255.255.255.0 192.168.1.57

On the B subnet type:

route add -p 192.168.1.0 mask 255.255.255.0 192.168.32.10

The -p will make the route presistent after a reboot.

This means that any traffic bound for 192.168.32.0 will use the gateway of 192.168.0.57

All other traffic will use your default gateway which is 192.168.1.1

This should clear up your problem.

Hope this Helps

Maruis
"I sleep at home not on my Job!"
 
You rock Mauris
Computer in subnet A could ping IP of subnet B but that IP is assigned to one of the NIC card in net A (192.168.32.10)
As soon as it works will post it and I also will owe you Lunch.
 
hi
i have a problem, i have a network where there are a group of machines which limit to the ip starting from 192.168.8.1
to 192.168.8.130
now i have a different network which starts from 64.81.143.1
to 64.81.143.30

how can i access machines from one network to the other?
using route
 
Hi
Add a static route on each of the gateways to point to 1 another.

Use my excample from above and just change the ip's and subnets.

Good luck....

Hope this Helps

Maruis
"I sleep at home not on my Job!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top