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

How to use DHCP with PFSense & UniFi AC Access Point?

Scheduled Pinned Locked Moved DHCP and DNS
17 Posts 3 Posters 3.8k 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.
  • M
    mbc0
    last edited by Jul 24, 2018, 12:45 AM

    Hi,

    As the title suggests what would be the correct method for using pfSense with an AC Lite Access Point? The only reason I need to work this out is because I want to add a description to the wireless devices on pfSense and the only way I can do that is to add a static lease to be able to add a description to the wireless device. The issue with that is I can have the same device with different IP's on pfSense and on the UniFI?

    1 Reply Last reply Reply Quote 0
    • N
      NogBadTheBad
      last edited by Jul 24, 2018, 9:39 AM

      Just disable DHCP on the Ubiquity equipment and let pfSense take care of handing out DHCP to the wireless clients, it works I do it.

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      M 1 Reply Last reply Jul 24, 2018, 9:58 AM Reply Quote 0
      • M
        mbc0 @NogBadTheBad
        last edited by Jul 24, 2018, 9:58 AM

        @nogbadthebad Many Thanks for your reply :-)

        Would you mean like this?

        alt text

        1 Reply Last reply Reply Quote 0
        • M
          mbc0
          last edited by Jul 24, 2018, 10:02 AM

          https://1drv.ms/u/s!AjnJhtmhYMJlht9DCu2gBOFoCLccUA

          1 Reply Last reply Reply Quote 0
          • N
            NogBadTheBad
            last edited by Jul 24, 2018, 10:02 AM

            Yup thats what I do

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

            1 Reply Last reply Reply Quote 1
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Jul 24, 2018, 10:09 AM

              So you also have a USG? How exactly are you connecting to pfsense? You can not run dhcpd on unifi unless you have something other than just AP..

              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.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • N
                NogBadTheBad
                last edited by Jul 24, 2018, 10:45 AM

                Me John ?

                I thought you had to at least define a single network under settings -> Networks.

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                M 1 Reply Last reply Jul 24, 2018, 10:47 AM Reply Quote 0
                • M
                  mbc0 @NogBadTheBad
                  last edited by Jul 24, 2018, 10:47 AM

                  I have a UniFi AC Lite connected directly into 1 port of a 4 port NIC in my Gen8 Microserver running pfSense is that not correct?

                  1 Reply Last reply Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator
                    last edited by johnpoz Jul 24, 2018, 10:54 AM Jul 24, 2018, 10:52 AM

                    If you don't have a USG you can not run dhpd on unifi anway..

                    Your going to have to give some more detail

                    The issue with that is I can have the same device with different IP's on pfSense and on the UniFI?

                    Huh? Yeah your wireless devices would be on a different network than your wired? Do you have a bridge setup where your wifi interface is on same network as your wired lan network?

                    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.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • M
                      mbc0
                      last edited by Jul 24, 2018, 10:53 AM

                      ah, so this is good as I want pfSense to handle everything :-)

                      1 Reply Last reply Reply Quote 0
                      • J
                        johnpoz LAYER 8 Global Moderator
                        last edited by johnpoz Jul 24, 2018, 11:04 AM Jul 24, 2018, 10:56 AM

                        Can you please give some more details.

                        Your lan network is what? Your wireless network is what - you only have 1? Or do you have multiple ssid on different vlans.

                        You have a client it gets what for IP exactly? What issue are you having with that IP? You want it to be the same as when you plug that device into a wire? Not understand what the issue is here.

                        with different IP's on pfSense and on the UniFI?

                        This doesn't make a lot of sense.. Unless you had some other device running dhcp and handing out wrong address pool in the same network, or something doing nat? Same IP your wireless controller shows for a device will be the same IP pfsense shows for it, etc.

                        example... Here is my dhcp lease on pfsense for my IPad

                        192.168.4.210 0c:51:01:8c:19:ae (Apple) Johns-Air2 2018/07/24 03:43:09 2018/07/26 03:43:09

                        Here is what unfi shows for it.
                        0_1532430221658_johnsipad.png

                        You notice same IP, same mac, etc. So could you point out what your seeing that your having a problem with or what your trying to accomplish exactly that is not working, 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.7.2, 24.11

                        1 Reply Last reply Reply Quote 0
                        • M
                          mbc0
                          last edited by Jul 24, 2018, 11:02 AM

                          Hi,

                          The issue was when looking at pfSense I was trying to make it easy to identify what clients are connected but the only way I could find to do that was by assigning a static IP to each device and then adding a description. By doing this I found that devices connected to pfSense had the assigned static IP but that same device had a different IP on my AC Lite. By disabling DHCP on the Unifi pfSense is now assigning the Static IP and UniFi now shows the same IP so as far as I can see it is now resolved.

                          My Setup is an HP Gen8 Microserver with a 4port NIC, 1 Port goes to a Modem, 1 Port goes to a Switch for the local lan and 1 other goes to the UniFi AC Lite

                          1 Reply Last reply Reply Quote 0
                          • J
                            johnpoz LAYER 8 Global Moderator
                            last edited by johnpoz Jul 24, 2018, 11:07 AM Jul 24, 2018, 11:05 AM

                            And what is running dhcpd... The AP can not run dhcpd? Pretty sure need USG to do that, since that is why it lists (usg) next to it, etc.

                            Yeah says right on the controller need usg to run dhcpd

                            0_1532430433010_dhdcpd.png

                            Is it possible your client just got a different lease you had something else running dhcp on this layer 2? Maybe another VM?

                            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.7.2, 24.11

                            M 1 Reply Last reply Jul 24, 2018, 12:25 PM Reply Quote 0
                            • M
                              mbc0 @johnpoz
                              last edited by Jul 24, 2018, 12:25 PM

                              @johnpoz You are right, it does have usg next to DHCP as per the picture link I added but changing it to none has resolved my issue so I am not really sure ? The only other VM's I have are Windows/Linux Desktops

                              1 Reply Last reply Reply Quote 0
                              • N
                                NogBadTheBad
                                last edited by Jul 24, 2018, 12:44 PM

                                The Ubiquity GUI does have quite a bit of cruft if you only have access-points and a controller.

                                Not even sure why you need to create a network at all if your not using a switch.

                                Andy

                                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                                1 Reply Last reply Reply Quote 0
                                • J
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by johnpoz Jul 24, 2018, 12:50 PM Jul 24, 2018, 12:48 PM

                                  you can use these networks for putting your AP on a specific vlan for management even without a switch or usg I do believe. But agreed most users with just some AP and the controller have zero use for any of settings under network. And can just leave it at default even if running a different network address space.

                                  As to turning it off fixing any perceived issue I find it highly unlikely... Turn it back on and show us what you think the problem is.. If you feel that is the cause of the problem.

                                  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.7.2, 24.11

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    NogBadTheBad
                                    last edited by Jul 24, 2018, 12:51 PM

                                    If you have a windows client do an ipconfig /all if you enable it again.

                                    That should tell you the host that's acting as a dhcp server.

                                    Andy

                                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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