04-03-2020 05:59 AM
Hello
i have two subnet public ip's
first : 91.x.x.x/25
second : 185.x.x.x/24
i have now create
ip nat pool FirstPool x.x.x.131 x.x.x.x.250 prefix-length 25 ip nat inside source list 1 pool FirstPool overload
access-list 1 permit 172.0.0.0 0.255.255.255
access-list 1 permit 10.0.0.0 0.255.255.255
my first-pool is full
how to use second pool in same nat
04-03-2020 06:16 AM
Hi
you could do something like this ...
ip nat pool FirstPool x.x.x.131 x.x.x.x.250 prefix-length 25 ip nat inside source list 1 pool FirstPool overload access-list 1 permit 172.0.0.0 0.255.255.255 ip nat pool SecondPool 185.x.x.1 185.x.x.x.254 prefix-length 24 ip nat inside source list 2 pool SecondPool overload access-list 2 permit 10.0.0.0 0.255.255.255
04-03-2020 06:19 AM
or if you have 2 ISP links -
https://community.cisco.com/t5/routing/multiple-nat-pools/td-p/1432861
04-03-2020 07:35 AM
04-03-2020 08:47 AM
proposed solution should work then ..
04-03-2020 06:19 AM
Hi,
There are not too many options on IOS/IOS-XE. You could split the traffic to be NAT'ed between the pools:
access-list 1 permit 10.0.0.0 0.255.255.255
ip nat pool FIRST
ip nat inside source list 1 pool FIRST overload
!
access-list 2 permit 172.0.0.0 0.255.255.255
ip nat pool SECOND
ip nat inside source list 2 pool SECOND overload
Regards,
Cristian Matei.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: