Hello guys,
I’ve a RB450G with 1 cable 8/1mbps connection. I want to have three kind of users 512Kbps, 1mbps and 2mbps.
My idea is to use ip range 192.168.50.x - 512k users, 192.168.60.x - 1mbps users, and 192.168.70.1 - 2mbps users.
I am going to create 3 DHCP servers, each one with the described pool, now I want to automatically associate one specific user to a predefined DHCP server based on their MAC address. It is possible? I was reading the wiki, but I only found topics related to RADIUS.
Hello,
I was reading the manual in leases, thank you.
Now I have another problem, I can’t create more than one DHCP server associated to one port (in my case bridge).
My idea is to connect the RB450g to my ubiquiti bullet m2hp using one cable, and that different types of users connect to the same AP.
How can I create 3 dhcp server associated to one port, and then assign the IP based on the MAC (according to MAC address this user will be assigned to 512k users or 1mbps or 2mbps).
You can only have one DHCP server per network on the same router. I don’t understand why you think you need several. There’s many ways you can use just one in a way to identify the user for bandwidth requirements. Make it a /22 private space and assign users that are to get 128/256kbps addresses within the first /24, and users that are to get 256/512kbps addresses within the second /24 and then mangle packets based on source address. Or, with recent versions, assign the users to an address list in the hard set lease, and mangle based on src-address-list. That’s probably the cleanest solution.