Community discussions

 
terciopadilha
just joined
Topic Author
Posts: 2
Joined: Wed May 16, 2018 10:04 am

Problem with route remove

Fri Jul 20, 2018 7:29 pm

I have this route:
/ip route add dst-address=4.4.4.4 gateway=177.89.160.1 comment=FailOver
And i trying this and don't work.
/ip route remove [find dst-address=4.2.2.2]
You do not have the required permissions to view the files attached to this post.
 
User avatar
dasiu
Trainer
Trainer
Posts: 232
Joined: Fri Jan 30, 2009 11:41 am
Location: Reading, UK
Contact:

Re: Problem with route remove

Sat Jul 21, 2018 12:08 pm

I have this route:
/ip route add dst-address=4.4.4.4 gateway=177.89.160.1 comment=FailOver
And i trying this and don't work.
/ip route remove [find dst-address=4.2.2.2]
You know, that 4.4.4.4 is not the same as 4.2.2.2 - so there is no surprise :).
Still - use quotation marks, /ip route remove [find dst-address="4.2.2.2"]. Or even better:
/ip route remove [/ip route find dst-address="4.2.2.2"];
 
User avatar
ADahi
Member Candidate
Member Candidate
Posts: 217
Joined: Thu Sep 21, 2017 7:16 pm
Location: Iraq, Ninavah
Contact:

Re: Problem with route remove

Wed Jul 25, 2018 5:25 pm

yes dst-address should be in CIDR form
/ip route remove numbers=[find where dst-address="4.2.2.2/32"]

Who is online

Users browsing this forum: No registered users and 11 guests