IP Routes with "DS" Flags?

I have seen on a couple of exports / route screenshots where the route have a flag of “DS” or “DAS”.

I am a bit confused with this, these flags mean the following:
D = Dynamic
S = Static
A = Active

How can a route be both “Dynamic” and “Static” at the same time?

Maybe you mean “DAC”?

Nope, he doesn’t:

[me@lab] > ip route print
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 ADS  0.0.0.0/0                          192.168.5.1               1
...
 
[me@lab] > ip route export
# mar/11/2018 22:24:48 by RouterOS 6.41.1
# software id = ZQ0V-AHNY
#
# model = RouterBOARD 952Ui-5ac2nD
# serial number = 71AF078A9C92
/ip route
add distance=1 dst-address=10.202.254.0/23 gateway=192.168.5.1 pref-src=10.202.192.1
add distance=1 dst-address=10.203.203.0/25 gateway=192.168.5.1 pref-src=10.203.203.129

[me@home] > ip dhcp-client print detail
Flags: X - disabled, I - invalid, D - dynamic
 0   ;;; defconf
     interface=ether1 add-default-route=yes default-route-distance=1 use-peer-dns=yes use-peer-ntp=yes
     dhcp-options=hostname,clientid status=bound address=192.168.5.173/24 gateway=192.168.5.1 dhcp-server=192.168.5.1
     primary-dns=192.168.5.1 expires-after=10h33m47s

Anyone knows the answer?

I believe it means that route was received not by user(dynamic) and it has some static routes(static). Sort of a pun :slight_smile:

AFAIR this only happens to routes received by a DHCP server, either the default route only or routes pushed in option 33 for addtional static routes - because they have been assigned dynamically but are static to the system until the lease is renewed.
Routes received by forwarding protocols (RIP, OSPF, BGP, etc) have the D flag only.

-Chris