cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1741
Views
0
Helpful
4
Replies

OSPF Redistribute Connected Subnets

fatalXerror
Level 5
Level 5

Hi Guys,

I am using an ASA and I configured a simple OSPF for its routing so that I can do load-balancing to my 2x routers upstream. Within the OSPF process, I configured redistribute connected subnets so that all connected subnets behind the ASA will be redistributed to OSPF and for the subnets to be able to go out from the network.

 

Now, I have a new segment that I need to configure. After I configured the new segment, I noticed that the router's routing table does not have the route back to the new segment. Technically, it should have because I configured redistribute connected subnets in the ASA via OSPF which means the ASA is not sending OSPF updates or I just missed out configuration?

 

Thank you the help.

4 Replies 4

johnlloyd_13
Level 9
Level 9

hi,

can you post the show run router ospf?

did you add the new network under ASA ospf process?

router ospf 1
network <NEW NETWORK SEGMENT> <SM> area 0

Hi @johnlloyd_13 ,

below is the snippet of the router ospf config;

router ospf 1
  network 10.200.1.0 255.255.255.248 area 0
  area 0
  log-adj-changes
  redistribute connected subnets

When I tried to add the network command for my new subnet, it works but it doesn't makes sense because it should work even if there is no network command for my new subnet because the redistribution for connected subnets is enabled in my OSPF process. Correct?

Thanks.

hi,

the network command identifies which interface will participate in the OSPF process.

you should include it as part of the basic OSPF config.

Hi @johnlloyd_13 , if that is the case, but why my other subnets behind my firewall were able to redistribute to OSPF without the network command for those subnets? My new subnet is the only subnet that I noticed that is not redistributing to OSPF even though I do not have any IP conflict. Thanks

Review Cisco Networking for a $25 gift card