Comments (4)
ok , it is working.
Just need to add rtable to param list in the params array.
Added at the end of the list like:
rtable => {
_doc => 'choose routing table',
},
Thanks.
from smokeping-opensshmikrotikrouterosping.
Hi leostereo,
Very interesting! Glad you isolated the issue and code solution, great work! Curious, the target host was not out the default route, obviously. The default route would, of course, be used if there was no known route (dynamic, static, OSPF, EIGRP, etc) in your Mtik routing table. Do you have two or more WAN facing upstream providers? Or some other unique IP structure for your use case? I had assumed that the target IP you had issue with was a public address and therefore would have been routed out your default 0.0.0.0/0 route. I have used IP->Routes->Rules to direct traffic based on packet marking. In my case it was having multiple upstream providers at different edge RTRs on the same physical network. So I wanted certain IP/IP Blocks to use a given US provider. This sounds like something that should be merged into the project. Do you want to create a pull request with which I will merge? Some additional documentation/explanation of the need to use will be helpful for others too.
~Tony
from smokeping-opensshmikrotikrouterosping.
Take a look at my routing situation:
[inet@R_BGP] > ip route print where dst-address=0.0.0.0/0
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b -
bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 11.32.65.29 20
1 S 0.0.0.0/0 11.80.25.1 18
2 S 0.0.0.0/0 12.17.50.1 19
As you can see I have 3 upsream providers.
Only one active and 2 backups defautl gateways.
I would like to monitor latency to same internet services for all of them, so , in order to force ping to go for desired default gateway you can use the "route-table" command if previusly created a mark for this route.
As you mentioned, you can craete a policy for every target but this would be very resource consuming for just a ping probe.
Regarding pull request.
sure, lets do.
from smokeping-opensshmikrotikrouterosping.
Makes perfect sense with the clarification if the multiple default gateways. Do you want to create the Pull Request? I'll verify it and Merge it. Otherwise I'll just incorporate the needed changes to allow for specifying a routing table.
Best!
~Tony
from smokeping-opensshmikrotikrouterosping.
Related Issues (10)
- Im getting empty response from specific hosts HOT 4
- Unexpected Packet Loss? HOT 4
- Typo in the readme HOT 2
- Reusing ssh connections HOT 8
- 1 ms ping accuracy HOT 1
- Feature Request - Ping Results to Multiple Nodes HOT 4
- Directory '/var/run/smokeping' does not exist HOT 2
- multiplex_ssh collides HOT 2
- OpenSSH Error HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smokeping-opensshmikrotikrouterosping.