Static IP not showing?
-
Hi,
So im not sure what im doing wrong or if its different from DDWRT when it comes to static IP. But I read
http://doc.pfsense.org/index.php/Category:DHCPand went to DHCP Server and scroll down to DHCP Static Mappings for this interface. But every time i tried to add a static ip it says cannot be added within the pool. So then I created another pool named it allow (pass though squidGuard Filter) and keep saying cannot be added within the pool. See picture below. Then i went to DHCP Leases and it says static but the IP is blank. No clue why. If someone could help me understand what am i doing wrong or differently.
Thank you
-
Yeah, you cannot add reservations inside the pool. Now, you can create another 20 useless pools, or read the damned notes in the GUI. Sigh…
-
but how come in DHCP Leases shows static but no IP?
-
but how come in DHCP Leases shows static but no IP?
Because at some point you have entered that MAC address without an ip address and that MAC have so far not requested a address via DHCP.
That it is accepted to add a static mapping without an ip address may seem odd at first. The reason is because the static list doubles as the way to make your clients "known" to the DHCP server, if you want to use the DHCP server option "Deny unknown clients".
When you enter a MAC in the static list without an ip address, it will still use dynamic ip addresses but will be "known" by the DHCP server.
-
Because at some point you have entered that MAC address without an ip address and that MAC have so far not requested a address via DHCP.
That it is accepted to add a static mapping without an ip address may seem odd at first. The reason is because the static list doubles as the way to make your clients "known" to the DHCP server, if you want to use the DHCP server option "Deny unknown clients".
When you enter a MAC in the static list without an ip address, it will still use dynamic ip addresses but will be "known" by the DHCP server.
Thank you P3R So from what your saying lets say i get a dynamic IP 192.168.3.107 then I make it static though MAC now it shows no IP but the lease type is static. So does that mean 192.168.3.107 is now reserved for that MAC address?
Thank you
EDIT:
lolz i just realized had a moment…i just changed the DHCP range from 192.168.3.20-192.168.3.253 so then i added the static ip 192.168.3.3 for my device ;D
-
…i just changed the DHCP range from 192.168.3.20-192.168.3.253 so then i added the static ip 192.168.3.3 for my device
Yes that is what Doktornotor (and the descriptive information in the gui) was trying to tell you all the time. Any statically assigned ip address must be selected outside of the dynamic address pool. Now that you changed your DHCP pool to 192.168.3.20-192.168.3.253, you have the addresses 192.168.3.1-192.168.3.19 (and 192.168.3.254) available to use as static addresses.
It's great that you finally cracked the code! ;)