You are on page 1of 1

Technical Note : Conditions to get a route in the FortiGate routing table - Valid next-h...

Page 1 of 1

Technical Note : Conditions to get a route in the FortiGate routing table - Valid next-hop for DHCP, PPoE, static routes (default route)
Products
FortiGate FortiGate v3.0 FortiGate v4.0

Print Article

Description
This article describes the conditions necessary to have a valid next-hop or default gateway on a FortiGate and get the route in the routing table. This applies to DHCP, PPoE, or static routes.

Scope
All FortiGate or VDOM running in NAT/Route mode.

Solution
A FortiGate will consider a next-hop or default gateway valid and insert it in the routing table under the following conditions : Static routes on interfaces with a static IP address : next-hop or default gateway must be in the same subnet as the interface and interface must be UP. If other similar static routes are configured on other interfaces, the distance must be equal or lower. See other related articles about Default or Static route. DHCP interface : next-hop or default gateway acquired by the DHCP server must be in the same subnet as the interface PPPoE : next-hop or default gateway acquired can be in a different subnet than the interface For any interface type : if a ping-server is configured (set detectserver "IP"), it must reply to the ping, otherwise the static routes are invalidated for the given interface.

Illustration of PPPoE where the FortiGate will create a connected interface in /32 a the next-hop in a different subnet than the interface itself.

FGT60B3907504961 # get router info routing-table all S* 0.0.0.0/0 [1/0] via 10.5.98.1, ppp0 << next hop C 192.168.1.0/24 is directly connected, internal << /32 interface created C 10.5.98.1/32 is directly connected, ppp0 for the next-hop C 10.7.255.211/32 is directly connected, ppp0 << interface

Related Articles
Configuring a Default Route (Default Gateway) on a FortiGate in NAT mode Technical Note : Configuring link redundancy - Traffic load-balancing / load-sharing - ECMP (Equal Cost Multiple Path) - Dual Internet or WAN scenario Technical Note : Setting priority on static default routes to create a primary (preferred) and a secondary path Troubleshooting tips for FortiOS routing (RIP, OSPF, BGP, static routes, ECMP) List of most popular articles related to FortiOS Routing (ECMP, STATIC ROUTE, RIP, OSPF, BGP, BFD, DSCP, Troubleshooting...) Technical Note : Identical next hops in the routing table over different FortiGate interfaces (static or dynamic routes)
Last Modified Date: 11-10-2009 Document ID: FD30119

http://kb.fortinet.com/kb/viewContent.do?externalId=FD30119&sliceId=1

29.3.2011.

You might also like