Using two Gateways and Metric set up . . .

  • Thread starter Thread starter Trislam
  • Start date Start date
T

Trislam

Hello,

I am trying to understand how to make a Windows 2000 Professional computer
use a different gateway in the event the Main Gateway losses internet
access. For example, the Main Gateway is (*.254) and the Backup Gateway is
(*.253). The main gw is connected to a DSL connection and the backup gw is
connected to a LAN modem.

The Windows 2000 computer is running an application that needs to access the
internet and does so via the main gw. When the main gw goes down I want the
application to be able to access the internet via the backup gw. I had it
working some months back but it is no longer working. I am trying to find
out the correct way to set it up.

Thank you for your time.

I originally set up the GW as follows:
Gateway Metric
*.*.*.254 1
*.*.*.253 2

Triz
 
the problem is if the main gateway has an issue while the computer still connects to it, the traffic always goes to the main gateway. The possible solution is creating a small grogram to ping a public ip, if it does reply, delete the main gateway and then run the application.

Don't send e-mail or reply to me except you need consulting services. Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.

Hello,

I am trying to understand how to make a Windows 2000 Professional computer
use a different gateway in the event the Main Gateway losses internet
access. For example, the Main Gateway is (*.254) and the Backup Gateway is
(*.253). The main gw is connected to a DSL connection and the backup gw is
connected to a LAN modem.

The Windows 2000 computer is running an application that needs to access the
internet and does so via the main gw. When the main gw goes down I want the
application to be able to access the internet via the backup gw. I had it
working some months back but it is no longer working. I am trying to find
out the correct way to set it up.

Thank you for your time.

I originally set up the GW as follows:
Gateway Metric
*.*.*.254 1
*.*.*.253 2

Triz
 
I am looking for a automatic roll over type situation. For example, when the main gateway goes down the backup would kick in. From what I understand are you telling me I would have to delete the main gw when this happens? Am I on the right track?

Thanks for the response.

--


the problem is if the main gateway has an issue while the computer still connects to it, the traffic always goes to the main gateway. The possible solution is creating a small grogram to ping a public ip, if it does reply, delete the main gateway and then run the application.

Don't send e-mail or reply to me except you need consulting services. Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.

Hello,

I am trying to understand how to make a Windows 2000 Professional computer
use a different gateway in the event the Main Gateway losses internet
access. For example, the Main Gateway is (*.254) and the Backup Gateway is
(*.253). The main gw is connected to a DSL connection and the backup gw is
connected to a LAN modem.

The Windows 2000 computer is running an application that needs to access the
internet and does so via the main gw. When the main gw goes down I want the
application to be able to access the internet via the backup gw. I had it
working some months back but it is no longer working. I am trying to find
out the correct way to set it up.

Thank you for your time.

I originally set up the GW as follows:
Gateway Metric
*.*.*.254 1
*.*.*.253 2

Triz
 
It isn't going to be a clean as you expect it to be.

128978 - Dead Gateway Detection in TCP/IP for Windows NT
http://support.microsoft.com/default.aspx?scid=kb;EN-US;128978

171564 - TCP/IP Dead Gateway Detection Algorithm Updated for Windows NT
http://support.microsoft.com/default.aspx?scid=kb;EN-US;171564

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


-------------------
I am looking for a automatic roll over type situation. For example, when
the main gateway goes down the backup would kick in. From what I understand
are you telling me I would have to delete the main gw when this happens? Am
I on the right track?

Thanks for the response.

--


the problem is if the main gateway has an issue while the computer still
connects to it, the traffic always goes to the main gateway. The possible
solution is creating a small grogram to ping a public ip, if it does reply,
delete the main gateway and then run the application.

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
Hello,

I am trying to understand how to make a Windows 2000 Professional computer
use a different gateway in the event the Main Gateway losses internet
access. For example, the Main Gateway is (*.254) and the Backup Gateway is
(*.253). The main gw is connected to a DSL connection and the backup gw is
connected to a LAN modem.

The Windows 2000 computer is running an application that needs to access the
internet and does so via the main gw. When the main gw goes down I want the
application to be able to access the internet via the backup gw. I had it
working some months back but it is no longer working. I am trying to find
out the correct way to set it up.

Thank you for your time.

I originally set up the GW as follows:
Gateway Metric
*.*.*.254 1
*.*.*.253 2

Triz
 
I made this mistake myself - Metrics aren't a priority rating, they are a route cost for calculating the closest path in a manually configured mesh network.
To correctly make use of "automatic gateway roll-over" you need to use a routing protocol like RIP2 or OSPF so that a machine knows when a link is down rather than a just router being switched off or otherwise unreachable.
I don't think the "workstation" versions of WIndows support this but RRAS in Server 2000/2003 does.
the problem is if the main gateway has an issue while the computer still connects to it, the traffic always goes to the main gateway. The possible solution is creating a small grogram to ping a public ip, if it does reply, delete the main gateway and then run the application.

Don't send e-mail or reply to me except you need consulting services. Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.

Hello,

I am trying to understand how to make a Windows 2000 Professional computer
use a different gateway in the event the Main Gateway losses internet
access. For example, the Main Gateway is (*.254) and the Backup Gateway is
(*.253). The main gw is connected to a DSL connection and the backup gw is
connected to a LAN modem.

The Windows 2000 computer is running an application that needs to access the
internet and does so via the main gw. When the main gw goes down I want the
application to be able to access the internet via the backup gw. I had it
working some months back but it is no longer working. I am trying to find
out the correct way to set it up.

Thank you for your time.

I originally set up the GW as follows:
Gateway Metric
*.*.*.254 1
*.*.*.253 2

Triz
 
Back
Top