Dynamic and static leases present for FOO.X. Remove host declaration s_lan_0 or remove FOO.X from the dynamic address pool for FOO.0/24
This would be easier if you post a screenshot of your DHCP config screen(s).Here is what I think you're saying.You have a 192.168.0.0/24 ip range which is configured to hand out IPs 192.168.0.42 to 192.168.0.200.You wish to statically assign network hardare to IPs 192.168.0.2 to 192.168.0.20.You wish to statically assign some clients to IPs 192.168.1.21 to 192.168.1.41.I'm unclear on is if you're trying to set up 192.168.1.0 IPs in a 192.168.0.0/24 range or if that's a typo. DHCP can only assign IPs based on it's available range. /24 won't give you 192.168.0.0 and 192.168.1.0.
Yes, you are correct on what i am trying to do. It is this.You have a 192.168.0.0/24 ip range which is configured to hand out IPs 192.168.0.42 to 192.168.0.200.You wish to statically assign network hardare to IPs 192.168.0.2 to 192.168.0.20.You wish to statically assign some clients to IPs 192.168.1.21 to 192.168.1.41.Apparently I do have the typo somehwere.
you need to use the static mapping if you want to be lazy in your Services > DHCPv4 > LAN go all the way down to the bottom and add Static DHCP Mapping. This uses the device MAC address. Write down all the MAC address of all the devices individually and add them here.-ADD MAC-ADD IP-ADD HOSTNAME-ADD DNS-ADD GATEWAYyou need to do this for every device.
Quote from: ks98330q on May 16, 2023, 03:02:07 amYes, you are correct on what i am trying to do. It is this.You have a 192.168.0.0/24 ip range which is configured to hand out IPs 192.168.0.42 to 192.168.0.200.You wish to statically assign network hardare to IPs 192.168.0.2 to 192.168.0.20.You wish to statically assign some clients to IPs 192.168.1.21 to 192.168.1.41.I wish to assign some to 192.168.0.21-.41Apparently I do have the typo somehwere.I'm still confused. Are you trying to assign static 192.168.1.x ips to a 192.168.0.x pool or not?Quote from: lilsense on May 16, 2023, 03:15:32 amyou need to use the static mapping if you want to be lazy in your Services > DHCPv4 > LAN go all the way down to the bottom and add Static DHCP Mapping. This uses the device MAC address. Write down all the MAC address of all the devices individually and add them here.-ADD MAC-ADD IP-ADD HOSTNAME-ADD DNS-ADD GATEWAYyou need to do this for every device.That's what they're doing. But AFAICT it's not working because they're trying to assign static ips outside of the subnet range.Yes. this i know. It is very basic networking.... Im not trying to assign out of the subnet.But alas, my autistic brain tends to thinks a little differently...Please. See in the original post, the complaint DHCP is sending about static, and dynamically configured lease. This is the genesis of my thread..My brain = aaargh!!
Yes, you are correct on what i am trying to do. It is this.You have a 192.168.0.0/24 ip range which is configured to hand out IPs 192.168.0.42 to 192.168.0.200.You wish to statically assign network hardare to IPs 192.168.0.2 to 192.168.0.20.You wish to statically assign some clients to IPs 192.168.1.21 to 192.168.1.41.I wish to assign some to 192.168.0.21-.41Apparently I do have the typo somehwere.
Ugh! Yes the typo comes again.....Let me fix it now...I did also edit the original post so please re-read. Sorry for all this....
I thought I understood setup and question but I'm not sure now.You have a scope of 1 to 254 (minus the usual like interface ip) based on netmask. This you have correct.You set your DHCP dynamic range 42 to 200. This you have OK.For the reservations for your clients, you set them as you see fit obviously. You got this ok.As long as you have clients reserved out of 42 to 200 you're OK.If removing clients from outside 42 to 200 if what gives you trouble, save after deleting each one. It might still be in the lease so might need to delete from lease list.Post screenshots otherwise please.
Quote from: cookiemonster on May 17, 2023, 03:00:00 pmI thought I understood setup and question but I'm not sure now.You have a scope of 1 to 254 (minus the usual like interface ip) based on netmask. This you have correct.You set your DHCP dynamic range 42 to 200. This you have OK.For the reservations for your clients, you set them as you see fit obviously. You got this ok.As long as you have clients reserved out of 42 to 200 you're OK.If removing clients from outside 42 to 200 if what gives you trouble, save after deleting each one. It might still be in the lease so might need to delete from lease list.Post screenshots otherwise please.You don't need to delete dynamic leases when you create a static one. The dynamic lease will eventually expire and be replaced with the static one.
maybe that is 22.3. I'm on 22.7 still and last time I was setting reservations, I had this behaviour. So maybe it has changed, or the way I was doing it.
Yes you do need to delete this and for as long as the device is on the network and has a DHCP IP address, it will continue with this address unless you disconnect and delete the MAC from the DHCP pool. At this point the DHCP reservations will take place.