10-14-2019 07:26 PM
Hi !
The datacenter I'm hosted at delivered me two subnets of public IP address on the same interface on my CISCO2911 router. The secondary subnet is mainly going to be used for NAT static translations. I'm struggling to get things to work with the secondary subnet. I guess I can't figure out how to tell the router "If traffic comes from subnet A, use default route A and if it comes from subnet B, use default route B"
Routing
Here's what I got so far :
interface GigabitEthernet0/1 ip address 24.24.24.210 255.255.255.248 secondary ip address 68.68.68.50 255.255.255.240 ip nat outside --Internal network interface GigabitEthernet0/2.1 encapsulation dot1Q 1 native ip address 10.99.99.1 255.255.255.0 ip nat inside ip virtual-reassembly in ip nat inside source route-map RMAP_NAT interface GigabitEthernet0/1 overload ip route 0.0.0.0 0.0.0.0 68.68.68.49 route-map RMAP_NAT permit 100 match ip address ACL_NAT ip access-list extended ACL_NAT permit ip 10.99.99.0 0.0.0.255 any
Any help would be appreciated.
Thank you
-M
10-16-2019 09:04 AM
I suggested the same @paul driver has rejected my idea because if you read the original question, the main twist is there in the last line.
10-16-2019 09:10 AM
Hello Deepak,
you suggested PBR. My suggestion is different, as the route map is applied to the static NAT entry...
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