03-20-2024 04:21 AM
Hello
I have topology like below with details :
Now i want to ask if i have problem on INT2 i want to change the routing on CORE-2 so traffic from 10.38.0.0/16 to 10.200.0.0/16 will be routed to R2 -R1 - C1 - FW1 - Azure.
Beside that i also want to make an NAT on CORE-1 with this conditions:
So is my requirements is possible?
03-20-2024 04:53 AM
It is likely possible to achieve what you are describing depending on your devices. I am however not sure that i see what you wish to achieve by implementing the NAT rules on CORE1. In general it is not recommended to do such operations on core devices. Can you describe a bit more about your usecase?
03-20-2024 05:10 AM
Hello,
I just want to make failover to azure if ISP2 is down. On azure side there will be 2 Local Network Gateway (LNG).
LNG-1 contain subnet 10.7.0.0/16 for connection from Azure to LAN-1, then 2nd LND contain subnet 10.38.0.0/16 for connection from Azure to LAN-2. With this situation when ISP2 down, and I reroute traffic from 10.38.0.0/16 to Azure via Core 1, this will make the connection in one way connection since LNG-1 on azure not contain 10.38.0.0/16.
So what on my mind is change the source IP for 10.38.0.0/16 to subnet on LAN-1 (10.7.0.0/16) so connection can be work in two way.
03-20-2024 05:31 AM - edited 03-20-2024 05:32 AM
Okay, that makes sense. You need to solve this in two parts: route withdrawal on FW2 and NAT on CORE1.
1. How you should withdraw the route from FW2 will depend on your specific firewall and routing protocol.
2. You can make a conditional NAT statement that achieves what you request as such:
access-list 101 permit ip host 10.38.0.0 0.0.255.255 10.200.0.0 0.0.255.255
route-map POLICY-NAT permit 10
match ip address 101
ip nat pool POLICY-NAT-POOL 10.7.100.100 10.7.100.100 prefix-length 24
ip nat inside source route-map POLICY-NAT pool POLICY-NAT-POOL overload
I think it might be a better solution to convert to a routed S2S VPN using BGP against your Azure VPN gateways. It is a bit more work, but it is less complex and I believe will give you a better and more maintainable result.
03-20-2024 05:47 AM
I should apply on Core-1 which connected to R1, right?
03-20-2024 06:14 AM
Yes, that is correct.
03-20-2024 08:58 AM
the route toward R1 must have high AD than route toward FW1
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