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

    I need to Create routes for my VLAN interface.

    Scheduled Pinned Locked Moved Firewalling
    firewall
    7 Posts 7 Posters 665 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.
    • A
      Ashwani27 LAYER 8
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by NogBadTheBad

        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 ☺

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        1 Reply Last reply Reply Quote 0
        • G
          glark Banned
          last edited by glark

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Y
            yogitiger Banned
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • D
              david700 Banned
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                @Ashwani27 said in I need to Create routes for my VLAN interface.:

                10.31.32

                Do you have hosts on this lan network? Or is it just going to be transit network to your downstream router.. Your going to run into asymmetrical problems trying to use a network with hosts on it as a transit network.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • C
                  chrisevans2500
                  last edited by

                  I am also wondering about the same thing. If you found a fix then please do let me know. thanks in advance :)

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