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

    Pfsense 2.2, Hyper-V 2012 & vLan bug?

    Scheduled Pinned Locked Moved Virtualization
    12 Posts 4 Posters 4.9k 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.
    • S
      stevehaley
      last edited by

      @cmb:

      No. We never recommend using VLAN 1, most installs don't, no dependencies on it. Sounds like something broken at the hyper-v level.

      Glad to hear it - should never propagate 1 - causes some weird things with some switches. but all the examples I have seen to set the nic as trunk default the nic to vlan 1 even if they dont include 1 in the available list. this is why i eventually included 1-200 rather than 150-169

      maybe it is a bsd/hyperv mismatch on the driver level - Whatever it is I now have substantially less hair!

      1 Reply Last reply Reply Quote 0
      • J
        JBNixx
        last edited by

        Writing on myphone so I'll just throw this in.

        VLANs must also be configured on the NIC in Windows.

        Device  manager
        Find NiC
        Properties
        VLAN Tab
        Add All VLANS that will pass through the adapter to the VM

        The NIC will pass VLAN 1 by default. That's why itworks

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

          @JBNixx:

          Writing on myphone so I'll just throw this in.

          VLANs must also be configured on the NIC in Windows.

          Device  manager
          Find NiC
          Properties
          VLAN Tab
          Add All VLANS that will pass through the adapter to the VM

          The NIC will pass VLAN 1 by default. That's why itworks

          On which server version? I would say that it's dependent on what nic you got, My intel:s doesnt have such a tab at all :)

          1 Reply Last reply Reply Quote 0
          • J
            JBNixx
            last edited by

            @Mats:

            @JBNixx:

            Writing on myphone so I'll just throw this in.

            VLANs must also be configured on the NIC in Windows.

            Device  manager
            Find NiC
            Properties
            VLAN Tab
            Add All VLANS that will pass through the adapter to the VM

            The NIC will pass VLAN 1 by default. That's why itworks

            On which server version? I would say that it's dependent on what nic you got, My intel:s doesnt have such a tab at all :)

            We use Server 2012 R2.

            The VLAN tab is only available on Intel NICs if you installed the Intel drivers (Took me a while to figure that out). The default drivers from Microsoft don't give you access the the advanced options including the VLAN tab. Most likely true for other brands as well. I’ve got an Intel I340-T4 4 port NIC. I had to install the drivers by hand as it didn’t have any updated drivers for 2012 R2.

            You can also configure it via PowerShell (Intel module) or via Server Manager if using NIC teaming.

            I was having trouble building a lab with VLANs on Hyper-V. The tip from the documentation of adding VLAN IDs to the physical NICs made everything work as intended. I had setup everything in the lab. SCVMM, Hyper-V nodes the lot. I still couldn't get communication over the VLANs to work. Once I added the respective VLANs on the physical NICs on the physical hosts then everything just started working like a charm.

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

              @JBNixx:

              @Mats:

              @JBNixx:

              Writing on myphone so I'll just throw this in.

              VLANs must also be configured on the NIC in Windows.

              Device  manager
              Find NiC
              Properties
              VLAN Tab
              Add All VLANS that will pass through the adapter to the VM

              The NIC will pass VLAN 1 by default. That's why itworks

              On which server version? I would say that it's dependent on what nic you got, My intel:s doesnt have such a tab at all :)

              We use Server 2012 R2.

              The VLAN tab is only available on Intel NICs if you installed the Intel drivers (Took me a while to figure that out). The default drivers from Microsoft don't give you access the the advanced options including the VLAN tab. Most likely true for other brands as well. I’ve got an Intel I340-T4 4 port NIC. I had to install the drivers by hand as it didn’t have any updated drivers for 2012 R2.

              You can also configure it via PowerShell (Intel module) or via Server Manager if using NIC teaming.

              I was having trouble building a lab with VLANs on Hyper-V. The tip from the documentation of adding VLAN IDs to the physical NICs made everything work as intended. I had setup everything in the lab. SCVMM, Hyper-V nodes the lot. I still couldn't get communication over the VLANs to work. Once I added the respective VLANs on the physical NICs on the physical hosts then everything just started working like a charm.

              It's the driver :) In on 2012R2 but with MS drivers and that actually works with vlans without config

              1 Reply Last reply Reply Quote 0
              • J
                JBNixx
                last edited by

                @Mats:

                @JBNixx:

                @Mats:

                @JBNixx:

                Writing on myphone so I'll just throw this in.

                VLANs must also be configured on the NIC in Windows.

                Device  manager
                Find NiC
                Properties
                VLAN Tab
                Add All VLANS that will pass through the adapter to the VM

                The NIC will pass VLAN 1 by default. That's why itworks

                On which server version? I would say that it's dependent on what nic you got, My intel:s doesnt have such a tab at all :)

                We use Server 2012 R2.

                The VLAN tab is only available on Intel NICs if you installed the Intel drivers (Took me a while to figure that out). The default drivers from Microsoft don't give you access the the advanced options including the VLAN tab. Most likely true for other brands as well. I’ve got an Intel I340-T4 4 port NIC. I had to install the drivers by hand as it didn’t have any updated drivers for 2012 R2.

                You can also configure it via PowerShell (Intel module) or via Server Manager if using NIC teaming.

                I was having trouble building a lab with VLANs on Hyper-V. The tip from the documentation of adding VLAN IDs to the physical NICs made everything work as intended. I had setup everything in the lab. SCVMM, Hyper-V nodes the lot. I still couldn't get communication over the VLANs to work. Once I added the respective VLANs on the physical NICs on the physical hosts then everything just started working like a charm.

                It's the driver :) In on 2012R2 but with MS drivers and that actually works with vlans without config

                I would presume that depends on your environment.

                For example If PFSense and everything else VLAN related live on the same host, then it won't matter either way. You just set the VLAN on the VM and it will work. But once you start crossing host boundries then it starts to get more complicated.

                But again, it could be NIC/OS dependant. Lots of factors like age of NIC. Maybe newer NICs from the last year are smarter, maybe it's only a requirement if using System Center Virtual Machine (SCVMM) which we are using….?

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

                  @JBNixx:

                  @Mats:

                  @JBNixx:

                  @Mats:

                  @JBNixx:

                  Writing on myphone so I'll just throw this in.

                  VLANs must also be configured on the NIC in Windows.

                  Device  manager
                  Find NiC
                  Properties
                  VLAN Tab
                  Add All VLANS that will pass through the adapter to the VM

                  The NIC will pass VLAN 1 by default. That's why itworks

                  On which server version? I would say that it's dependent on what nic you got, My intel:s doesnt have such a tab at all :)

                  We use Server 2012 R2.

                  The VLAN tab is only available on Intel NICs if you installed the Intel drivers (Took me a while to figure that out). The default drivers from Microsoft don't give you access the the advanced options including the VLAN tab. Most likely true for other brands as well. I’ve got an Intel I340-T4 4 port NIC. I had to install the drivers by hand as it didn’t have any updated drivers for 2012 R2.

                  You can also configure it via PowerShell (Intel module) or via Server Manager if using NIC teaming.

                  I was having trouble building a lab with VLANs on Hyper-V. The tip from the documentation of adding VLAN IDs to the physical NICs made everything work as intended. I had setup everything in the lab. SCVMM, Hyper-V nodes the lot. I still couldn't get communication over the VLANs to work. Once I added the respective VLANs on the physical NICs on the physical hosts then everything just started working like a charm.

                  It's the driver :) In on 2012R2 but with MS drivers and that actually works with vlans without config

                  I would presume that depends on your environment.

                  For example If PFSense and everything else VLAN related live on the same host, then it won't matter either way. You just set the VLAN on the VM and it will work. But once you start crossing host boundries then it starts to get more complicated.

                  But again, it could be NIC/OS dependant. Lots of factors like age of NIC. Maybe newer NICs from the last year are smarter, maybe it's only a requirement if using System Center Virtual Machine (SCVMM) which we are using….?

                  I should have mentioned that I do use the Vlans on both the Hyper-V server and my switches.
                  I dug a little deeper into it and my old nics simply only have the MS driver for Server 2012 R2. Intel hasn't made a standalone driver.
                  I got a rather "strange" config.
                  An ADSL modem -> 100 mbit fibre converter - fibre cable to the hyperV host -> allied telesis 2701 fibre Card -> External V-switch -> Virtual PF Sense -> External V-switch with a number of Vlans -> Intel Pro 1000PF -> Fibre cable to switch -> zyxel GS1910-24 swtich(es).

                  The basic reason for this setup is that i had huge problems with lightning. Lost at least a motherboard plus a switch yearly. Since this rebuild? Zero losses

                  1 Reply Last reply Reply Quote 0
                  • J
                    JBNixx
                    last edited by

                    @Mats:

                    I should have mentioned that I do use the Vlans on both the Hyper-V server and my switches.
                    I dug a little deeper into it and my old nics simply only have the MS driver for Server 2012 R2. Intel hasn't made a standalone driver.
                    I got a rather "strange" config.
                    An ADSL modem -> 100 mbit fibre converter - fibre cable to the hyperV host -> allied telesis 2701 fibre Card -> External V-switch -> Virtual PF Sense -> External V-switch with a number of Vlans -> Intel Pro 1000PF -> Fibre cable to switch -> zyxel GS1910-24 swtich(es).

                    The basic reason for this setup is that i had huge problems with lightning. Lost at least a motherboard plus a switch yearly. Since this rebuild? Zero losses

                    Ineresting. Thanks for the comments. I had to "Hack" my card to get the Intel drivers installed (Intel I340-T4)

                    Where are you living? In Scandinavia somehwere as maybe the forum name might suggest? Shame about the lightening.

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

                      @JBNixx:

                      Where are you living? In Scandinavia somehwere as maybe the forum name might suggest? Shame about the lightening.

                      Bulls-eye :)
                      Middle of sweden. I got about 5 KM of phone-line runing on an aerial line so it's hit by lightning a couple of times each year.

                      1 Reply Last reply Reply Quote 0
                      • J
                        JBNixx
                        last edited by

                        @Mats:

                        @JBNixx:

                        Where are you living? In Scandinavia somehwere as maybe the forum name might suggest? Shame about the lightening.

                        Bulls-eye :)
                        Middle of sweden. I got about 5 KM of phone-line runing on an aerial line so it's hit by lightning a couple of times each year.

                        Ah what a shame, ah well.

                        Shouldn't derail this thread anymore :)

                        Good talking to you.

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