Check-gateway on DHCP and PPPoE

There’s no dynamic-in in v7, but another way how to achieve what you want is using lease script:

http://forum.mikrotik.com/t/routing-filters-fixes-request/154210/10