Friday, March 19, 2010

Cisco ASA Supports Two OSPF Processes

March 6, 2008 by Greg Ferro · 6 Comments 

Sometimes, think­ing too much stops you from check­ing the basics. I have often wished that the Cisco ASA sup­por­ted more than one rout­ing pro­cess like the Juniper Netscreen does (which does this bril­liantly). Why didn’t I look for this sooner ?-

The secur­ity appli­ance can run two pro­cesses of OSPF pro­tocol sim­ul­tan­eously, on dif­fer­ent sets of inter­faces. You might want to run two pro­cesses if you have inter­faces that use the same IP addresses (NAT allows these inter­faces to coex­ist, but OSPF does not allow over­lap­ping addresses). Or you might want to run one pro­cess on the inside, and another on the out­side, and redis­trib­ute a sub­set of routes between the two pro­cesses. Similarly, you might need to segreg­ate private addresses from pub­lic addresses.

You can redis­trib­ute routes into an OSPF rout­ing pro­cess from another OSPF rout­ing pro­cess, a RIP rout­ing pro­cess, or from static and con­nec­ted routes con­figured on OSPF-​​enabled inter­faces.

This is a kewl fea­ture and allows for some fancy rout­ing capabilities.

router ospf 1
 network 192.168.1.0 255.255.255.0 area 0
 area 0 authentication message-digest
 log-adj-changes
 redistribute ospf 2 metric 100 subnets
!
router ospf 2
 network 192.168.2.0 255.255.255.0 area 0
 area 0 authentication message-digest
 log-adj-changes
 redistribute ospf 1 metric 100 subnets

A related art­icle Why Two Routing Processes as reques­ted by Christian in the comments.

Please rate this post:

  Why Rate Posts?
1 Star - It\\\'s Crud2 Stars - It\\\'s Tosh3 Stars - Something\\\'s missing4 Stars - Needs works5 Stars - Good Enough6 Stars - Good7 Stars - Excellent8 Stars - Brilliant9 Stars - Astonishing10 Stars - Awesomely Godlike? (1 votes, average: 9.00 out of 10)
Loading ... Loading ...

Comments

6 Responses to “Cisco ASA Supports Two OSPF Processes”
  1. Andrew says:

    Multiple OSPF PID’s were avail­able even on the PIX 6.3 code

  2. Christian says:

    i’ve always wondered how many people are actu­ally using rout­ing pro­to­cols on firewalls..

    i was never really fond of the idea, dont know why, but then again im an SP guy, so fire­walls are fire­walls , and routers are for rout­ing traffic

    i’d def­in­itely love to read of some scenarios/​architectures where one would want to run ospf on an asa

    c

  3. Greg Ferro says:

    Andrew — I have been work­ing on PIX since V3 (i.e. dir­ectly after Cisco acquired the com­pany) and some­how just wasn’t expect­ing it. Sometimes you get to a point where you stop read­ing the release notes.

    Mental note to self — must spend more time look­ing at release notes

    –sigh–

  4. Greg Ferro says:

    Christian — thanks for your post, I have some ideas for an art­icle and I will make a post in the next few weeks.

  5. Hello

    Typical scen­arii where OSPF can be use­ful: ASA on headend con­figured as an IPSEC ter­min­a­tion, hub and spoke with ASA and ISR,…

Trackbacks

Check out what others are saying about this post...
  1. […] a recent post on Two OSPF Processes on an ASA fire­wall Christian asked why you would want to do this. Here is one case of a design that needs secure […]



Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!