I don't know what an MT question is, can you elaborate?
A question related to Mikrotik.
Which it is
But I am trying to have the Mikrotik be the DHCP server and hand out IPs on a per VLAN basis - but in Mikrotik, the DHCP server needs an interface to operate on. It works if I assign a DHCP server to the VLAN, but I can't assign the DHCP server to multiple VLANs.
If you define your VLANs properly, they are all separate interfaces.
On the same device, within the DHCP Server part, it is perfectly possible to define multiple DHP servers with their own pool and each assigned to the required VLAN interface.
[xyz@MTHex] /ip/dhcp-server> print
Columns: NAME, INTERFACE, ADDRESS-POOL, LEASE-TIME
# NAME INTERFACE ADDRESS-POOL LEASE-TIME
0 VLAN2 VLAN2 VLAN2 1d
1 VLAN10 VLAN10 VLAN10 12h
2 VLAN99 VLAN99 VLAN99 1d
3 VLAN20 VLAN20 VLAN20 12h
4 VLAN30 VLAN30 VLAN30 12h
[xyz@MTHex] /ip/dhcp-server>
[xyz@MTHex] /ip/pool> print
Columns: NAME, RANGES
# NAME RANGES
0 VLAN2 192.168.2.100-192.168.2.254
1 VLAN99 192.168.99.10-192.168.99.19
2 VLAN20 192.168.20.100-192.168.20.199
3 VLAN10 192.168.10.100-192.168.10.199
4 VLAN30 192.168.30.100-192.168.30.199
[xyz@MTHex] /ip/pool>
It is also possible (I think, I'm not even going to try. k6ccc seems to have tested it a bit) to use the same pool for different DHCP servers but I can't understand why you may want to do that.
So what you certainly need to do, is define a server per VLAN.
What you next need to do is determine for yourself if you want to use a separate pool per VLAN, or a common pool (which I personally think is to be avoided but it seems to be possible).
But as others already have pointed out: WHY do you want to put everything in one common pool ? For what purpose ?
Because in the first post and then another one you are contradicting yourself.
First you say one common pool, then you say on a per VLAN basis.
Two different things.
@felixka:
nice link to XY problem. Never saw it being explained like that but very appropriate !