Monday, June 15, 2009

Dual OSPF process in IOS

I try yo move some different VPN into different path for reduce link utilization reach 95% and packet lost. In my topology, I add lower links between POPs. For the IGP cost which will not have traffic on it. Another one is the next-hop is the same from the same PE. The IOS open a option for you, "bgp next-hop loopback" under vrf config mode. After I change the next-hop, I move to IGP question. In my idea I wanna try to add another IGP domain against the originate. The new lower link will in the new IGP domain and redistributing into the originate IGP. Both are using OSPF. This call "OSPF Redistribution Among Different OSPF Processes" Ref links:

OSPF Redistribution Among Different OSPF Processes
http://www.cisco.com/en/US/tech/tk365/technologies_white_paper09186a0080531fd2.shtml

Suboptimal Routing When Redistributing Between OSPF Processes
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00801069aa.shtml

For simple topology :

R1----Fe----R2

﹨___Seri___/

R1 access R2 via 2 type interface "FastEthernet and Serial" Both R1, R2 create 2 Loopback interface. Each interface inside one OSPF domain. And two Redistribution Points(both R1,R2)

The key point is here:

OSPF does not do any OSPF route selection between processes

(for instance, OSPF metrics and route types are not taken into account,

when deciding the route of which process should be installed into the routing table).

The OSPF route selection rule is that intra-area routes are preferred over inter-area routes,

which are preferred over external routes. However,

this rule should apply to routes learned via the same process. In other words,

there is no preference between external routes from one process compared to internal routes of other process.

The preference rule between a given OSPF process and any other process

After redistribution, R1 will see the Loopback interface from R2 via the ower OSPF PID. The way to fix it is "distance" under router config mode. When dual or multiple OSPF running in the same box it's like different protocol (OSPF vs EIGRP). You have to change the external AD in each IGP domain if redistribution between each other. Or the Suboptimal Routing will in your network.

No comments: