Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
frenaud
New Contributor

Missing static route

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
7 REPLIES 7
rwpatterson
Valued Contributor III

I' m pretty sure you will only see both routes if the priorities and distances are equal.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
frenaud

According to the docs, only distances have to be the same. EDIT: Tried setting same priority on both interfaces but still no change.
rwpatterson
Valued Contributor III

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.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
frenaud
New Contributor

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
Valued Contributor III

Glad I could help.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
ZANOOB

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?

rwpatterson
Valued Contributor III

On the page that displays the static routes, change the column settings to show the distance and priority.

 

In the routing menu, you have to enter the advanced area on that route to see those parameters. It's not in the interface menu.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
Labels
Top Kudoed Authors