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

    How to get pfSense WAN to accept VLAN 0

    Scheduled Pinned Locked Moved General pfSense Questions
    414 Posts 25 Posters 208.8k 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.
    • M
      michaellacroix @stephenw10
      last edited by

      Thanks @stephenw10

      This post saved my bacon. I have frontier fiber and need the script to obtain an IP on the wan interface due to the vlan 0 issue. When I upgraded I got the same error messages as above and this fixed it for me.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Just commenting out the lines from the script?
        Can I assume you are using a NIC other an Intel e1000 device? Other NICs should work with that.

        Steve

        M 1 Reply Last reply Reply Quote 0
        • M
          michaellacroix @stephenw10
          last edited by

          @stephenw10

          yep, just commenting out the lines worked for me. Yes, my nic is not e1000 device. The script broke upgrading from 22.01 to 22.05

          Upgrading form 2.6.0 was no problem
          Upgrading to pfsense 22.01 no problem
          Upgrading from 22.01 to 22.05 the script broke with the error message:

          Fatal error: Uncaught Error: Call to undefined function pfSense_ngctl_attach() in Command line code:1
          Stack trace:
          #0 {main}
          thrown in Command line code on line 1

          C c45p32C 3 Replies Last reply Reply Quote 1
          • C
            cucu007 @michaellacroix
            last edited by

            @michaellacroix

            I am using e1000 NICs, are there any solution for those of us or we are to remain in the dark?

            M 1 Reply Last reply Reply Quote 0
            • M
              michaellacroix @cucu007
              last edited by

              @cucu007

              I wouldn't hold your breathe. Technically its a freebsd shortcoming and pfsense should address it. Negate is basically saying they can do without all the att, verizon, frontier, and all other ISP's that use the vlan zero tag. What a shame. Theirs only a small group of users in this predicament who are technically efficient enough to implement these scripts and changes.

              C 1 Reply Last reply Reply Quote 0
              • C
                cucu007 @michaellacroix
                last edited by

                @michaellacroix

                This is very sad to hear considering that a $30 walmart router can work just fine with the VLAN 0 from frontier. I also tested using openwrt and those are working fine, but pfsense has been my favorite FW and I would dearly miss it to replace it with something else. I am optimistic Stephen and the team can get something going for those of us using e1000 NICs.

                M 1 Reply Last reply Reply Quote 0
                • M
                  michaellacroix @cucu007
                  last edited by

                  @cucu007

                  yep, i moved on to different hardware..

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    cucu007 @michaellacroix
                    last edited by

                    @michaellacroix What hardware you using now?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      michaellacroix @cucu007
                      last edited by

                      @cucu007

                      I have a supermicro Open Source Router Firewall X10SLH-N6-ST031 E3-1270 V3. I needed something that could handle the 2gb service.

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        cucu007 @michaellacroix
                        last edited by

                        @michaellacroix said in How to get pfSense WAN to accept VLAN 0:

                        X10SLH-N6-ST031 E3-1270 V3

                        Looks a bit too big for my space, but if you got the space I am sure this can handle it just fine.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          michaellacroix @cucu007
                          last edited by

                          @cucu007

                          I think I still have the PC i used that has the e1000 nics in it. I'm going to see if I have time to test over the weekend. I'll let you know.

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            cucu007 @michaellacroix
                            last edited by cucu007

                            @michaellacroix

                            Thank you Michael, are you on ATT or Frontier? I am on frontier. When I was on comcast (xfinity) I never had an issue with this VLAN 0 tag thing.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              michaellacroix @cucu007
                              last edited by

                              @cucu007

                              I am on frontier fiber. I also had comcast and didn't have an issue either, They dont do vlan tagging on their connection. It seems to be a phone company thing. If you have the equipment the easiest thing to do is create a vm of the pfsense router from hyperv. The vswitch stripps out the vlan tagging and connects without issues.

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                cucu007 @michaellacroix
                                last edited by

                                @michaellacroix

                                Hi Michael, I dont have the VM capabilities at the moment...I am sort of focus in doing this natively. Great to hear that you have frontier, so we are in the same page.

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jarhead @cucu007
                                  last edited by

                                  @cucu007 The easiest thing to do is used a managed switch between the ONT and pfSense. It'll strip the vlan also.

                                  1 Reply Last reply Reply Quote 1
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Really we want two things to happen here. The e1000 driver needs to be fixed so it passes VLAN0 tagged packets. FreeBSD should probably be accepting priority tagged packets and not dropping them by default. Those two things would negate the need for a script at all on anything but AT&T.

                                    Steve

                                    1 Reply Last reply Reply Quote 1
                                    • c45p32C
                                      c45p32 @michaellacroix
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • c45p32C
                                        c45p32 @michaellacroix
                                        last edited by

                                        @michaellacroix This is the same error I was getting when I tried to upgrade to 22.05 as well on both igb0 and em0.

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jalano @Cool_Corona
                                          last edited by

                                          @cool_corona said in How to get pfSense WAN to accept VLAN 0:

                                          Try to put pfsense into a VM and run VLAN tagging on the WAN interface using VLAN 0.

                                          Then see if it works.

                                          I'm trying to set this up right now - I have Proxmox running and have pfSense installed, but I do not see how to enable VLAN 0 on the WAN interface.

                                          In Proxmox, when I edit the VM pfSense is on and edit the WAN interface, there is a spot for VLAN tag that has the option of "no VLAN" which is the default, but if you put any number outside of 1-4094, the box turns red and refuses to accept it.

                                          Where do you put this configuration? It appears Proxmox thinks VLAN 0 is not a valid tag to put on the interface.

                                          stephenw10S 1 Reply Last reply Reply Quote 0
                                          • Bob.DigB
                                            Bob.Dig LAYER 8
                                            last edited by Bob.Dig

                                            Hyper-V uses VLAN 0 for the parent interface as far as I know. I hope nothing will be broken there if pfSense changes its behavior in the future.

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