Navigation

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

    VLAN issues - cannot see out network

    Firewalling
    2
    6
    1912
    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.
    • T
      TyMac last edited by

      Sorry if this is the wrong section - did not know where this would fit in.

      I tried to configure a VLAN on an secondary nic that I eventually want to be tagged with multiple vlans but after configuring it and a Catalyst 3750 switch it does not seem to work. At one point I could arpping so I thought I had the config right - so I rebooted and then lost all connectivity. Taking the VLAN and deleting it I can now see my laptop up on the switch and it can get out to the internet. The nic card is vlan capable but I don't know about the FreeBSD driver:

      http://www.intel.com/content/www/us/en/network-adapters/gigabit-network-adapters/pro-1000-pt-dp.html

      The Switch is configured with the vlan and is currently in access configuration and not a trunk. Changing nothing on the switch I can get out once the pfsense vlan was removed and the port reconfigured as a normal lan port.

      Any ideas on where to start?

      1 Reply Last reply Reply Quote 0
      • Derelict
        Derelict LAYER 8 Netgate last edited by

        A non-VLAN-capable interface will not show up in the VLAN creation screen in pfSense I believe.

        On pfSense:

        Interfaces > Assign, VLAN tab Create VLAN 10 on the appropriate interface.
        Interfaces > Assign Create a new interface (if you haven't already done so)  Assign it to VLAN 10 on emX

        Configure the interface with IP address, etc.

        On the switch:

        int gig 0/14
        desc To pfSense
        switchport mode trunk
        switchport trunk allowed vlan add 10

        int gig 0/15
        desc To Workstation
        switchport mode access
        switchport access vlan 10

        or something like that.

        Chattanooga, Tennessee, USA
        The pfSense Book is free of charge!
        DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • T
          TyMac last edited by

          Hmm yes I guess it could be the trunk vs access setting I have on the pfsense port. I'll try to reconfigure and get back with you on it asap - thanks!

          1 Reply Last reply Reply Quote 0
          • T
            TyMac last edited by

            Thanks re-configuring the switch port to trunk allowed the vlan in pfsense to work after adding in a fw rule - however when I added a second vlan something strange happened where the new vlan took the em0 interface like it should but grabbed the mac address of one of my windows machines on the switch. I got an error on the switch stating the host was flapping between ports. That windows suystem could not lookup google and had intermittent ping response to hosts on its vlan / switch. I remember seeing the Windows mac address populating in pfsense for the em0 interface for some reason. Should I be adding a mac for vlans?

            1 Reply Last reply Reply Quote 0
            • Derelict
              Derelict LAYER 8 Netgate last edited by

              No.  You have something hosed up.  Maybe you created a loop somewhere?  Draw a diagram.

              Chattanooga, Tennessee, USA
              The pfSense Book is free of charge!
              DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • T
                TyMac last edited by

                @Derelict:

                No.  You have something hosed up.  Maybe you created a loop somewhere?  Draw a diagram.

                Yeap… not sure how that mac showed up when creating the vlan but it did. I deleted the vlan and added it again in pfsense and now I'm good. thanks!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post