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

Adding/importing a list of routes

Scheduled Pinned Locked Moved Routing and Multi WAN
5 Posts 2 Posters 201 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
    along5664
    last edited by Feb 20, 2025, 8:12 PM

    Is there a way to add/import a list of routes? I need to add a list of about 50 routes, and looking to not have to do them one by one. Thanks.

    M 1 Reply Last reply Feb 20, 2025, 8:48 PM Reply Quote 0
    • M
      michmoor LAYER 8 Rebel Alliance @along5664
      last edited by Feb 20, 2025, 8:48 PM

      @along5664
      What are we talking about here? Dynamic routing routes or static routes? Static routes there’s no import feature as far as I know. Dynamic routing you accomplish this through prefix-lists

      Firewall: NetGate,Palo Alto-VM,Juniper SRX
      Routing: Juniper, Arista, Cisco
      Switching: Juniper, Arista, Cisco
      Wireless: Unifi, Aruba IAP
      JNCIP,CCNP Enterprise

      A 1 Reply Last reply Feb 20, 2025, 9:16 PM Reply Quote 0
      • A
        along5664 @michmoor
        last edited by Feb 20, 2025, 9:16 PM

        @michmoor staic routes is what I am looking for.

        M 1 Reply Last reply Feb 20, 2025, 9:21 PM Reply Quote 0
        • M
          michmoor LAYER 8 Rebel Alliance @along5664
          last edited by Feb 20, 2025, 9:21 PM

          @along5664 no import list in the GUI unless you feel comfortable modifying the config.xml file? You can investigate that file and see how static routes are configured there and programmatically build your static routes there.
          Another option is to aggregate routes. This is dependent on what networks you are trying to reach and how well you understand subnetting. So let’s say all your remote subnets are in the 192.168.X.X range you can create a static route 192.168.0.0/16.

          Firewall: NetGate,Palo Alto-VM,Juniper SRX
          Routing: Juniper, Arista, Cisco
          Switching: Juniper, Arista, Cisco
          Wireless: Unifi, Aruba IAP
          JNCIP,CCNP Enterprise

          A 1 Reply Last reply Feb 20, 2025, 10:04 PM Reply Quote 0
          • A
            along5664 @michmoor
            last edited by Feb 20, 2025, 10:04 PM

            @michmoor I have a pile of /32 routes I may try the xml file. Thnx.

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