Navigation

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

    No DHCP on VLAN interfaces

    DHCP and DNS
    10
    17
    34376
    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.
    • telserv
      telserv last edited by

      I'm attempting to create a new VLAN configuration on pfSense 2.3.3, and can't get DHCP Server to configure.

      According to what I've been reading,  after configuring VLANs,  I should be able to go to SERVICES | DHCP SERVER and find the correct VLAN to configure.  Unfortunately,  none of the VLANs show up there.

      Congratulations to iceflatline for the best VLAN "How To" document I've seen for pfSense.  Of course, he was using rel. 2.1.2, and I can't get those same instructions to work on 2.3.3.   
      https://www.iceflatline.com/2013/09/how-to-create-and-configure-vlans-in-pfsense/

      This used to work in previous versions, because I have my personal notes on how I did this previously.  So either the configuration has changed, or I failed to note something that allows a VLAN to have a DHCP Server.  Suggestions?

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

        To create a vlan takes all of like 3 seconds.  Interfaces assign, vlans - add.. Pick your parent interfaces, put in your tag number.  Done.

        You then need to assign it.. Give it an IP…

        Once you do that then yes dhcp server can be enabled on that vlan interface you just created.  It really is that simple!




        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
        2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

        1 Reply Last reply Reply Quote 0
        • jahonix
          jahonix last edited by

          @Gord:

          after configuring VLANs,  I should be able to go to SERVICES | DHCP SERVER and

          You probably just forgot to enable the new interface and assign it an IP/network. DHCP server is only available after that. johnpoz showed it in his second screenshot.

          1 Reply Last reply Reply Quote 0
          • telserv
            telserv last edited by

            Found my mistake.  I had created the VLANs under INTERFACE | ASSIGN |  VLAN,
            but had failed to create them under **INTERFACE | ASSIGN | INTERFACE ASSIGNMENTS. **

            It was this second assignment that allowed me to enter an IP address, which then allowed DHCP to be configured on that VLAN.

            I also found out that if I logged in to read johnpoz reply,  I would have seen those screen prints.  The screen prints do not show if I only click on the link in the notification email.  Thanks to jahonix for bringing that to my attention.

            Thank you to johnpoz and jahonix for guiding me back to reality.  Problem Solved.

            1 Reply Last reply Reply Quote 0
            • N
              Niekoesj last edited by

              Hi All!

              I'am quite new here and face the same problem!
              I have exactly followed the steps from the screenshot, but i still don't see any other/new interfaces appearing.

              For sure:

              • Created a VLAN on the Parent LAN-Interface (VLAN 99) (via Interface -> VLAN)
              • I Added a new interface named "Guests" based on the just created VLAN99
              • Enabled the Interface and set IPV4 (static) address 192.168.179.1/24
              • SAVED the config and reloaded

              But once i go to the DHCP Service page, i only see the "LAN"-tab, but not the newly created "Guests" interface.

              In your screenshots i also see the "WAN" for example.. i only have LAN.

              What am i missing? is there another setting which prevents the creation of the "Guest" tab in the DHCP server settings?

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

                "Created a VLAN on the Parent LAN-Interface (VLAN 99) (via Interface -> VLAN)"

                what is interface vlan??  The parent interface would be an actual physical interface, em0, re1, igb0, etc..

                Yeah you have to be logged into to via attachments ;)


                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
                2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

                1 Reply Last reply Reply Quote 0
                • N
                  Niekoesj last edited by

                  Hmmm suddenly i appeared… i tried this already many times.. :(
                  This time i rebooted my box and it appeared :)

                  On all tutorials/video's i saw the DHCP on the new Interface directly appearing. But it seems that it took some extra time on my box.

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

                    VLAN's interface subnet mask (CIDR notation) should also something less than 32 bit for DHCP server to start.

                    1 Reply Last reply Reply Quote 3
                    • S
                      scattermammoth last edited by

                      @begbis:

                      VLAN's interface subnet mask (CIDR notation) should also something less than 32 bit for DHCP server to start.

                      This is what did it for me, note that the default subnet CIDR is /32 (which is a single IP address).

                      After I experienced the same issue – creating a vLAN (Interfaces > VLANs), assigning it to a new subinterface (Interfaces > Interface Assignments), enabling the interface and setting a static IPv4 address -- I read this post and changed the subnet to /24 on the interface configuration, saved and applied the change, and the interface finally appeared in the Services > DHCP Server config.

                      1 Reply Last reply Reply Quote 2
                      • S
                        sharlee011 last edited by

                        @scattermammoth:

                        @begbis:

                        VLAN's interface subnet mask (CIDR notation) should also something less than 32 bit for DHCP server to start.

                        This is what did it for me, note that the default subnet CIDR is /32 (which is a single IP address).

                        After I experienced the same issue – creating a vLAN (Interfaces > VLANs), assigning it to a new subinterface (Interfaces > Interface Assignments), enabling the interface and setting a static IPv4 address -- I read this post and changed the subnet to /24 on the interface configuration, saved and applied the change, and the interface finally appeared in the Services > DHCP Server config.

                        Worked for me as well. Thanks

                        1 Reply Last reply Reply Quote 0
                        • A
                          Asad Ali last edited by

                          If you are doing L3 routing on FW correctly, then it should work without any problem.

                          Please do the trace route from your AP

                          1 Reply Last reply Reply Quote 0
                          • brightwolf
                            brightwolf last edited by

                            Yeah I now I am here. Very happy with my SG-1100 and now extending the usage of it with some VLANs. I have exactly the problem described here.

                            @scattermammoth > creating a vLAN (Interfaces > VLANs), assigning it to a new subinterface (Interfaces > Interface Assignments), enabling the interface and setting a static IPv4 address -- changed the subnet to /24 on the interface configuration, saved and applied the change, and the interface finally appeared in the Services > DHCP Server config.

                            I did all this, and still no interface appears on Services > DHCP server config. Even rebooted, no luck. What can still be missing here? Why is a VLAN, set to its own static IP and set to use DHCP, refusing to appear on the DHCP server config screen?

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

                              @brightwolf said in No DHCP on VLAN interfaces:

                              set to its own static IP and set to use DHCP

                              Huh? For you to be able to enable dhcp server, the vlan has to have a static IP..

                              Please post up your interface assignment screen, and then the interface.. So here is one of my vlans

                              0_1551274664259_vlandhcp.png

                              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
                              2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

                              1 Reply Last reply Reply Quote 0
                              • brightwolf
                                brightwolf last edited by brightwolf

                                I had indeed set it to DHCP, not static. When I changed that to 10.10.23.0/24, I saw an error message:
                                "The following input errors were detected: This IPv4 address is the network address and cannot be used".
                                So I changed it to 10.10.23.1/24 and it worked. Thanks! (and a bit ashamed, I am)
                                [EDIT: posting the screenshots you asked for]
                                0_1551275427717_Screenshot 2019-02-27 14.42.41.png
                                0_1551275434704_Screenshot 2019-02-27 14.44.23.png

                                1 Reply Last reply Reply Quote 0
                                • brightwolf
                                  brightwolf last edited by

                                  With the new setting it works:
                                  0_1551275529432_Screenshot 2019-02-27 14.51.32.png
                                  0_1551275533209_Screenshot 2019-02-27 14.51.49.png

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

                                    Well yeah x.x.x.0/24 would be the wire or network address.. So yeah its going to give you that error.

                                    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
                                    2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      playforvoices last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post