Community discussions

MikroTik App
 
karaYusuf
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Wed Oct 12, 2022 11:07 am

Pinging google with different interfaces

Fri Jan 27, 2023 3:38 pm

Hello guys,
I wanted to ping google via three interfaces to check the internet connection with this command line:
:ping 8.8.8.8 src-address=ether1IpAddress count=1 
:ping 8.8.8.8 src-address=lte1IpAddress count=1 
[:ping 8.8.8.8 src-address=wlan1IpAddress count=1 
My problem is that it does not work anymore if the interface with the smallest default-route-distance has the ping-status on "timeout". With this my conclusion is that every ping to google takes the route over the interface with the smallest default-route-distance. I wanted to know what I have to configure to ping google with the interfaces even if other interfaces are not working anymore.
Every interface here is listed in WAN.

Any help would be appreciated:)
 
User avatar
diamuxin
Member
Member
Posts: 319
Joined: Thu Sep 09, 2021 5:46 pm
Location: Alhambra's City

Re: Pinging google with different interfaces

Fri Jan 27, 2023 8:12 pm

Hi,

What you need is called recursive routing, which allows multiple routes to ping check even if the route distance is 2, 3, etc.

Here is some information:
https://help.mikrotik.com/docs/pages/vi ... d=26476608

BR.
Last edited by diamuxin on Fri Jan 27, 2023 8:15 pm, edited 1 time in total.
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2865
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Pinging google with different interfaces

Fri Jan 27, 2023 8:14 pm

Who is online

Users browsing this forum: No registered users and 21 guests