Skip to main content
frenaud
New Member
October 17, 2013
Question

Missing static route

  • October 17, 2013
  • 2 replies
  • 13122 views
I have a Fortigate 60D configured with dual ISPs. The goal is to set up basic redundant links (simple active/passive failover). WAN1 is a cable connection with a static IP address WAN2 is a DSL PPPoE I' ve unchecked " Retrieve default Gateway from server" on both interfaces and manually configured static routes: config router static edit 1 set device " wan1" set distance 20 set gateway 109.172.92.1 set priority 10 next edit 2 set device " wan2" set distance 20 set gateway 66.158.128.24 set priority 20 next end The problem is that the Gateway for WAN2 doesn' t show up in the routing table: S* 0.0.0.0/0 [20/0] via 109.172.92.1, wan1, [10/0] C 10.10.50.0/24 is directly connected, internal C 66.158.128.24/32 is directly connected, ppp1 C 72.10.130.180/32 is directly connected, ppp1 C 109.172.92.0/24 is directly connected, wan1

    2 replies

    rwpatterson
    New Member
    October 17, 2013
    I' m pretty sure you will only see both routes if the priorities and distances are equal.
    frenaud
    frenaudAuthor
    New Member
    October 17, 2013
    According to the docs, only distances have to be the same. EDIT: Tried setting same priority on both interfaces but still no change.
    rwpatterson
    New Member
    October 17, 2013
    Perhaps the DHCP interface cannot have a static route? Edit***** I' m thinking that the pppoe network connection is handled differently, but don' t ask me for written proof.
    frenaud
    frenaudAuthor
    New Member
    October 17, 2013
    You put me on the right track rwpatterson! With the PPPoE, it seems that the Fortigate takes its " distance" parameter from the " interface" screen in the GUI (which is at 5 by default). I set my WAN1 distance to 5 (it was already set to 5 in the " interface" screen, but to 20 in the " route" screen) and I' ve got both now. Thanks for the help.
    rwpatterson
    New Member
    October 17, 2013
    Glad I could help.
    ZANOOB
    New Member
    July 17, 2020

    I got the same issue, but i do not see the distnace setting on fortigate interface GUI.

     

    frenaud:

    Could you please let me know where you can find the distance on interface GUI?