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

    Getting a VLAN to use the right Gateway

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 962 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.
    • P
      philpot
      last edited by

      I'm running pfsense 2.1

      I have a WRT54GS running DD-WRT firmware.

      I'm setting up a VLAN for guest network/wireless access. Everything works great. I'm using the pfsense as DHCP. Both wireless and wired clients can access the internet.

      My problem is I can't get the VLAN clients to use the correct gateway. We have a 10Mbit WAN2 and a 1Mbit WAN1 and I would like my VLAN to use the faster connection.

      I have a rule for VLAN:

      Any packets from VLAN to any destination use WAN2Gateway.

      This same rule works fine on my LAN, but not on the VLAN.

      The VLAN only has two rules. Block everything heading to the LAN, and allow everything else but use WAN2Gateway (but it doesn't work!)

      Any tips would be appreciated. I'm guessing its something silly I'm forgetting.

      Edit: And as soon as I save this post, my IP address switched to the correct gateway. I don't know why it took so long to show the change. (I was just googling show my IP). There should be a way to mark a post as resolved.

      1 Reply Last reply Reply Quote 0
      • G
        georgeman
        last edited by

        The reason it took a while is because pfSense is a stateful firewall. Rules changes do not apply to existing states. That's why it is always advised to flush the state table before testing ;)

        If it ain't broke, you haven't tampered enough with it

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