Managing Routing
IP Helper provides features to manage network routing. Use the following functions to manage the IP routing table, and to obtain other routing information.
Retrieve the contents of the IP routing table by making a call to the GetIpForwardTable function. Manipulate specific entries in the IP routing table using the CreateIpForwardEntry, DeleteIpForwardEntry, and SetIpForwardEntry functions. Use the CreateIpForwardEntry function to add a new routing table entry. Use the DeleteIpForwardEntry function to remove an existing entry. The SetIpForwardEntry function modifies an existing entry.
The router management capabilities of IP Helper can be used to retrieve information about how datagrams are routed over the network. The GetBestRoute function retrieves the best route to a specified destination address. The GetBestInterface function retrieves the index of the interface used by the best route to a specified destination address. Lastly, the GetRTTAndHopCount function retrieves the round-trip time (RTT) and number of hops to a specified destination address.