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

    Vlan -> DIOCSETSTATUSIF error

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 4.4k 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.
    • J
      Juve
      last edited by

      Hello I am using pfsense in this way (0.96.4) :

      Internet–--->ISP router--->private class C ---> PFSENSE ----> DMZ with /29 public range
                                                                          |     |
                                                                        LAN   |
                                                                                |
                                                                            Wifi zone ( 4 AP) with captive portal activated

      On the Wifi zone NIC I create 2 Vlan, one for trusted computers and another one for public hotspot( redirected to captive portal)
      All is fine when adding VLAN and asociating them to the Wifi zone NIC. The 2 interfaces are briged with the wifi zone NIC. The problem comes up when I go to the rules tab, here I can see my 2 new cards (Vlan) but when I add one rule I've got an error on the top frame saying that it could not load the rules and that the error message of pfctl was : DIOCSETSTATUSIF
      I went to the /tmp and edited the rules file, I noticed that if I delete the lines about logininterface on the 2 new Interfaces pfctl stop generating this error.... but when I do a simple ifconfig, there is only one bridge up and nothing is coming on (tcpdump on pflog0 and wifi Nic and bridge0)..

      So perhaps, my NIC can't use Vlan (rlt8139d)...it is a test machine, the final one will use better NIC...

      If you have any idea....

      I will try on better cards

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        DIOCSETSTATUSIF generally means that pfctl is trying to operate on a non-existant interface.

        Do the VLANS really exist when you do a ifconfig?

        1 Reply Last reply Reply Quote 0
        • J
          Juve
          last edited by

          In fact….. no. Vlans are not present :-(

          I will investigate a bit more.

          Thank you for all that work. Each day I log into pfsense I say to myself...it's too perfect ! Features are awesome and GUI too !!!!

          1 Reply Last reply Reply Quote 0
          • J
            Juve
            last edited by

            Don't worry, my NIC can't support 802.1q ;-)

            delete this

            Thank you

            Merry Christmas ;-)

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