WAN Routing
1753454 Members
5895 Online
108794 Solutions
New Discussion

how to clear nat translations automatically when gateway to internet changes?

 
temuri426
Frequent Advisor

how to clear nat translations automatically when gateway to internet changes?

Hello ,

 

    In my configuration i need failover between two WAN links, i configured it using track feature in MSR 30 router, but i also need to clear NAT translations when internet gateway changes.

    it is can be done in cisco SLA config and clear nat using cisco event manager feature. i need something like this in MSR router

 

 Which feature should i use to do such configuration? or os there any other solution?

 

 

thanks

4 REPLIES 4
temuri426
Frequent Advisor

Re: how to clear nat translations automatically when gateway to internet changes?

ok, no one wants to answer :))

 

i've found out this command "nat link-down resset session"  it works very good, but only when wan failure occurs, i mean when wan link is physically down, but i need other solution mentioned above ... 

 

   there are many cases when next-hop is reachable, wan link is ok, but other hops couldn't be reached...  If i can automatic nat reset with track function it will be great..

 

 

 

SFHR
Frequent Advisor

Re: how to clear nat translations automatically when gateway to internet changes?

Hi,

 

Well I also don't know the exact command or answer but may be you should try some conditional tracking with the link-down command.

Rgrds

SF Hussain

Regards//
SF Hussain

Help others for better Tomorrow
__________________________________________________________
Please click the White Star Button should you like the Post for Points.,,
temuri426
Frequent Advisor

Re: how to clear nat translations automatically when gateway to internet changes?

hello, SF Hussain

 

link down works when wan interface goes to down state, this working good but what happens if wan interface is up but network provider has some problems in its premises? 

 

thanks

codythejack
Occasional Visitor

Re: how to clear nat translations automatically when gateway to internet changes?

Hello

I have exactly same problem. After change default gw using track functionality (see ha manual) nat sessions weren't cleared. Its obvious bug and can be simple examined using command display nat session. Translations have same GlobalAddr beside of change default gateway address.  What is really funny - timers are renewed also,but packets  go through different interface.

Simple command: reset nat session - solves problem. Unfortunately it cannot be connected to reaction from "track".

This means HA functionality with change routing preference is useless...

If You have service contract  - please open case . Its very simple to examine.

Cody