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

Static routing

Scheduled Pinned Locked Moved Firewalling
2 Posts 2 Posters 775 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.
  • S
    shijo1214
    last edited by Nov 8, 2016, 3:21 PM

    Hi

    can you please to configure static route

    I have multiple vlans and all VLANs are routing each other (using layer 3 switch for this operation)

    vlan 1 I connected to wan port and assigned ip 10.10.10.10 and configured gateway 10.10.10.1

    I connected my pc to vlan 2 and assigned ip 20.20.20.20, I am trying to access to pfsense WAN port from my PC but not able to access.
    can you please help me to create static route for this issue?

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Nov 8, 2016, 3:37 PM Nov 8, 2016, 3:33 PM

      Why would you need a static route for this?  So you have a downstream router (layer 3 switch) actually acting as layer 3 switch??

      More than happy to help, but going to need some info other than  vlan 1 and some BS made up IPs  are these rfc1918 space or public?

      If you have a downstream router doing the routing, what would pfsense care about vlans?  What does it matter what vlan is on your wan?

      So you have something like attached??  If not please draw..

      In such an example setup as I have attached.  The default route of your dowstream router would be pfsense IP address in the the transit, lets call it 192.168.0.1 and in pfsense you would have routes to your 192.168.1, .2 and .3 networks pointing to your downstream routers interface in the transit - 192.168.0.2 for example.  You could use summary routing depending on what your using for your downstream networks and what your using for your transit.  For example if using say 172.16.0/30 as your transit a single route of 192.168/16 could be used to tell pfsense to use your downstream router to get to those networks.

      If pfsense is natting you would have to allow for natting of these downstream networks, and also your your firewall rules on your transit interface would have to allow for these downstream networks, etc.

      setupdownstream.jpg
      setupdownstream.jpg_thumb

      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.8, 24.11

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received