Error message when the CreateIpForwardEntry function fails on a Windows Vista-based computer: “0xa0”


On a Windows Vista-based computer, a call to the CreateIpForwardEntry function fails. Additionally, you receive the following error message:



This problem occurs because Windows Vista enforces the rule that the route metric that is passed to the CreateIpForwardEntry function must be larger than or equal to the interface metric. This rule exists because the route metric is computed as the sum of the interface metric and the route preference.


To work around this issue, use one of the following methods:

Set the interface metric to 0 when the software creates the adapter.
Before the CreateIpForwardEntry function is called, obtain the interface metric, and then set the route metric to a value that is larger than or equal to the interface metric.


This issue may affect any software that creates new interfaces or that updates routing metrics for existing interfaces. This includes virtual private network (VPN) software. For example, VPN software that creates a Point-to-Point Protocol (PPP) interface may generate this error.


Windows Vista Enterprise 64-bit Edition
Windows Vista Home Basic 64-bit Edition
Windows Vista Home Premium 64-bit Edition
Windows Vista Ultimate 64-bit Edition
Windows Vista Business
Windows Vista Business 64-bit Edition
Windows Vista Enterprise
Windows Vista Home Basic
Windows Vista Home Premium
Windows Vista Starter
Windows Vista Ultimate


Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

To prove that you're not a bot, enter this code
Anti-Spam Image