Don’t Split That OSPF Area

Analysis
Apr 7, 20083 mins

A couple weeks ago I wrote a blog about how I can fix anything with a tunnel. In that blog I described a situation where using a campus LAN physical box design, instead of a triangle design, can lead to black hold routing because of OSPF summarization. The other day I received the following e-mail:

—– Original Message —- From: Dave [dave@somewhere.com] To: mjmorris@yahoo.com Sent: Thursday, April 3, 2008 11:00:16 PM Subject: tunnel article Morris, that was a very intersting article about tunnels. How you please go into a bit of detail on how a box design can cause that black hole situation you mentioned in OSPF. Always trying to learn. Regards Dave

So, I thought I’d expand on this topic a little. The rule can be summarized as “don’t split your OSPF Area”. Let’s say you have the following setup. Two core routers (CR) serving as OSPF ABRs. Area 51 is where the access switches (AS) are located. The physical connectivity is a box design, not a triangle design, because ports are expensive (let’s assume they are 10 GIG). OSPF is configured to the access layer routers (switches) where the hosts are connected. The address range in Area 51 is 10.128.0.0/16 and Area 0 is 10.0.0.0/16. The CRs are configured to send and OSPF summary route (Type-3 LSA) of 10.128.0.0/16 into Area 0:

Photobucket
This works fine. Both ABRs have more specific routes to the access routers. So when packets arrive at either ABR from Area 0 following the summary 10.128.0.0/16 route, the CRs know where to send the packets to. But, now assume there’s an outage of one of the uplinks:
Photobucket
CR01, one of the ABRs, is still sending the summary 10.128.0.0/16 route into Area 0. So, packets from Area 0 ultimately destined to host 10.128.1.51 are still sent to CR01. But CR01 no longer has a more specific route to the user subnet on AS01 and AS02 – 10.128.1.0/24 – since the uplink is down. So, the packets are sent to Null0 and die on CR01. Area 51 is now split and you have a black hole. 50% of packets destined for the 10.128.1.0/24 subnet will be lost. This is exactly why good network design recommends triangles, so problems like these do not arrive. With another uplink to CR01 from AS02 forming a triangle, CR01 would still have a more specific route to 10.128.1.0/24, avoiding the black hole. This problem is not just a campus LAN problem. I’ve seen it in WANs too, with dual circuits from a remote router to two ABRs. The ABRs are not linked inside the area and a circuit goes down splitting the area. We used to fix this all the time……with a tunnel. This rule also applies to other routing protocols where summarization is configured. It something that many engineers miss when designing routing protocols.

More >From the Field blog entries:

What Goes Into a Written Network Architecture?

I Can Fix Anything With a Tunnel

A Day in the Life….

No Love For Central Office Techs

How to Establish an Architecture Revision Process

Do You Have an Architecture Review Board?

  Go to Cisco Subnet for more Cisco news, blogs, discussion forums, security alerts, book giveaways, and more.