# Netwatch duplicate ip route

**URL:** <https://forum.mikrotik.com/t/netwatch-duplicate-ip-route/183814>\
**Category:** General\
**Created:** [May 20, 2025, 12:11pm UTC](https://forum.mikrotik.com/t/netwatch-duplicate-ip-route/183814 "2025-05-20T12:11:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jaclaz](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/jaclaz/32/55652_2.png) [@jaclaz](https://forum.mikrotik.com/u/jaclaz)\
**Post date:** [May 21, 2025, 9:21am UTC](https://forum.mikrotik.com/t/netwatch-duplicate-ip-route/183814/4 "2025-05-21T09:21:03Z")

</div>

Yep, now what is happening is clear, how to change this behaviour is another thing.  
Pairing the routes in /ip route export with those in /ip route print (simplified) and matching them with the netwatch script lines (see the attached image) it seems to me clear that each time the down-script is run the interfaces are not _always_ disabled, and when the up-script is run _somehow_ the routes are re-added (creating the duplicates).  
BUT the results of the SAME netwatch line that changes (should change) the enabled status of 4 different routes is not always the same for all the 4, possibly because when the script is run some interfaces are duplicated more than the others.  
The two lines that “catch” only one route also seemingly behave differently, the VRF-Pro one seemingly works as intended, while the VRF-WiFI one creates the duplicates.  
At first sight I though that the issue was with the command catching multiple routes, but since also one the “single” ones behaves the same, it is _something_ else.  
I would suspect that the disable action doesn’t take effect immediately because of _whatever_ (established connections?) and when the down-script/up-script are run in a too short time interval the duplications are created, but this is only a guess, not that I know or understand what is actually happening.

Are you using src-nat or masquerade in /ip firewall nat?

The first usually needs to have the connection tables cleared, whilst the latter should do everything automatically, see the (seemingly unrelated) discussion starting here:  
[http://forum.mikrotik.com/t/simpler-failover-for-two-gateways-i-found-working/169108/1](http://forum.mikrotik.com/t/simpler-failover-for-two-gateways-i-found-working/169108/1)  
 ![enale_disable_routes.jpg](https://data-discourse.cdn.mikrotik.com/original/3X/3/c/3cf5d4a51a00f63f5b16cae3f74827d550732a0b.jpeg)

---

_[View the full topic](https://forum.mikrotik.com/t/netwatch-duplicate-ip-route/183814)._
