• 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

Scheduled Pinned Locked Moved General pfSense Questions
415 Posts 26 Posters 225.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.
  • S
    stephenw10 Netgate Administrator
    last edited by Sep 22, 2022, 7:42 PM

    That is certainly the intention. You can never be 100% sure but I'd be very surprised if it wasn't at this point.

    Steve

    1 Reply Last reply Reply Quote 0
    • C
      c45p32
      last edited by Sep 23, 2022, 1:49 PM

      I loaded dev snapshot this morning onto my back-up router em0 and wasn't able to connect on VLAN0. I don't have a way to test igb0 without taking my main router down.

      M 1 Reply Last reply Sep 23, 2022, 1:52 PM Reply Quote 0
      • M
        michaellacroix @c45p32
        last edited by Sep 23, 2022, 1:52 PM

        @c45p32 I will be using my test pc this afternoon and it has the em0 driver also. I'll let you know my results also.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Sep 23, 2022, 3:16 PM

          In my testing here neither igb or em appear to pass vlan0 tagged traffic. It doesn't appear in a pcap.
          But other drivers do and pfSense will accept and respond to that without netgraph.

          So as I understand it the script does work in Opnsense / FreeBSD 13.1?
          Can someone confirm that?

          If so it's either a regression in 14 or they have patched it themselves. Or they are using the kmod non-iflib driver.

          Steve

          J 1 Reply Last reply Sep 23, 2022, 3:56 PM Reply Quote 0
          • J
            Jarhead @stephenw10
            last edited by Jarhead Sep 23, 2022, 3:56 PM Sep 23, 2022, 3:56 PM

            @stephenw10 Opnsense works with em and vlan0.

            S S 2 Replies Last reply Sep 23, 2022, 3:57 PM Reply Quote 0
            • S
              Schwiing @Jarhead
              last edited by Sep 23, 2022, 3:57 PM

              @jarhead Hasn't Opnsense not had this problem at all (natively working with VLAN0)?

              J 1 Reply Last reply Sep 23, 2022, 3:59 PM Reply Quote 0
              • J
                Jarhead @Schwiing
                last edited by Sep 23, 2022, 3:59 PM

                @schwiing Just since moving to FreeBSD 13. Had the same issue before 13 though, ie not accepting vlan0.

                S 1 Reply Last reply Sep 23, 2022, 4:02 PM Reply Quote 0
                • S
                  Schwiing @Jarhead
                  last edited by Sep 23, 2022, 4:02 PM

                  @jarhead Sounds right. I'd assume then with PFsense going to FreeBSD 14, this should be solved...maybe i wont need a switch between the ONT and Router.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator @Jarhead
                    last edited by Sep 23, 2022, 4:07 PM

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

                    Opnsense works with em and vlan0

                    And also without requiring a netgraph script?

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

                    I'd assume then with PFsense going to FreeBSD 14, this should be solved...

                    You would think but it doesn't appear to be the case so there must be more involved here.

                    J 1 Reply Last reply Sep 23, 2022, 4:13 PM Reply Quote 0
                    • J
                      Jarhead @stephenw10
                      last edited by Sep 23, 2022, 4:13 PM

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

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

                      Opnsense works with em and vlan0

                      And also without requiring a netgraph script?

                      Correct.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Sep 23, 2022, 11:53 PM

                        Hmm, looks like they are using identical drivers.

                        Did you test with em or igb specifically? Though they are the same driver.... except if they're not!

                        S J 2 Replies Last reply Sep 24, 2022, 12:08 AM Reply Quote 0
                        • S
                          Schwiing @stephenw10
                          last edited by Sep 24, 2022, 12:08 AM

                          @stephenw10 would anyone be able to test with ix?

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Sep 24, 2022, 12:17 AM

                            It works with ix with the netgraph script in 2.6 and I expect it to work with ix without a script in 2.7 because main has the vlan0 dhclient patch.

                            It's worth trying that on em/igb too since I can't see any different there. Though I can't see how it could work given it doesn't even appear in a pcap. I could be missing something....

                            1 Reply Last reply Reply Quote 0
                            • C
                              c45p32
                              last edited by Sep 24, 2022, 12:31 AM

                              I loaded opnsense onto that same backup router and I can’t get it to work on em0. I even went into the attic, got the ISP router to formally release the IP and still no go. So not sure how people are getting it to work on opnsense. I’m on Frontier fiber College Station, Texas.

                              J 1 Reply Last reply Sep 24, 2022, 2:37 PM Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Sep 24, 2022, 2:18 PM

                                Ah, well that would make more sense. Still seem to be conflicting reports.

                                I suspect there are other issues at work and people have just assumed it was the e1000 driver problem because that's known to exist.

                                As far as I can see the new CE snapshots should respond exactly like the current OPNSense does. Still running some tests though.

                                Steve

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Jarhead @stephenw10
                                  last edited by Sep 24, 2022, 2:31 PM

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

                                  Hmm, looks like they are using identical drivers.

                                  Did you test with em or igb specifically? Though they are the same driver.... except if they're not!

                                  I use a Protectli Vault with em interfaces.
                                  Plug it right into the ONT and it works.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    Jarhead @c45p32
                                    last edited by Sep 24, 2022, 2:37 PM

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

                                    I loaded opnsense onto that same backup router and I can’t get it to work on em0. I even went into the attic, got the ISP router to formally release the IP and still no go. So not sure how people are getting it to work on opnsense. I’m on Frontier fiber College Station, Texas.

                                    What version of Opnsense?
                                    I see the latest has all kinds of problems.
                                    Try 22.7. Works with em drivers. Plug drirectly into the ONT.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Sep 24, 2022, 2:57 PM

                                      If you run a pcap can you see the vlan0 tagged dhcp responses?

                                      M 1 Reply Last reply Sep 24, 2022, 3:10 PM Reply Quote 0
                                      • M
                                        michaellacroix @stephenw10
                                        last edited by Sep 24, 2022, 3:10 PM

                                        @stephenw10

                                        I just tested the latest pfsense dev image using em0 as my wan interface and it was able to pickup an IP address. I'm using frontier fiber and was directly connected to the ONT.
                                        This is hopeful...

                                        1 Reply Last reply Reply Quote 1
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Sep 24, 2022, 4:41 PM

                                          Yes that is useful.

                                          It would be very interesting to see if those DHCP replies appear in a pcap. I wasn't able to see vlan0 tagged pings but perhaps some off-loading allows the udp dhcp packets....

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