Code: Select all
/ip/route/add gateway=([:pick [/ip/address/print as-value where interface=pppoe-client] 0]->"network") comment="pppoe"
/ip/route/add gateway=([:pick [/ip/address/print as-value where interface=pppoe-client] 0]->"network") comment="pppoe"