• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

Multiple gateways on a windows server

I have two windows servers which needs to communicate with each other as well as with a set of desktops. They are in cluster with a heart beat connection between them thru a layer 2 switch.
Each server has 4 NICs. 2 NICs are teamed and set with a defult gateway of 172.30.0.1. 3rd NIC is setup with 172.31.0.1 as default gateway and this subnet is purely used for a cluster heartbeat connectvity purposes.

When the sever has to send the packets to the desktops (192.168.x.x) via the 172.30.0.1 gateway, sometimes it randomly sends via heartbeat network (172.31.0.1 gateway)and the packets are being dropped at the first hop itself.
I have manually setup route entries in the server to use the 172.30.0.1 gateway.. but still the problem persists. Is there anything i could do here?
0
daya83753
Asked:
daya83753
  • 4
1 Solution
 
MinoDCCommented:
delete gateway on heathbeat networks and add a permanent route in this way on both servers.
On Server A type in prompt this command:
route add 172.31.0.x mask 255.255.255.255 172.31.0.1 -p
(x=Server B ip address )

route add 172.31.0.y mask 255.255.255.255 172.31.0.1 -p
(y=Server A ip address )
0
 
MinoDCCommented:
pardon....the second route

route add 172.31.0.y mask 255.255.255.255 172.31.0.1 -p
(y=Server A ip address )

you must type on Sever B.
0
 
MinoDCCommented:
After that you add the route for herathbeat, you can add the gateway for Lan Network (172.30.0.1), and delete the route that you have added with gateway 172.30.0.1
0
 
daya83753Author Commented:
Thanks. i am going to do the folllowing then?

1. delete the heartbeat gateway(172.31.0.1) on the NIC in both the servers.
2. make a router entry as follows -
On Server A :
route add 172.31.0.x mask 255.255.255.255 172.31.0.1 -p
<< actual subnet mask for this network is 255.255.255.192..shud i use this or all 255's?)>>(x=Server B ip address )

On Sever B.
route add 172.31.0.y mask 255.255.255.255 172.31.0.1 -p
<< actual subnet mask for this network is 255.255.255.192..shud i use this or all 255's?)>>(
(y=Server A ip address )

3. add 172.30.0.1 gateway to the NIC properties and delete the route entry previously made on both the servers.

0
 
MinoDCCommented:
<< actual subnet mask for this network is 255.255.255.192..shud i use this or all 255's?)
yes all 255 (in this way you point only other server (server A o B) in cluster)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now