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

    PfSense-Disable DHCP on pfSense and use DHCP from Server 2008 R2

    Scheduled Pinned Locked Moved DHCP and DNS
    11 Posts 5 Posters 18.2k 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.
    • T
      tim.mcmanus
      last edited by

      When you configure DHCP services in Windows, make sure that the DHCP server is giving out the pfSense box's address as the router.  I believe the default DHCP router in Win2K8 R2 is the server itself.  You need to change that.  Also, is the Win2K8 R2 box doing DNS?  You need to make sure that's configured properly, or you could use the pfSense box to do that.  It would probably be best to have the Win2K8 server be the primary DNS and the pfSense box the secondary.

      See if that helps.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        If he is running AD, then no he would not want pfsense to be a secondary dns on the clients!  In AD, all members of the AD should ONLY Point to the AD dns for dns - no other dns should be configured on the client.

        You then setup dns on the AD to either forward unknown zones to your isp, or another forwarder like pfsense or do direct from root lookups.

        So yes you need to disable dhcp server on pfsense - then on the dhcp scope you need to setup pfsense lan IP as your gateway router off your network, and for dns you should point to the 2k8 server running dns (has to be if your running active directory)..  If your not running AD then you can point to whatever you want for dns - be it pfsense dns forwarder, or googledns, your isp, etc.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • S
          SenshiAGE
          last edited by

          @johnpoz:

          If he is running AD, then no he would not want pfsense to be a secondary dns on the clients!  In AD, all members of the AD should ONLY Point to the AD dns for dns - no other dns should be configured on the client.

          You then setup dns on the AD to either forward unknown zones to your isp, or another forwarder like pfsense or do direct from root lookups.

          So yes you need to disable dhcp server on pfsense - then on the dhcp scope you need to setup pfsense lan IP as your gateway router off your network, and for dns you should point to the 2k8 server running dns (has to be if your running active directory)..  If your not running AD then you can point to whatever you want for dns - be it pfsense dns forwarder, or googledns, your isp, etc.

          Thank you John :D

          its works now im very gratefull to you and yes i use AD

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            @johnpoz:

            If he is running AD, then no he would not want pfsense to be a secondary dns on the clients!  In AD, all members of the AD should ONLY Point to the AD dns for dns - no other dns should be configured on the client.

            Generally yes but SBS networks or any AD networks with a single DNS server are a big exception to that since you likely only have one Windows server and the loss of that server doesn't need to mean the loss of Internet connectivity. Having the DNS forwarder, configured with a domain forward for the AD domain to point to the AD DNS, is a good idea where you can't have multiple AD DNS servers for some reason.

            1 Reply Last reply Reply Quote 0
            • S
              SenshiAGE
              last edited by

              My second concern is how do i get 172.16.200.X/24 adresses to work, I want my dhcp server to give out adresses from 172.16.200.101 - 199
              I tried to change the LAN interface to a 172 adress but the connection just disappears after applying.

              • The dhcp in pfsense in enabled at this time, i dont want to use the defautl 192.168.1.1 adress -
                Even if i change it to 192.168.1.12 it would not work.
                I tired both the web configurator and the installed console on my VM.
              1 Reply Last reply Reply Quote 0
              • S
                SenshiAGE
                last edited by

                NEDD HELP PLS

                1 Reply Last reply Reply Quote 0
                • M
                  Metu69salemi
                  last edited by

                  If you can go to console, choose option 2 and change your settings from there.
                  If you can't go to wan-side and edit your lan ip/subnet from there, then you don't lock yourself out.

                  1 Reply Last reply Reply Quote 0
                  • S
                    SenshiAGE
                    last edited by

                    @Metu69salemi:

                    If you can go to console, choose option 2 and change your settings from there.
                    If you can't go to wan-side and edit your lan ip/subnet from there, then you don't lock yourself out.

                    even if i change it in the console to 172.16.200.254 /24 i still cant acces the internet

                    1 Reply Last reply Reply Quote 0
                    • M
                      Metu69salemi
                      last edited by

                      Have you renewed your clients ip-addresses?

                      1 Reply Last reply Reply Quote 0
                      • S
                        SenshiAGE
                        last edited by

                        i managed to change the LAN ip to 172.16.200.254
                        but when i change my wan tp static i dont get internet it only works when set to dhcp

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