Can you set both static ip's and use dhcp at the same time?
-
basically my topic is the question.
I'm wondering if i can set up some computers with static and some with dhcp….i'd like to have some computers have 4 or so static ip's but have all the rest use dhcp.
Is this possible?
-
Yes, just make sure you don't check use static arp entries on the dhcp page.
-
Sure, but I wouldn't overlap the DHCP range with the static addresses you use. It shouldn't be difficult to do an ARP ping before giving out a DHCP lease, but I've found lots of devices that don't (not sure if pfSense does or not, never tried), and this will eventually lead to IP conflicts.
-
yah, i figured this out on my own. my dhcp is set to 100-254 and my static space is lower.
next question:
i love how the static dhcp works as a dns as well inside my network.
for example: I have wonslung-desktop set up as a static dhcp and i can do ssh wonslung-desktop from my laptop instead of ssh 192.168.1.10
is there anyway to set these dns entries for the normal static ips? my server has 4 ip's right now, 192.168.1.14-18 and i'd like to set up dns entries for each one
since they are all on the same mac address (same interface) i can't use the static dhcp to do this. -
Yes, you can set this up in the DNS Forwarder configuration.