04-04-2016 11:55 AM - edited 03-05-2019 03:42 AM
Hello,
I am trying to setup two IP Blocks on my firewall. I had done two static routes both making them default aswell as the configuration here: https://gyazo.com/c9b79b758fddf76b88a37558a559823e As you can see the route is setup but the routes arent being established correctly both inbound and out. The NAT's are setup correctly here is a packet trace showing where i think the issue lies https://gyazo.com/4a5e58423614e503b2a6f19326efe77d as you can see under the route lookup its going to a gateway of .209 when the IP the NAT is set too is a .133 I don't what else to do I have tried many things thanks for your help!
Thanks,
Josh
04-04-2016 07:02 PM
If the two blocks are being routed to your ASA, and you only plan to NAT from them to hosts inside, you should not be adding any static routes related to them. You should just have a normal default route pointing to your next hop.
04-04-2016 07:06 PM
But they both have two different Gateways
04-04-2016 07:12 PM
So you have two different providers or two different circuits?
04-04-2016 07:27 PM
Our provider has both IP Blocks available on the one line
04-04-2016 07:33 PM
So how come there are two different default gateways then - one provider and one circuit?
04-04-2016 07:57 PM
I dont know I just know both of them have two different gateways.
> x.x.x.208 = Network
> x.x.86.209 = Router (Your GW)
> x.x.86.210 = VRRP Router 1
> x.x.86.211 = VRRP Router 2
^one Block
{} ['208.x.x.131/27']
> 208.x.x.128 = network
> 208.x.x.129 = gateway
> 208.x.x.130 = vrrp 1
> 208.x.x.131 = vrrp 2
04-04-2016 08:01 PM
This is going to make for quite a complicated configuration, as you have to use PBR (policy based routing) to make this work.
I'm not sure we can make this work using pure NAT either. You might have to put one of the blocks onto a separate interface, not using NAT.
Can you ask your provider if they can just give you one bigger block with just one default gateway? This will make the configuration much simpler for you.
04-04-2016 08:17 PM
Yes I can ask.
04-04-2016 08:18 PM
How would it work though if I can't.
04-05-2016 12:24 PM
You would define a default route pointing to the first default gateway for the first block, and then define a PBR for the second block to re-route traffic from the source of the second block to the second default gateway.
You need to be running very new software on the ASA to get this feature.
04-05-2016 12:26 PM
I have the latest software do you have a screen shot example on how it would be configured in the ASDM
04-05-2016 12:39 PM
I'm not sure in the ASDM. In the CLI something like:
access-list new_block extended permit ip 208.x.x.128 255.255.255.224 any
route-map new_block permit 10
match ip address new_block
set ip next-hop 208.x.x.129
interface <outside interface>
policy-route route-map new_block
04-05-2016 03:41 PM
With this would I need 2 outside interfaces like two separate lines going in because I don't want the original IP's to be effected.
04-05-2016 03:45 PM
No you would only need one outside interface.
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