Dynamic VLAN with freeradius in Mikrotik

Hello,

Can anyone suggest me good reference and configuration how to implement dynamic VLAN integrating with Freeradius in Mirkotik router.

For example,

I have set up Freeradius in my network and Mikrotik router is already put radius client. And there will be two networks for Wireless.

Net A = 192.168.111.0/24 (VLAN 111)
Net B = 192.168.222.0/24 (VLAN 222)

I want to assign the IP range for each VLAN based on user authentication when they connect to the Wireless SSID.