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

VLAN Network adapter assignment problem

Scheduled Pinned Locked Moved General pfSense Questions
13 Posts 4 Posters 2.7k 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.
  • K
    kweihong
    last edited by Sep 6, 2013, 9:32 AM

    Hi Everyone,

    I'm using Hyper-V, i've managed to successfully installed pfsense 2.0.3, installed the custom kernel from FreeBSD and transferred it into pfsense. Changed my legacy network adapter to the normal network adapter.

    The problem i'm facing is that on my pfsense i can't seem to assign my VLANs. The error says that there are no compatible network adapters found.

    Is anyone facing this problem as well, and is there anyway around this? in need of urgent help! Thank you!

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Sep 6, 2013, 10:00 AM

      Looking at the kernel thread, here, is appears there many posts about VLANs. The virtual NIC drivers do not appear to be VLAN compatible however people seem to have worked around that by doing all the VLAN config in Hyper-V presenting each to pfSense via a separate virtual NIC.

      Steve

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by Sep 6, 2013, 11:50 AM

        Yep…

        1 Reply Last reply Reply Quote 0
        • K
          kweihong
          last edited by Sep 7, 2013, 5:59 AM

          Actually i've already went through the whole tutorial following every step successfully, however on my webGUI i'm still unable to choose my network adapters to assign it to my VLANs..

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Sep 7, 2013, 1:29 PM

            I'm haven't tried using hyper-v with pfSense so I'm only interpreting that thread.
            It seems as though the new virtual NIC type enabled by the kernel mod cannot support VLANs for whatever reason. Thus if you need to use vlans they need to be terminated (untagged) in hyper-v and presented to pfSense as separate NICs.
            It seems from your last post that you're still trying to add vlans in pfSense. I could be mis-reading that though.  :-\

            Steve

            1 Reply Last reply Reply Quote 0
            • K
              kweihong
              last edited by Sep 8, 2013, 7:53 AM

              Thanks for the suggestion! u've interpreted correctly, when u say that i should untag the vlans on Hyper-V, can i check how is it possible? Thanks so much for the patience! am very new to this!

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by Sep 8, 2013, 8:00 AM Sep 8, 2013, 7:58 AM

                He's saying that VLANs will NOT work AT ALL. Instead of VLANs, you need a separate virtual NIC for each "VLAN" added to the VM.

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Sep 8, 2013, 6:31 PM

                  I'm pretty much totally unfamiliar with Hyper-V I'm afraid but from a conceptual point of view I would try some thing like this.
                  Say you have 5 VLANs coming into the VM host machine and you need to send those to pfSense to route and filter traffic between them. You would create a virtual switch and bridge the real NIC to it such that all VLAN traffic reaches it. Then create 5 virtual NICs for the pfSense VM and connect those to individual ports on the virtual switch. Now configure the switch to separate the VLANs to each port/virtual NIC. Then in pfSense you assign each NIC as a new interface, no VLAN config needed.

                  It may be that Hyper-V handles VLANs differently, I just don't know. Perhaps someone more familiar can comment.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • K
                    kejianshi
                    last edited by Sep 8, 2013, 6:33 PM

                    Seems I've seen something like that work before in esxi  ;)

                    1 Reply Last reply Reply Quote 0
                    • K
                      kweihong
                      last edited by Sep 10, 2013, 2:39 AM

                      Hi everyone,

                      Thanks for your replies! actually that was already one of the considered option, however i have a constraint, because i can only create up to 12 Virtual network adapters in Hyper - V, however i have a need of up to 14 VLANs.. Is there a way around this? I've considered having 2 VM on pfsense however it'll make the whole set up much more complex..

                      Thank you so much for your time.

                      1 Reply Last reply Reply Quote 0
                      • K
                        kejianshi
                        last edited by Sep 10, 2013, 2:58 AM

                        2 virtual instances of pfsense?

                        1 Reply Last reply Reply Quote 0
                        • K
                          kweihong
                          last edited by Sep 10, 2013, 3:24 AM

                          @kejianshi:

                          2 virtual instances of pfsense?

                          Yes, i've considered this option, however it'll complicate the whole network set up..

                          the goal is getting the hyper-V vNIC recognised as vlan-capable parent in pfsense..

                          1 Reply Last reply Reply Quote 0
                          • K
                            kejianshi
                            last edited by Sep 10, 2013, 3:31 AM

                            That would be nice wouldn't it?

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