Route redistribution is the interaction of multiple routing protocols. OSPF and RIP can be operated concurrently in the Branch Gateway. In this case, you can configure the Branch Gateway to redistribute routes learned from one protocol into the domain of the other routing protocol. Similarly, static routes can be redistributed to RIP and OSPF.
Note:
Take care when you configure route redistribution. It involves metric changes and might cause routing loops in the presence of other routes with incompatible schemes for route redistribution and route preferences.
The Branch Gateway scheme for metric translation in route redistribution is as follows:
Static to RIP metric configurable (default 1)
OSPF internal metric N to RIP metric (default 1)
OSPF external type 1 metric N to RIP metric (default 1)
OSPF external type 2 metric N to RIP metric (default 1)
Static to OSPF external type 2, metric configurable (default 20)
RIP metric N to OSPF external type 2, metric (default 20)
Direct to OSPF external type 2, metric (default 20)
By default, the Branch Gateway does not redistribute routes between OSPF and RIP. Redistribution from one protocol to the other can be configured. Static routes are, by default, redistributed to RIP and OSPF. The Branch Gateway allows the user to globally disable redistribution of static routes to RIP, and separately to globally disable redistribution of static routes to OSPF. In addition you can configure, on a per static route basis, whether the route is to be redistributed to RIP and OSPF, and what metric to use (in the range of 1-15). The default state is to allow the route to be redistributed at metric 1. When static routes are redistributed to OSPF, they are always redistributed as external type 2.