Changing the routing cost for a connection
IBM® Notes® routing assigns a routing cost to each connection and uses these costs to select the most efficient way to route mail from one server to another. The Router computes and stores information about these costs in its routing tables. If there is more than one possible route for mail to travel between the source server and the destination server for the message, the Router uses routing cost information in the tables to calculate the least-cost route for the message.
About this task
The Router uses information in Server, Domain, and Connection documents to create the routing tables. A LAN connection has low cost; a dialup modem connection has high cost. By default, each LAN connection has a cost of 1, while each dialup modem connection has a cost of 5.
If server connections are disrupted or a network fails, the Router selects an alternate path and increases the cost for the path that failed.
How the Router chooses a route
The router chooses a route based on the following calculations:
- It calculates and selects the least-cost route.
- If the least-cost route fails -- for example, if there is no answer or if the network times out -- the Router increases the cost of the initial route by 1. For example, if a LAN connection between Server A and Server B initially has a cost of 1 but the connection fails during an attempted transfer, the Router increases the cost of that LAN connection between Server A and Server B to 2.
- The next time the Router tries to transfer mail between servers, it again looks for the least-cost route between those servers. If there is an alternate route that is equal in cost and requires fewer hops, the Router selects that alternate route. For example, if there are two paths between Server A and Server B, each with a total cost of 4, the Router examines the number of hops in each path. If one route requires three hops but the other requires only two hops, the Router uses the path that requires two hops because the costs are equal.
The Router resets the cost for a connection when:
- The server receives an inbound connection from the failed server
- The dynamic cost interval occurs
- You stop and restart the Router
Overriding the default routing cost
About this task
You can override the default setting for the routing cost for a connection. You can change this setting only for connections between servers in different Notes named networks. Change the default routing cost for a connection only if you are an experienced IBM Domino administrator. Improperly changing routing costs can create routing loops and disable the Router's selection of an alternate route.