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

Another Stab at VLANs

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 3 Posters 1.6k 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.
  • X
    xtropx
    last edited by Jul 26, 2011, 1:39 AM

    Despite my most sincere efforts, I can not obtain functionality of VLANs on pfsense 1.2.3.
    I have pfsense configured as follows:


    http://i427.photobucket.com/albums/pp360/xtropx/Interfaces-1.png
    http://i427.photobucket.com/albums/pp360/xtropx/INT_STATUS.png
    http://i427.photobucket.com/albums/pp360/xtropx/OPT1.png
    http://i427.photobucket.com/albums/pp360/xtropx/OPT2.png

    Switch:

    Fast Ethernet 0/1 has been configured as a trunk and has been connected to bge0.


    I was hoping that when I plugged my laptop into switchport 2 I would get an address in the 192.168.10.2-192.168.10.254 range, and if plugged into switchport 3 I would get an address in the 192.168.20.2-192.168.20.254 range.
    Not working. Any ideas?


    Regards,

    xtropx

    1 Reply Last reply Reply Quote 0
    • M
      Metu69salemi
      last edited by Jul 26, 2011, 12:52 PM

      You're missing trunk port in that switch. that port should be connected to pfsense.

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by Jul 26, 2011, 2:32 PM

        also might want to change the 'PVID' on client ports … otherwise your untagged packets from clients will go to the default VLAN1

        1 Reply Last reply Reply Quote 0
        • X
          xtropx
          last edited by Jul 29, 2011, 8:01 PM Jul 29, 2011, 12:55 AM

          Edit: Success. I had to add switchport trunk allowed vlan add x where x is the vlan id. I wasn't putting "add" in there. Then things worked perfectly. Plugged in to fa0/2 I get 192.168.10.x and fa0/2 I get 192.168.20.x. Solved!

          Regards,

          xtropx

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received