MIkrotik install

Hello. I have an old pfsense device. I want to connect Mikrotik RB2011 between pfsense and switch. But let it get the ip configuration from pfsense. All ips are registered to pfsense as a white list. How can I do this?