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

    Best way to add vlan to the lan interface?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 1.7k 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.
    • R Offline
      romainp
      last edited by

      Hi all,
      I am playing with vlans does days but I still have some issue affecting a vlan tag to the lan interface. Each attempts that I have made had result with a lost of the lan interface so I am wondering with on of you guys can give me the steps to achieve this.
      right now, I have this

      LAN (192.170.1.1) -> em1
      LAN has also a DHCP attached

      I have tried this:

      • Add vlan to em1
      • switch LAN from em1 to VLAN1

      But at this point I loose my connectivity to the pf box

      So I have tried:

      • Add VLAN1 to em1
      • Add OP1 to em1
      • move OPT1 to VLAN1
      • switch LAN from em1 to opt1

      But I am not sure if this is the correct way.

      Can you give me some hints or advice to add a vlan tag to the lan interface?

      Thanks

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Should we assume you've already read:
        http://doc.pfsense.org/index.php/VLAN_Trunking

        and

        http://doc.pfsense.org/index.php/Multi-WAN_using_VLANs_with_pfSense

        Admittedly, the second link does much more than you want, but it should give you a decent overview of what you need to do.

        Hint: Don't assign the LAN interface to em1, use the em1 interface as your trunk interface.

        1 Reply Last reply Reply Quote 0
        • R Offline
          romainp
          last edited by

          Hi,
          Thanks for replying.

          Yes I have resd those doc, in fact I have just realized that I was no waiting enought when I loose the network because pf reconfiguring for a while and I tought that pf was dead and then reinstalled them each time…

          Ok but I still have this MAJOR issue:

          http://forum.pfsense.org/index.php/topic,30264.msg156674.html

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