Community discussions

MikroTik App
 
Mike33
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Tue Jun 25, 2013 2:13 am

Ping does not work through the routing-mark

Wed May 05, 2021 3:18 am

Please tell me why this does not work?
/ip route add \
	dst-address=0.0.0.0/0  gateway=provider2-segment-inet  type=unicast   distance=1    routing-mark=provider2  comment=provider2  disabled=no
/ip route add \
	dst-address=0.0.0.0/0                                  type=prohibit  distance=254  routing-mark=provider2  comment=provider2  disabled=no
/ip route rule add \
	routing-mark=provider2  action=lookup-only-in-table  table=provider2

/ping 8.8.8.8 routing-table=provider2
  SEQ HOST                                     SIZE TTL TIME  STATUS                                                                                                             
    0 8.8.8.8                                                 timeout                                                                                                            
    1 8.8.8.8                                                 timeout                                                                                                            
    2 8.8.8.8                                                 timeout                                                                                                            
    sent=3 received=0 packet-loss=100% 

Who is online

Users browsing this forum: karlisi, kivimart, Omerik, peterda, tangent and 104 guests