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

    Multiple scopes on 1 interface with seperate DNS??

    DHCP and DNS
    2
    2
    528
    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.
    • R
      rcampbell
      last edited by

      Can I have multiple DHCP scopes on the 1 interface address pool but with seperate DNS?

      Here is the scenario that I want:

      LAN1 Interface - 192.168.1.1

      -DHCP Scope1
      –Scope Range: 192.168.1.100 - 192.168.1.200
      --DNS Servers: 192.168.1.10
      --Gateway 192.168.1.1

      DHCP Scope2
      --Scope Range 192.168.1.201 - 192.168.2.254
      --DNS Servers: 8.8.8.8
      --Gateway 192.168.1.1

      I want to have an Alias called 'Scope2DHCP'.
      I want to have certain devices with DHCP reservations within the Scope2 range, with aliases defined for each host.  These host aliases will be members of the 'Scope2DHCP' alias.

      The DHCP Scope 2 will only apply to hosts within the 'Scope2DHCP' Alias.  All other non defined hosts will get their address from DHCP Scope 1.

      Is this possible?  Please give me your suggestions.

      1 Reply Last reply Reply Quote 0
      • B
        bennyc
        last edited by

        Yes, once you have installed Marcello's mod for multiple scopes, then you can provide true separation of dhcp scopes outside of the interface range. The dns server(s) are defined per scope (or default if you leave them empty)
        Can't remember if you can do this with standard config, sorry :-[

        See bounty:  https://forum.pfsense.org/index.php?topic=65736.0

        (funny, 2nd time today I refer to this bounty… people are going to suspect me for publicity ???)

        4x XG-7100 (2xHA), 1x SG-4860, 1x SG-2100
        1x PC Engines APU2C4, 1x PC Engines APU1C4

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.