Help setting up a router

Hello everyone.

I’ve a Tp-link W510G with Tp-link WR847N router, and my w510g is connected with mikrotik wirelessly.

My question is how to make my wr847n router give a different ip to each device connected to it in order to user their own mikrotik account.

Please help.