• 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.8k
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.
  • C
    c45p32
    last edited by Feb 17, 2022, 3:25 PM

    Don't upgrade to 2.6.0 or CE 22.01 it breaks the vlan0 script. The script runs without errors, and you can assign the correct interface to WAN, but it won't get an ip address from your ISP. Tried this on 2 routers and got the same result. Rolled back to 2.5.2 and everything works again. This is just a heads up to people wanting to use this script.

    S 1 Reply Last reply Feb 17, 2022, 4:47 PM Reply Quote 1
    • S
      stephenw10 Netgate Administrator @c45p32
      last edited by Feb 17, 2022, 4:47 PM

      @c45p32 What NICs are you using?
      This is almost certainly the same issue pfatt users are seeing.

      Steve

      C 1 Reply Last reply Feb 17, 2022, 9:16 PM Reply Quote 0
      • C
        c45p32 @stephenw10
        last edited by Feb 17, 2022, 9:16 PM

        @stephenw10

        Both routers use intel nics.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Feb 17, 2022, 11:34 PM

          Assuming they are em or igb loading Intels driver will probably fix it as shown here:
          https://github.com/MonkWho/pfatt/issues/67#issuecomment-1043358822

          Not a permanent solution but would confirm the problem.

          Steve

          C 1 Reply Last reply Feb 18, 2022, 12:43 AM Reply Quote 1
          • C
            c45p32 @stephenw10
            last edited by Feb 18, 2022, 12:43 AM

            @stephenw10

            Oh... Thank You! One is em and the other is igb, so I will give this a try later night.

            C 1 Reply Last reply Feb 18, 2022, 4:42 AM Reply Quote 0
            • C
              c45p32 @c45p32
              last edited by Feb 18, 2022, 4:42 AM

              Tested the driver and was still not able to get an IP address.

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Feb 18, 2022, 12:47 PM

                Would probably only work if it's igb carrying vlan 0 there. If it's em you'd need that instead.

                Steve

                C 1 Reply Last reply Feb 18, 2022, 4:53 PM Reply Quote 0
                • C
                  c45p32 @stephenw10
                  last edited by c45p32 Feb 18, 2022, 4:57 PM Feb 18, 2022, 4:53 PM

                  @stephenw10

                  Ok, I went ahead and went cowboy and upgraded my main router (igb) and it worked. I put the fix in then upgraded to 2.6.0 worked, went to CE, and still worked all the way from 2.5.2.

                  Do you have instructions on how to compile that driver for em? I tried and it couldn't find the kernel modules.

                  Thank you again for all your help!!

                  D C 2 Replies Last reply Feb 25, 2022, 6:26 PM Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Feb 18, 2022, 5:46 PM

                    You might need to use the merged driver for that. Not something I've tried recently.

                    D 2 Replies Last reply Feb 22, 2022, 4:05 PM Reply Quote 0
                    • D
                      dayneparrott
                      last edited by Feb 22, 2022, 12:40 AM

                      I can’t seem to get pfsense to pull an IP via vlan0 using that netgate script, using 2.5.2 CE with a HP NC552SFP+ card, Nokia GPON transceiver provided by Bell MTS (Central Canada).

                      I’ve set the MAC address for the old router in pfsense on the wan interface and in the script, it links fine. Doesn’t pull an IP address, just says 0.0.0.0

                      C 1 Reply Last reply Feb 22, 2022, 4:34 PM Reply Quote 0
                      • D
                        dayneparrott @stephenw10
                        last edited by Feb 22, 2022, 4:05 PM

                        @stephenw10

                        1 Reply Last reply Reply Quote 0
                        • C
                          c45p32 @dayneparrott
                          last edited by Feb 22, 2022, 4:34 PM

                          @dayneparrott

                          You need to set the mac address to your nic, and your interface example igb0. Make sure you reset your IP from your ISP. You also need to go into nic assignments and set your wan nic to ngeth0 after running the script.

                          D 2 Replies Last reply Feb 23, 2022, 11:59 PM Reply Quote 0
                          • D
                            dayneparrott @c45p32
                            last edited by Feb 23, 2022, 11:59 PM

                            @c45p32 Ahhh, the nic not the HH3000 Mac, I see. I’ll try that later today. What version of pfsense are you running?

                            1 Reply Last reply Reply Quote 0
                            • D
                              dayneparrott @c45p32
                              last edited by Feb 24, 2022, 12:01 AM

                              @c45p32 Also, there’s no way for me to release the current dynamic assignment via the HH3000, it’s glitchy and the management page just infinitely loads.

                              1 Reply Last reply Reply Quote 0
                              • D
                                dayneparrott @stephenw10
                                last edited by Feb 25, 2022, 4:41 PM

                                @stephenw10 Any help?

                                I am offering 0.1 ETH to anyone who can assist me in my ventures. I still can’t get an IP from bellmts via DHCP even after releasing the current IP via the HH3000 then plugging the Nokia gpon module back in

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Feb 25, 2022, 5:58 PM

                                  Are you sure you actually need VLAN0 on that connection?

                                  Are you actually seeing link LEDs? Does the NIC see the SFP module?

                                  S5teve

                                  D 1 Reply Last reply Feb 25, 2022, 6:09 PM Reply Quote 0
                                  • D
                                    dayneparrott @stephenw10
                                    last edited by Feb 25, 2022, 6:09 PM

                                    @stephenw10 I am relatively sure. Everyone else appears to be doing the same thing with Netgraph and it works fine for them. The NIC does see the module, the odd DHCP request goes out
                                    12:08:03.056513 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), le ngth 328)
                                    0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from a0:4 8:1c:66:41:00 (oui Unknown), length 300, xid 0x4eda3653, Flags [none] (0x0000)
                                    Client-Ethernet-Address a0:48:1c:66:41:00 (oui Unknown)
                                    Vendor-rfc1048 Extensions
                                    Magic Cookie 0x63825363
                                    DHCP-Message Option 53, length 1: Discover
                                    Client-ID Option 61, length 7: ether a0:48:1c:66:41:00
                                    Hostname Option 12, length 7: "pfSense"
                                    Parameter-Request Option 55, length 10:
                                    Subnet-Mask, BR, Time-Zone, Classless-Static-Route
                                    Default-Gateway, Domain-Name, Domain-Name-Server, Hostname
                                    Option 119, MTU

                                    It never acquires anything.

                                    And yeah the lights do blink when traffic is being sent

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dayneparrott @c45p32
                                      last edited by Feb 25, 2022, 6:26 PM

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by Feb 26, 2022, 12:52 AM

                                        What are you capturing on there? I would want to see the VLAN 0 tagged packet. Like here for vlan 42:

                                        00:50:32.646411 00:90:0b:76:8e:55 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 346: vlan 42, p 0, ethertype IPv4, (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
                                            0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 00:90:0b:76:8e:55, length 300, xid 0x3a52ef60, secs 7, Flags [none] (0x0000)
                                        	  Client-Ethernet-Address 00:90:0b:76:8e:55
                                        	  Vendor-rfc1048 Extensions
                                        	    Magic Cookie 0x63825363
                                        	    DHCP-Message Option 53, length 1: Discover
                                        	    Client-ID Option 61, length 7: ether 00:90:0b:76:8e:55
                                        	    Hostname Option 12, length 4: "5100"
                                        	    Parameter-Request Option 55, length 10: 
                                        	      Subnet-Mask, BR, Time-Zone, Classless-Static-Route
                                        	      Default-Gateway, Domain-Name, Domain-Name-Server, Hostname
                                        	      Option 119, MTU
                                        

                                        Steve

                                        D 1 Reply Last reply Feb 26, 2022, 10:47 AM Reply Quote 0
                                        • D
                                          dayneparrott @stephenw10
                                          last edited by Feb 26, 2022, 10:47 AM

                                          @stephenw10 It shows the packet, it isn’t tagged by vlan0 though, I just installed 2.5.2, previous tcpdump was from 2.4.4, I’ll see what it’s doing later today. I don’t think it’s the NIC as I have tried a whole plethora of devices, none of which will pull an IP via DHCP. Before having bellmts come by to replace the Nokia ont with an SFP module, itd link up and assign my win10 desktop a dynamic 207.x.x.x IP. It links, doesn’t pull an IP, I am so stumped. Offering .2 ETH to anyone who can help me get this working.

                                          N 1 Reply Last reply Mar 31, 2022, 2:34 AM Reply Quote 0
                                          99 out of 414
                                          • First post
                                            99/414
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.