We implemented OSPF across a Sprint MPLS network. One of the sites we recently acquired has overlapping addresses so we have a static nat command mapping their internal subnet to another subnet. I need this NATTED address to be distributed via OSPF.
I have the following
ip address 192.168.1.250 255.255.255.0
ip nat inside
ip address 172.20.174.198 255.255.255.252
ip nat outside
service-module t1 timeslots 1-4
router ospf 1
redistribute static subnets
network 172.20.174.196 0.0.0.3 area 0
network 192.168.41.0 0.0.0.255 area 0
ip route 0.0.0.0 0.0.0.0 192.168.1.1
ip route 192.168.41.0 255.255.255.0 Null0
ip route 192.168.200.0 255.255.255.0 192.168.1.1
ip nat inside source static network 192.168.1.0 192.168.41.0 /24
For some reason 192.168.41.0 isn't being distributed.
As a test I tried this
ip address 192.168.41.1 255.255.255.0
and this actually worked.
Why doesn't it work without it?
I have redistribute statis set under OSPF and I have a static route to 192.168.41.0 pointing to Null0.