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

    Multiple home and static routing

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 2.0k 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.
    • F
      fluca1978
      last edited by

      Hi all,
      I've got a setup with the WAN, LAN and OPT1 interfaces. The WAN has a default gateway to access and expose internet services, the LAN has another gateway configured with static routes to connect to a remote LAN, and the same should happen on the OPT1. The schema is the following:

      WAN -> wan_router
      LAN (192.168.4.0/24) -> VPN router -> 192.168.1.0/24
      OPT1 (192.168.44.0/24) -> ?

      I'd like to have the OPT1 network to be routed to all the static routes of the LAN, as the LAN interface can work as default gateway of the OPT1 interface for all traffic that is not directed to the internet directly (i.e., is not directed to the WAN interface).
      I've allowed the traffic to bypass firewall rules on the same interface, and I have at the moment a policy that allows every kind of traffic to go thru the interfaces. I cannot add a static route on the OPT1 interface to the 192.168.1.0 network since there is already a static route for such network on the LAN interface.
      How can I get the OPT1 interface routed to the VPN router and therefore to the 192.168.1.0 network?

      1 Reply Last reply Reply Quote 0
      • F
        fluca1978
        last edited by

        To make it simpler to understand, I've done a diagram with the main setup.

        Now, the 192.168.4.0 network on the LAN interface has a static route to 192.168.1.0 via 192.168.4.245, I'd like to have the same for the network 192.168.44.0, that is a connection to the 192.168.1.0 via 192.168.44.245 but the system says that I cannot add a static route to the 192.168.1.0 network since there is already one. But the interfaces are different!

        net1.png
        net1.png_thumb

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          It's not yet possible to have multiple paths to reach the same destination network in that way, even if they are all internal.

          You might be able to pull this off if all of the involved routers can run some kind of dynamic routing protocol (RIP? OSPF? BGP?), but someone else may have to chime in on that if it's even possible.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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