D
D
dick19972016-09-24 23:19:39
Cisco
dick1997, 2016-09-24 23:19:39

How to change network address translation on cisco when changing provider?


Good afternoon, there are two providers, one of them has a pool of 2 addresses (10.10.10.102-103), the second has 1-n (11.11.11.2), an address is allocated for one of the servers and a pool is configured for this ip nat address Pool ISP103 10.10.10.103 10.10.103 Netmask 255.255.255.248
IP NAT POOL ISP1 10 10.10.102 10 10.10.102 NetMask 255.255.255.248
IP NAT POOL ISP2 11.11.11.2 11.11.11.2 Netmask 255.255.255.248 Made
list for this server and general
IP Access list extended Server_ISP1
permit ip host 192.168.0.6 any
ip access-list extended Server_ISP2
permit ip host 192.168.0.6 any
ip access-list extended NAT
deny ip host 192.168.0.6 any
permit ip 192.168.0.0 0.0.255.255 any
route map configured
route-map ISP2_NAT permit 10
match ip address NAT
match interface GigabitEthernet0/0/0
!
route-map ISP1_NAT permit 10
match ip address NAT
match interface GigabitEthernet0/0
and NAT configured
ip nat inside source list Server_ISP1 pool ISP103
ip nat inside source list Server_ISP2 pool ISP2
ip nat inside source route-map ISP1_NAT pool ISP1 overload
ip nat inside source route -map ISP2_NAT pool ISP2 overload
configured routes, with checking the main provider
ip route 0.0.0.0 0.0.0.0 10.10.10.101 track 1
ip route 0.0.0.0 0.0.0.0 11.11.11.1 10
configured to clear the translation when track 1 is triggered
event manager applet ISP_Clear_session
event track 1 state any
action 001 cli command "enable"
action 002 cli command "clear ip nat trans force
" list Server_ISP1 pool ISP103" is saved and the Internet does not appear on that Server, if you remove this rule "no ip nat inside source list Server_ISP1 pool ISP103" the Internet appears from the second provider, but before deleting the rule, a warning appears "Dynamic mapping in use, do you want to delete all entries? (Cannot delete because dynamic allocation is busy (in use))". how can I fix this and make the server work normally by changing providers in case of problems with one of them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saenara, 2016-09-26
@dick1997

Remove completely and forever
ip nat inside source list Server_ISP1 pool ISP103
ip nat inside source list Server_ISP2 pool ISP2 Use ip nat inside source route-map
to translate the special address 192.168.0.6 too ... and you will be happy :-) event manager applet too take away.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question