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

Static route is showing but not configured.

Hi Guys,

 

I have not configured any static route but it is showing in the routing table.

 

Kindly suggest on the same.

 

1 Solution
srajeswaran
Staff
Staff

Can you share the route detaiils? Is it a VPN route?

config vpn ipsec
    edit <name>
        set type dynamic
        set add-route {enable | disable}
    next
end

https://docs.fortinet.com/document/fortigate/6.4.5/administration-guide/534155/dynamic-ipsec-route-c...
https://community.fortinet.com/t5/Support-Forum/Static-route-is-showing-but-not-configured/td-p/2658...

Regards,

Suraj

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

View solution in original post

8 REPLIES 8
srajeswaran
Staff
Staff

Can you share the route detaiils? Is it a VPN route?

config vpn ipsec
    edit <name>
        set type dynamic
        set add-route {enable | disable}
    next
end

https://docs.fortinet.com/document/fortigate/6.4.5/administration-guide/534155/dynamic-ipsec-route-c...
https://community.fortinet.com/t5/Support-Forum/Static-route-is-showing-but-not-configured/td-p/2658...

Regards,

Suraj

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

Shantilal1998

Thanks..

It was resolved after adding.. set add-route disable..

esalija

add-route

Enable/disable control addition of a route to peer destination selector.

option

-

disable

 

Option

Description

disable

Do not add a route to destination of peer selector.

enable

Add route to destination of peer selector.

 

https://docs.fortinet.com/document/fortigate/7.4.0/cli-reference/373620/config-vpn-ipsec-phase1

Toshi_Esumi

I know your immediate problem was solved by this. But you still need routes, either static or dynamic, to pass traffic over the VPN.

 

Toshi

Shantilal1998

I am using BGP for routes.

Toshi_Esumi
SuperUser
SuperUser

Or, is it a default static route(s) pulled via DHCP or PPPoE? Just show the GUI screenshot or "get router info routing-t all" in CLI.

 

Toshi

nageentaj
Staff
Staff

Hi Team,

Query :Static route is showing but not configured.
Could you please share us the current firmware along with the output of below commands
#get router info routing table details
#diag vpn ike routes

also please point out which route you are referring to in the routing table.

we will be waiting for the update




Muhammad_Haiqal

Hi @Shantilal1998 ,

This routing table will automatically shows:

1. PPPOE/DHCP interface
2. Connected interface
3. Dynamic routing (BGP/OSPF)

Hope it answer your questions.

haiqal
Labels
Top Kudoed Authors