• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Can you set both static ip's and use dhcp at the same time?

Scheduled Pinned Locked Moved General pfSense Questions
5 Posts 3 Posters 1.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    wonslung
    last edited by Jun 18, 2009, 1:49 AM

    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?

    1 Reply Last reply Reply Quote 0
    • B
      blak111
      last edited by Jun 18, 2009, 4:29 AM

      Yes, just make sure you don't check use static arp entries on the dhcp page.

      1 Reply Last reply Reply Quote 0
      • K
        ktims
        last edited by Jun 18, 2009, 5:23 AM

        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.

        1 Reply Last reply Reply Quote 0
        • W
          wonslung
          last edited by Jun 18, 2009, 8:26 PM

          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.

          1 Reply Last reply Reply Quote 0
          • K
            ktims
            last edited by Jun 18, 2009, 9:41 PM

            Yes, you can set this up in the DNS Forwarder configuration.

            1 Reply Last reply Reply Quote 0
            3 out of 5
            • First post
              3/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received