General discussion

Locked

Default Gateway in TCP/IP

By purnendumishra ·
We have two internet Links.And we are using windows2000 based systems.In one of our windows2000 server we have one lan card, and in tcp/ip option i have defined two default gateway ip address (because we have two internet link, so its mean one gateway ip address per internet link)

Example:-
internet Link AAA has ip address 10.4.4.4
internet Link BBB has ip address 10.5.5.5

so these ip address are difined in my tcp/ip dafault gateway optinon.with different metric 1 and 2 respectively.

Where problem is:- If my AAA link goes down then my internet traffic should be routed automatically to BBB link, But it dosen't work
Even in c> route print command it shows default route for both default gateway

0.0.0.0 0.0.0.0 192.68.1.5 10.4.4.4 1
0.0.0.0 0.0.0.0 192.68.1.5 10.5.5.5 2

(192.68.1.5 is my machine ip address)

Pls help

Regards
Purnend

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Default Gateway in TCP/IP

by poo_music In reply to Default Gateway in TCP/IP

You cant have two gateway in your Windows 2000, it might confuse. Use one of the gateway(Depends on your needs eg- use ext gateway if your server is a proxy server).
Then do use Route add (-p if permanent)command to do the routing. You can see the static route address in your routing table.

Collapse -

Default Gateway in TCP/IP

by purnendumishra In reply to Default Gateway in TCP/IP

Poster rated this answer

Collapse -

Default Gateway in TCP/IP

by rkelly In reply to Default Gateway in TCP/IP

In order for this scenario to work you will need to use ICMP Router Discovery on your Server. That way if one of the routers fails it can switch to the other.

If you manually type in the gateways then the server will not be able to route traffic in case of a failure. The first default route will be the way that the traffic goes.

Collapse -

Default Gateway in TCP/IP

by purnendumishra In reply to Default Gateway in TCP/IP

Poster rated this answer

Collapse -

Default Gateway in TCP/IP

by Ovidiu In reply to Default Gateway in TCP/IP

Windows cannot route automatically, but there are Routers who can. Buy a router with autorouting capabilities, and You will achieve the wanted result by configuring the router for the 2 IP's you have for Your Internet providers. If one of the links fails, then the router changes the route automatically to the other one.
If You don't want this solution, the only thing You can do is route manually on one or another of Your two routes.
You can use the ROUTE PRINT command, to see what route actually is the default one.
After that You have to use the ROUTE DELETE command to delete the default route, and ROUTE ADD command with -p switch, followed by the IP adress of the Internet provider, the mask, and the IP of the router.

Good luck

Collapse -

Default Gateway in TCP/IP

by purnendumishra In reply to Default Gateway in TCP/IP

Poster rated this answer

Collapse -

Default Gateway in TCP/IP

by purnendumishra In reply to Default Gateway in TCP/IP

This question was closed by the author

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums