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

How to get pfSense WAN to accept VLAN 0

General pfSense Questions
25
414
206.9k
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.
  • P
    Patch @cucu007
    last edited by Nov 5, 2022, 5:46 AM

    @cucu007 see https://redmine.pfsense.org/issues/13511

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Nov 5, 2022, 3:53 PM

      That's only required to send vlan0 tagged traffic. Most connections that fail to get a DHCP lease from the ISP do so because the ISP is sending vlan0 tagged traffic. That will work in current 2.7 snapshots. See: https://redmine.pfsense.org/issues/12070

      Steve

      C 1 Reply Last reply Nov 5, 2022, 4:19 PM Reply Quote 0
      • C
        cucu007 @stephenw10
        last edited by Nov 5, 2022, 4:19 PM

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

        That's only required to send vlan0 tagged traffic. Most connections that fail to get a DHCP lease from the ISP do so because the ISP is sending vlan0 tagged traffic. That will work in current 2.7 snapshots. See: https://redmine.pfsense.org/issues/12070

        Steve

        Hi Steve,
        When would this be ready for us to comsume?

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Nov 5, 2022, 5:08 PM

          I have several CE test boxes running current snapshots and they have been pretty stable for some time now. Still hard to recommend using it in 'production' though.
          If you can test it that helps any issues of course.

          Steve

          1 Reply Last reply Reply Quote 0
          • J
            Jhiggy
            last edited by Nov 5, 2022, 7:50 PM

            Hey guys- I'm using Ziply fiber- which used to be frontier. It is doing exactly this. No ip address on WAN. I've updated my netgate 4100 to the latest dev build and ran the command "ifconfig ix2 pcp 4" and it shows the flag being set correctly. Still no IP address.

            I don't understand why this is even a problem. (I get it is because of vlan0-still) How can a major firewall manufacturer...which I actually paid for by the way...not allow all ISPs to work on their device? How can you then- choose to NOT support me. My last request for zero setup was completely ignored- now I know why. I've been in IT for a very long time and this is the first time I've ever run into something like this. First thing I'm doing for my new job is ripping out all the netgate devices that I'm responsible for- why trust a product that just doesn't even work on some internet connections in 2022?????! Absurd!

            F S 2 Replies Last reply Nov 5, 2022, 9:25 PM Reply Quote 1
            • F
              fresnoboy @Jhiggy
              last edited by Nov 5, 2022, 9:25 PM

              @jhiggy If you run pfsense in a virtual machine (ESXi is free for this), then you avoid this issue, and get a lot of advantages like snapshots that are very useful features that are not built into PFSense.

              To be honest, this stupidity that AT&T started (and now other Arris based ISPs use) with using VLAN0 and such is highly unusual. They make it very hard for you to use your own equipment. I would not be so harsh on the Netgate people as much as your ISP who inflicts this stupidity on the world.

              I think folks who have to suffer with these ISPs do have a great option by running in a ESXi VM. So it's not the end of the world even if this bug isn't fixed for a long time.

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator @Jhiggy
                last edited by Nov 5, 2022, 9:32 PM

                @jhiggy You might be hitting something else there because current 23.01 snaps can accept priority tagged traffic and can accept dhcp offers tagged that way.
                You don't usually need to add priority tags to the replies so setting a pcp value shouldn't be required.
                Perhaps that ISP has some other requirement like a vlan tag?

                The only thing outstanding there is the driver bug in e1000 that requires vlan hardware tagging be disabled. You wouldn't hit that on an ix NIC though.

                Steve

                1 Reply Last reply Reply Quote 0
                • J
                  Jhiggy
                  last edited by Nov 5, 2022, 10:49 PM

                  Sorry- I'm obviously really upset- I've flashed this brand new device 4 different times now with different versions with no luck. (I refuse to use that script- maybe it would work?) I purchased this so that I could learn the new Pfsense OS for my job and time is out. =/ All I know is that I've had an Edgerouter and Unfi gateway working out of the box-along with pfsense installed on a server. I also just tested with a cheap asus router working. Ziply has a hard time replacing an ONT that works with 99.9% of routers out there so I'm stuck.

                  What else can I try?

                  I tried the dumb switch between the ont with no luck either. I tried an untagged port in my unifi switch- same. It always detected it but always shows 0.0.0.0 as the ip. (I've reset the ONT and had ziply repush the config as well)

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Nov 6, 2022, 12:12 AM

                    First thing to do it grab a packet capture of the DHCP traffic on the WAN and see what's actually arriving. What made you think your ISP is using traffic in the first place? Perhaps you already saw it in a pcap?

                    https://docs.netgate.com/pfsense/en/latest/diagnostics/packetcapture/webgui.html

                    Steve

                    M 1 Reply Last reply Nov 16, 2022, 7:34 PM Reply Quote 0
                    • M
                      michaellacroix @stephenw10
                      last edited by Nov 16, 2022, 7:34 PM

                      @stephenw10
                      Hi All, in my testing with the limited equipment I have I noticed there is a small but noticeable performance increase with my wan connection when using 2.7.0 vs 2.6.0 using the netgraph script. When i get a chance i'll do a iperf throughput test to see if its actual or just me..
                      Has anyone else experienced this? Thanks All

                      M 1 Reply Last reply Nov 16, 2022, 8:04 PM Reply Quote 0
                      • M
                        michaellacroix @michaellacroix
                        last edited by Nov 16, 2022, 8:04 PM

                        @michaellacroix
                        Also wanted to note that when using ix# nic with netgraph on pfsense 2.6 I need to manually set my WAN interface speed at 10g as for some reason when its set to auto select it goes to 1gb where in 2.7 without netgraph it picks up the 10g connection on its own with auto select. Could be because of an updated driver in 2.7??? Not sure

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Nov 16, 2022, 8:12 PM

                          Hmm, not sure about the link a speed but pfSense would not be setting that directly when using the script since WAN is ng0.

                          I would certainly expect variation in throughput or loading. In 2.6 everything has to go through the netgraph overhead. That's completely removed in 2.7.

                          Steve

                          C 1 Reply Last reply Nov 16, 2022, 11:01 PM Reply Quote 0
                          • C
                            cucu007 @stephenw10
                            last edited by Nov 16, 2022, 11:01 PM

                            @stephenw10

                            Hi @stephenw10 ,
                            Do we know if the VLAN 0 issue is fix in the daily snapshots for 2.7? I am still running 2.5.2 because the frontier VLAn 0 issue. PLease advise, I would like to to move to Snapshot if VLAN 0 is fully functional without additional tricks. Thank you.

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Nov 16, 2022, 11:28 PM

                              If the only issue you were facing was that the ISP was sending priority tagged dhcp replies that is fixed in current 2.7 snaps.
                              But if you are running an e1000 NIC (em or igb) you still need to disable hardware vlan filtering because of the driver bug.

                              Steve

                              C 1 Reply Last reply Nov 17, 2022, 3:32 AM Reply Quote 0
                              • C
                                cucu007 @stephenw10
                                last edited by Nov 17, 2022, 3:32 AM

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

                                If the only issue you were facing was that the ISP was sending priority tagged dhcp replies that is fixed in current 2.7 snaps.
                                But if you are running an e1000 NIC (em or igb) you still need to disable hardware vlan filtering because of the driver bug.

                                Steve

                                My interfaces are showing as igbx, so what options or steps do I need to take if I decide to push my upgrade to snapshot?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Nov 17, 2022, 12:58 PM

                                  Then you will need to run:

                                  ifconfig igb0 -vlanhwfilter
                                  

                                  Assuming your WAN is igb0.

                                  You can run that at every boot using shellcmd:
                                  https://docs.netgate.com/pfsense/en/latest/development/boot-commands.html#shellcmd-option

                                  Steve

                                  C 1 Reply Last reply Nov 17, 2022, 3:48 PM Reply Quote 0
                                  • C
                                    cucu007 @stephenw10
                                    last edited by Nov 17, 2022, 3:48 PM

                                    @stephenw10

                                    Thank you Steve, I will give it a try probably this weekend and report back.

                                    Is this something that will be permanetly fix in the final release of 2.7 or we will need to still use this workaround?

                                    M 1 Reply Last reply Nov 17, 2022, 4:30 PM Reply Quote 0
                                    • M
                                      michaellacroix @cucu007
                                      last edited by Nov 17, 2022, 4:30 PM

                                      @cucu007

                                      Hi All,

                                      I have frontier and use the netgraph script to get my IP from dhcp. I noticed Frontier has a very short dhcp lease so I devised a couple of upgrade plans. I have two upgrade plans. Would like to get opinions on which one is better or if anyone thinks I need to add or change anything. Thanks

                                      Plan 1

                                      1. Set WAN DHCP to static IP (Should have 30min before disconnect).

                                      2. Change interface from ngeth0 to ix0. Verify internet connectivity.

                                      3. Disable shellcmd to run netgraph script.

                                      4. Reboot

                                      5. Proceed with upgrade.

                                      6. If all goes well change WAN interface from static to dhcp.

                                      Plan 2

                                      1. Clean install of 2.7.0

                                      2. Edit backup config.
                                        a. Change WAN interface from ngeth0 to ix0.
                                        b. Disable shellcmd or remove

                                      3. Restore config - reboot

                                      S 1 Reply Last reply Nov 17, 2022, 5:52 PM Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by Nov 17, 2022, 5:49 PM

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

                                        Is this something that will be permanetly fix in the final release of 2.7 or we will need to still use this workaround?

                                        The actual driver issue is still outstanding upstream as far as I know so it would ionly be in 2.7 once that's fixed. It might be possible to include a gui option to disable it as a workaround.

                                        Though reviewing the open bug the referenced FreeBSD bug is now closed but also doesn't fit this exactly.

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator @michaellacroix
                                          last edited by Nov 17, 2022, 5:52 PM

                                          @michaellacroix
                                          Your plan one there would likely fail because netgraph would still be running and attached to ix0. I would disable the NG shellmd and reboot first. Then reconfigure WAN and test/upgrade.

                                          Steve

                                          M 1 Reply Last reply Nov 18, 2022, 5:15 PM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.