Hi!
We have 4 subnets in 1 network IPv4
192.168.1.0/26
In each subnet we have one or more static addresses.
How I can add dhcp-exception?
Example:
192.168.1.0/26
ip pool add name=Pool_First ranges=192.168.2.2-192.168.2.62
ip pool add name=Pool_Second ranges=192.168.2.66-192.168.2.126
ip pool add name=Pool_Third ranges=192.168.2.130-192.168.2.190
ip pool add name=Pool_Fourth ranges=192.168.2.194-192.168.2.254
needed exceptions:
1st pool 10,15,30,
2nd pool 70,100,101,
3rd pool 140,115,120,
4th pool 200,205,207
for example: ip pool add name=Pool_First ranges=192.168.2.2-192.168.2.9,192.168.2.11-192.168.2.14,192.168.2.16-192.168.2.29,192.168.2.31-192.168.2.62
You could add static DHCP leases for the needed clients, e.g.:
/ip dhcp-server lease
add address=192.168.2.10 client-id=1:0:22:69:17:9:2d mac-address=00:22:69:17:09:2D server=LAN-DHCP
The easiest way is to allow one dynamic allocation and make that entry static in winbox (there’s a button for this on top of the dhcp lease list), so you get the mac and the client id.
You can change the IP afterwards.
docmarius
I think about leases if thare are no other choices.
I know it, but I can’t connecting to mikrotik after launch mikrotik
You not have read my post???