Community discussions

MikroTik App
 
xr1s
just joined
Topic Author
Posts: 10
Joined: Wed May 12, 2021 7:50 pm

DHCP assign static outside pool

Tue May 17, 2022 9:53 pm

Hi!

Can't find related info and my brain hasn't untangled the logic, but wondering if I can assign static leases/ips outside the dhcp server pool? (all inside same subnet)

ie, have x.x.x.200-x.x.x.250 /24 main pool. Want to set aside some devices to use x.x.x.180-x.x.x.199.

1- can I just set those static assignments with the addresses I want?
2- would I have to create a pool for those?

Would test, but I am remote in atm, don't wan to break anything.

Thanks!

EDIT: mod addresses.
Last edited by xr1s on Tue May 17, 2022 10:18 pm, edited 2 times in total.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: DHCP assign static outside pool

Tue May 17, 2022 9:57 pm

but wondering if I can assign static leases/ips outside the dhcp server pool?
But those IPs you specify are not outside the main DHCP pool...
You can assign static leases to those devices... Let the DHCP assign an address to them, and then make it static and assign the IP you wish... On the Lease renew, the static IP will be assigned to the device...
 
xr1s
just joined
Topic Author
Posts: 10
Joined: Wed May 12, 2021 7:50 pm

Re: DHCP assign static outside pool

Tue May 17, 2022 10:17 pm

My bad, sorry, got addresses mixed up.

So main pool is from .200 to .250, statics I want to assign are .180 to .199

Thansk!
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: DHCP assign static outside pool

Tue May 17, 2022 10:19 pm

Create static leases...
 
xr1s
just joined
Topic Author
Posts: 10
Joined: Wed May 12, 2021 7:50 pm

Re: DHCP assign static outside pool

Tue May 17, 2022 10:39 pm

Create static leases...
Thanks!
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 21893
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: DHCP assign static outside pool

Tue May 17, 2022 11:31 pm

Within the dhcp server leases in winbox, create the new lease + symbol, then add the ip address desired and mac address of the device manually, then SAVE it.
Then go back to the new lease on the list and you should see an OPTION to SET STATIC.

Who is online

Users browsing this forum: No registered users and 24 guests