07-05-2018 06:38 AM - edited 03-08-2019 03:34 PM
I think i have a really simple question. I want to advertise a network with OSPF, but the device that "owns" this subnet doesn't have an active interface in that subnet, and also no static. I want to use the specified subnet for NAT'ing. It's a public IP subnet so if i could save 1 IP for not having an active interface that would be great.
Is there a simple way to advertise a network through OSPF without having an active interface or static route for it?
Solved! Go to Solution.
07-06-2018 12:42 AM
07-05-2018 12:55 PM
Hope if i understand the question correctly,
What are you trying to achieve here, if simple advertise routes in to Area ?
what happens when the client try to access that subnet ? if there is no active device in that network ?
there no use.
BB
07-05-2018 02:50 PM
R1----inside -----R-NAT------outside----R2
R-NAT can advertise default route to R1
R2 can have static route to the network which R-NAT is using for NAT, and can redistribute this route to OSPF or something else.
07-05-2018 11:56 PM
Ok, let me clearify some things. Consider the following topology:
So R1 and R2 are running OSPF on the 10.0.0.x/24 subnet.
R1 uses R2 to get to the internet.
In the topology R1 is a router, but in my case this should be a Cisco ASA Firewall (so no loopback interfaces possible).
Now let's say i have the WAN subnet of 20.0.0.x/24. I want to use that subnet for NAT'ing on R1 (for example, i want to NAT PC1 to 20.0.0.1). I want to advertise this 20.0.0.x/24 subnet in OSPF so R2 knows about it, but because R1 doesn't have a interface or static route to 20.0.0.x/24, no advertisements are sent.
Since it's a ASA, i can't create a loopback interface. I could make a static route for the 20.0.0.x/24 subnet on R1, but since we're running router-on-a-stick (or just subinterfaces in case of a ASA) i have no idea where to point the static towards, since i want to be using the 20.0.0.x subnet for NAT'ing for different VLAN's (subinterfaces).
07-06-2018 12:34 AM
07-06-2018 12:40 AM
Yes, that was my alternative. I guess there is no way to advertise this properly in OSPF without having an active interface in the 20.0.0.x subnet on R1, right?
07-06-2018 12:42 AM
07-06-2018 02:31 AM
And i can still use the subnet pointing towards the null0 interface for NAT'ing? That would be great!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide