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

    VLAN DHCP

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 2 Posters 413 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.
    • A
      Anatairus
      last edited by

      I am having an issue with VLAN and DHCP
      I setup a vlan
      attached it to igb2
      added the vlan in interface assignments
      created a dhcp scope for it.
      everything is enabled.
      However when I plug my laptop into igb2 I do not get an IP.

      I setup a regular lan on igb3, enabled dhcp and it hands out IP,s.

      What am I doing wrong?

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

        @Anatairus said in VLAN DHCP:

        However when I plug my laptop into igb2 I do not get an IP.

        Did you setup your laptop to use tags? Your device to get an IP from the vlan would have to send and understand the vlan tag..

        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

        A 1 Reply Last reply Reply Quote 0
        • A
          Anatairus @johnpoz
          last edited by

          @johnpoz Now see there I knew I was doing something wrong. Thanks a million. Works great.

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

            @Anatairus said in VLAN DHCP:

            I knew I was doing something wrong

            Not sure what your wanting to accomplish exactly... You normally put a vlan on an interface where the physical interface will carry more than 1.. If your just going to plug a laptop into an interface on pfsense. There would normally be little reason to tag that traffic. And it would just be native (untagged).. So there is nothing to do on the device your plugging into the port.

            Now if you were going to use this interface to connect to a switch where you would carry more vlans over this physical port.. Then the port you connect to your laptop on the switch would still be untagged, and only the port connecting pfsense to the switch that carries more than 1 vlan would need tags.

            Without knowing what your wanting to accomplish, I would "assume" your doing it wrong ;) why would you tag traffic on a port that your only going to have 1 network and connect 1 device into?

            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

            A 1 Reply Last reply Reply Quote 0
            • A
              Anatairus @johnpoz
              last edited by

              @johnpoz You hit the nail on the head. I was just making sure that the VLAN would work.
              I have a Cisco 3560-CX That I plan to set up.
              I'm not a network guy. I do a lot of server work. The network is usually setup when I get involved.
              That one little bit of info made a lot of things click into place for me.
              Thank you so much!!!

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

                @Anatairus ah, ok that makes sense you were just wanting to test that your vlan worked, before you went forward with connecting to switch and add the rest of your vlans..

                Yeah when doing such a "test' the device you plug in has to be set to understand and send the tag you setup..

                If you have any questions going forward, just ask.

                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 1
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.