I need to Create routes for my VLAN interface.


  • LAYER 8

    PfSense lan ip is 10.31.32.1 and it is connected to my switch interface that ip is 10.31.32.2.
    And i define a static route on my switch that is 0.0.0.0/0 10.31.32.1.
    I have L3 Switch and i configure VlAN10, VLAN20, VLAN30, and assign them a ip example,
    for VLAN10 IP is 10.31.10.1
    For VLAN20 IP is 10.31.20.1.
    In final i need to provide route in PF sense for .10.0 and .20.0 for gateway 10.31.32.2
    So please tell me how can i configure on PF sense firewal.



  • System -> Routing -> Gateways

    Create a gateway called L3_SWITCH_IPV4 pointing to 10.31.32.2

    System -> Routing -> Static Routes

    Add routes for 10.31.10.0/24 & 10.31.20.0/24 via L3_SWITCH_IPV4 10.31.32.2

    If you plan to add IPv6 at a later date do the same but call the additional gateway L3_SWITCH_IPV6

    On the L3 Switch create a default route via 10.31.32.1 so everything non local goes out the pfSense LAN interface, but looks like you've done that ☺


Log in to reply