• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Nov 6, 2019, 9:06 AM

    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
    • N
      NogBadTheBad
      last edited by NogBadTheBad Nov 6, 2019, 10:43 AM Nov 6, 2019, 10:02 AM

      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 Nov 27, 2019, 8:26 PM Nov 27, 2019, 12:12 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Y
          yogitiger Banned
          last edited by Jan 20, 2020, 12:21 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • D
            david700 Banned
            last edited by Jan 25, 2020, 3:32 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Jan 25, 2020, 4:09 PM

              @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 Feb 4, 2020, 11:32 AM

                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.
                  This community forum collects and processes your personal information.
                  consent.not_received