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

    Can't add static route

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 3.1k 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.
    • I
      itsmorefun
      last edited by

      hello,

      pfSense 2.0-BETA4  (i386)built on Thu Sep 23 11:51:18 EDT 2010 FreeBSD 8.1-RELEASE-p1

      I can't add a static route: "A valid gateway must be specified"

      My network:

      ComputersLan1
                                                  |172.16.0.x
                                                  |(LAN1)
                                                  |172.16.0.254
      MODEM–--------------------PFSENSE----------------NETWORK_CORE-----------------ComputersLan2
      192.168.0.254--192.168.0.251      10.0.0.254--10.0.0.253             172.17.0.0.254--172.17.0.0.x          
                      (WAN)                               (INTERCO)                                  (LAN2)

      Pfsense server have two networks card em0 and em1 connected to the Network-core with LAAG-LACP

      The 3 iface of pfsense are VLAN on the LAAG (laag0):
      WAN (DHCP and default gateway) 192.168.0.0/24
      LAN 172.16.0.0/24
      INTERCO 10.0.0.0/24

      I want to add a static route to join LAN2 (172.17.0.0/4)
      I had add a gateway:
      Interface: INTERCO
      name: Core
      Gateway: 10.0.0.253

      But when a want add the static route:
      Destination network: 172.17.0.0/24
      Gateway: i select  "Core - 10.0.0.253"

      I get: "A valid gateway must be specified"

      Thank in advance

      1 Reply Last reply Reply Quote 0
      • I
        itsmorefun
        last edited by

        Is this problem related to gateway problem that i had seen in
        others topic ?

        Thank

        1 Reply Last reply Reply Quote 0
        • N
          nocer
          last edited by

          hi,

          Looks like the problem is specific to pfsense itself. What happens if you go to shell and add static manually using route command?

          cheers,

          1 Reply Last reply Reply Quote 0
          • I
            itsmorefun
            last edited by

            @nocer:

            hi,

            Looks like the problem is specific to pfsense itself. What happens if you go to shell and add static manually using route command?

            cheers,

            if i download the config, edit it to manually add the static route en upload the config, that work.

            1 Reply Last reply Reply Quote 0
            • A
              axonxorz
              last edited by

              I can confirm this error. I have the following setup:

              Site 1----------------------- Site 2
               |                             |
              DNS at 192.168.11.123         Site2:Static route to 192.168.11.123 via LAN interface (Goes through IPSec)
              

              I get the same error "A valid gateway must be specified".
              Running an older version of pfSense on other hardware does not have this issue.

              Non-working version:
              2.0-BETA4  (i386)
              built on Mon Sep 27 05:13:14 EDT 2010
              FreeBSD 8.1-RELEASE-p1

              Working (old) version:
              2.0-BETA4  (i386)
              built on Sun Sep 5 18:43:23 EDT 2010
              FreeBSD 8.1-RELEASE

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