Preventing any Static IP allocation on DHCP Router
Posted: Tue Nov 29, 2011 11:21 am
Hi Forum,
I have RB433 (for test) with MikroTik 5.8 on it. It works as DHCP server. It is allocating IPs from this pool:Now I want to force the users to get their IPs from the DHCP server and do not allow any static allocation...
I've configured my DHCP server to add ARP for leases but it didn't work:At any time I can convert any lease to static so its MAC address in the ARP table will be bound with the IP and change its IP to something lies in another pool "Static_Pool":
With this way, I can control the bandwidth of both pools for example set higher priority to the IPs that are lying in the Static Pool.
Any Suggestions to have the above scenario works normally? I believe that in MikroTik world there is nothing called "Impossible"
Thanks in advance...
Ammar
I have RB433 (for test) with MikroTik 5.8 on it. It works as DHCP server. It is allocating IPs from this pool:
Code: Select all
[admin@DHCP] > ip pool print detail
0 name="dhcp_pool1" ranges=10.10.10.20-10.10.10.100
I've configured my DHCP server to add ARP for leases but it didn't work:
Code: Select all
[admin@DHCP] > ip dhcp-server print detail
Flags: X - disabled, I - invalid
0 name="dhcp1" interface=ether3 - Local DHCP lease-time=3d
address-pool=dhcp_pool1 bootp-support=static add-arp=yes
authoritative=after-2sec-delay
Code: Select all
[admin@DHCP] > ip pool print detail where name="Static_Pool"
1 name="Static_Pool" ranges=10.10.10.101-10.10.10.250
Any Suggestions to have the above scenario works normally? I believe that in MikroTik world there is nothing called "Impossible"
Thanks in advance...
Ammar