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

    Vlan working after reboot pfSense

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 2.3k 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.
    • ?
      Guest
      last edited by

      Hello,
      I have a problems with VLAN's and pfSense.

      If the power went down for some reason and pfSense is booting up (when power is back), vlans sometimes doesn't work.
      pfSense then hangs on retrieving WAN IP address (during booting), when it timeout after ~1 minutes (?) I get the console setup, here I choose to restart the pfSense box.
      When this is done all connections and vlans are working fine again!

      Is there maybe a solution or a script that automatic fix this vlan problem?
      (maybe a script which check's the WAN ip address, when it's empty on boot restart for example the pfSense box?)

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

        What NIC hardware are you using? What switch?

        Steve

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by

          and what pfense version? and how much memory?

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            I am running pfSense version 2.1:

            2.1-RELEASE (amd64)
            built on Wed Sep 11 18:17:48 EDT 2013
            FreeBSD 8.3-RELEASE-p11

            I have one switch and one router that handles the VLAN traffic.
            The switch is a Netgear GS108E and the router is a TL-WR1043ND running OpenWRT (Attitude Adjustment 12.09 final).
            pfSense has 2 Intel Gigabit CT Desktop Adapter NIC's.
            The NIC that handles VLAN traffic has been passtroughed to pfSense (for direct acces betwen pfSense and the NIC), the other one is a virtual adapter (vmxnet3) that handles all LAN traffic.

            pfSense is virtualized within VMware ESXi 5.5

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

              You could removing any hardware VLAN feature in pfSense. Does the passthough NIC claim to support any, hw_vlan_tagging for example?

              You could move the VLAN handling to ESXi.

              Steve

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                My NIC supports VLAN
                (following to this site: http://www.intel.com/content/www/us/en/network-adapters/gigabit-network-adapters/gigabit-ct-desktop-adapter.html)

                You have also a good point to move VLAN to ESXi, I will try this!

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

                  I meant what does the interface report when you query if with ifconfig. Some cards have a problem with hardware vlan tagging, you can disable it on an interface (em0 here) like so:

                  ifconfig emo -vlanhwtag
                  

                  If that works you can set it to run at boot using a cron job or with the Shellcmd package.

                  Steve

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