One of the interesting things about ASA’s is the fact that it supports running two OSPF Processes. This was a great decision by cisco, if a business has two different OSPF domains the chances are they are owned by two separate parts of the business, so where would be a better place to put a firewall?
I’ve put together a basic lab / config to test out the functionality, obviously this doesn’t address IP conflicts which are quite likely to happen in a real world scenario, but you do get the general idea. In my cisco config directory you’ll find two router configs and an ASA config. Each router is intended to represent each ospf domain, the ASA will then re-distribute the routes into each process… Note: you’ll see some “show” commands at the end of the config files.
I actually put this together as a “just in case” type thing, but I expect this to come in very handy in the future !