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

    VLAN and DHCP

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    7 Posts 2 Posters 2.5k 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.
    • J Offline
      jeebsion
      last edited by

      Correct me if I'm wrong .. the moment we created a VLAN on any of the available interfaces, a new interface tab will appear in the DHCP Server page .. yes?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        You have to create the vlan, and then assign it, and then enable the newly assigned interface, and then it shows up. I think you also have to set a static IP on the interface before you can use DHCP there also.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • J Offline
          jeebsion
          last edited by

          @jimp:

          You have to create the vlan, and then assign it, and then enable the newly assigned interface, and then it shows up. I think you also have to set a static IP on the interface before you can use DHCP there also.

          jimp,

          thank you for the speedy reply โ€ฆ let say .. I already have an active interface already with a DHCP server applied .. can I still create a VLAN then assign it to that very interface and the new tab comes up?

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            What are you trying to accomplish?

            A VLAN doesn't work on an interface in that way, when you make VLANs you typically don't use the parent interface, you only use VLAN tagged interfaces.

            The same thing I said before still applies there. If you make a vlan tag on an interface, and then assign that to a new interfaces, enable it, set an IP, and then you will get a DHCP tab for that interface.

            Your switches need to have VLAN support of course, and be set to tag the VLAN ID you're trying to work with also.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • J Offline
              jeebsion
              last edited by

              Ahh .. yes .. now I understand .. thing is I'm wanting to configure the VLAN with little downtime as the interface being used is currently active. So now I need to

              1. start with a clean interface
              2. configure a VLAN number then assign to that interface
              3. then configure the DHCP server for the vlan tab

              am I on the right track here jimp?

              @jimp:

              What are you trying to accomplish?

              A VLAN doesn't work on an interface in that way, when you make VLANs you typically don't use the parent interface, you only use VLAN tagged interfaces.

              The same thing I said before still applies there. If you make a vlan tag on an interface, and then assign that to a new interfaces, enable it, set an IP, and then you will get a DHCP tab for that interface.

              Your switches need to have VLAN support of course, and be set to tag the VLAN ID you're trying to work with also.

              1 Reply Last reply Reply Quote 0
              • jimpJ Offline
                jimp Rebel Alliance Developer Netgate
                last edited by

                You don't have to start with a clean interface, it's just not recommended to run with the parent interface assigned.

                Moving is as easy as setting up a vlan tag for whatever the default vlan is for that interface, setting the switch to tag for that vlan instead, and then reassigning LAN to the new vlan <x>interface.</x>

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jeebsion
                  last edited by

                  Understood โ€ฆ currently at home so the box is not with me .. will try it when I get back to the office .. thanx jimp :-)

                  @jimp:

                  You don't have to start with a clean interface, it's just not recommended to run with the parent interface assigned.

                  Moving is as easy as setting up a vlan tag for whatever the default vlan is for that interface, setting the switch to tag for that vlan instead, and then reassigning LAN to the new vlan <x>interface.</x>

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