Objectives
The simulator ticks each one as soon as the network meets it.
On R2, create ip-prefix RIP2OSPF permitting 192.168.1.0/24 and 10.10.1.0/24 (index 10 and 20).
Create route-policy RIP2OSPF permit node 10: if-match ip-prefix RIP2OSPF, apply cost 50.
In OSPF 1 on R2, import RIP through the policy: import-route rip 1 route-policy RIP2OSPF.
R3 has O_ASE routes to 192.168.1.0/24 and 10.10.1.0/24 with cost 50, and none to 10.10.2.0/24.
Import OSPF into RIP on R2 (import-route ospf 1) and ping PC3 from PC1.
Rate this lab
No ratings yet.
Sign in to rate this lab and keep track of the labs you finish.
Before you start
A route-policy is read node by node; a route that matches no permit node is denied, so 10.10.2.0/24 is filtered without a deny node. apply cost sets the external metric. Without a route-policy, import-route imports every RIP route.
Concept
Filtering route import with a route-policy
import-route copies every route of another protocol by default. A route-policy attached to it decides route by route what is imported and can change its attributes, such as the OSPF cost.
Concept
Redistribution between routing protocols
Each routing protocol keeps its own routes. A router that runs two of them can copy (redistribute, or on Huawei import) routes from one into the other, so both domains reach each other.