Community discussions

MikroTik App
 
bggazownianet
just joined
Topic Author
Posts: 1
Joined: Fri Sep 17, 2021 12:05 pm

src address

Sat Oct 09, 2021 6:35 pm

Hello,
I have a problem.
From the router OS terminal, I am not able to ping any host until I add src-address to the command.
it behaves as below:



[bog@mt2] > ping 1.1.1.1
SEQ HOST SIZE TTL TIME STATUS
0 1.1.1.1 timeout
1 1.1.1.1 timeout
2 1.1.1.1 timeout
3 1.1.1.1 timeout
sent=4 received=0 packet-loss=100%

[bog@mt2] > ping 1.1.1.1 src-address=192.168.101.1
SEQ HOST SIZE TTL TIME STATUS
0 1.1.1.1 56 58 9ms
1 1.1.1.1 56 58 8ms
2 1.1.1.1 56 58 8ms
3 1.1.1.1 56 58 8ms
4 1.1.1.1 56 58 8ms
5 1.1.1.1 56 58 8ms
sent=6 received=6 packet-loss=0% min-rtt=8ms avg-rtt=8ms max-rtt=9ms



Similarly, problem with reaching hosts by name:




One more observation:

[bog@mt2] > tool traceroute 1.1.1.1
# ADDRESS LOSS SENT LAST AVG BEST WORST STD-DEV STATUS
1 100% 1 timeout
2 100% 1 timeout
3 100% 1 timeout
4 100% 1 timeout
5 0% 1 0ms

[bog@mt2] > tool traceroute 1.1.1.1 src-address=192.168.101.1
# ADDRESS LOSS SENT LAST AVG BEST WORST STD-DEV STATUS
1 213.5.248.2 0% 7 0.2ms 0.3 0.2 0.3 0
2 213.5.248.1 0% 7 0.3ms 0.3 0.3 0.4 0
3 213.5.248.134 0% 7 0.3ms 0.3 0.3 0.5 0.1
4 213.5.249.249 0% 7 0.5ms 0.6 0.5 0.7 0.1
5 87.245.245.50 0% 7 1.9ms 2.1 1.9 2.2 0.1
6 87.245.232.2 0% 7 9.3ms 9.6 9.2 10.5 0.4
7 193.203.0.195 0% 7 15.9ms 12.1 9.2 18.7 3.4
8 1.1.1.1

why mikrotik does not know what source address to present when going out and the world?
client traffic from LAN routing correctly.

Regards
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 723
Joined: Tue Dec 17, 2019 1:08 pm

Re: src address

Sat Oct 23, 2021 5:41 am

Routing problem...

Can you please post the config of the Mikrotik device
/export hide-sensitive file=anynameyouwish
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: src address

Sat Oct 23, 2021 8:14 am

also tracert is required.
/tool traceroute address=1.1.1.1
and with src-address.
I'm assuming that this router is behind NAT

Who is online

Users browsing this forum: No registered users and 82 guests