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

    I'm lost (openwrt + pfsense) VLAN help!!!

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 2.0k 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.
    • G
      george__
      last edited by

      Hardware
      – pfsense
      -- HP Procurve switch 
      -- TP-Link TL-WR1043ND

      VLANs

      1 - unused but  I didn't delete
      9 - only for hardware pfsense router etc)
      12 - business
      15 - public

      Everything seems to be working.. I can plug cables into ports designated for each VLAN from the switch and computer gets the proper IP and DNS server for each VLAN. So I don't think firewall rules's the issue but to double check I changed VLAN 5 and VLAN 6 to a "allow all"

      The switch portion, for each VLAN I untagged ports I wanted to use for that VLAN, tagged the pfsense gateway port and turned the rest off.  For example if I wanted to use ports 1 - 5 for VLAN 9 with port #3 being the gateway. 3 is tagged, 1-4 & 5 are untagged, remaining are turned off.

      BUT I can't figure out the openwrt router . For example trying to get VLAN 12 working I tried

      1. Make a interface for port 2 on the router (eth0.2) - set it to static IP pointing to VLAN 12 gateway
      2. Go to switch subsection and modify VLAN 2 so Port 1-4 is off leaving port 2 as untagged (since the port that connects router port #2 to the switch is untagged) ? And later if I wanted wireless tag the cpu?
      3. Remove all firewall settings
      4. Remove all DHCP options

      The only one I think is sort of working is VLAN 4... I got it to work by leaving port 4 on VLAN 1 and with a dumb switch it will hand out VLAN 4 DHCP server settings.

      Any help?

      Thanks

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

        Totally confusing when you say "VLAN 4" and there's no VLAN 4 in your list.  Impossible to know what you're saying.

        https://forum.pfsense.org/index.php?topic=88942.0

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/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
        • G
          george__
          last edited by

          @Derelict:

          Totally confusing when you say "VLAN 4" and there's no VLAN 4 in your list.  Impossible to know what you're saying.

          https://forum.pfsense.org/index.php?topic=88942.0

          Will read!

          I meant from OpenWRT switch screen which looks like this http://i.stack.imgur.com/Rpel5.png. Under VLAN ID it's set at 1 but the port is connected to the VLAN 4 ports on the switch but works…So is VLAN ID important on the router side ?

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

            No idea what OpenWRT even looks like.  This isn't an OpenWRT forum.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.