Skip to main content
MBenesch
New Member
July 2, 2025
Question

Fortigate Interface based routing

  • July 2, 2025
  • 2 replies
  • 470 views

Hello,

can you please help me to configure an interface based routing?

I understand this to mean the following:

 

The entire traffic that is to be sent to a specific IP address is sent to a specific interface without any information from a gateway.

 

Example:

192.168.99.25/32 should be sent completely and without specifying a gateway to the interface port3.

 

Unfortunately, I have not been able to find this in the routing configuration so far, or I have always had to specify a gateway. Even if no gateway was specified, 0.0.0.0 was entered and thus routed to the default gateway.

 

I'm using version 7.6.3

 

Yours sincerely,

Markus

2 replies

toshi-esumi
New Member
July 2, 2025

This is first time I heard a terminology "interface-based routing". Where did you see/hear about this? Generally "routing" is always interface based based on the destination IPs, which in L3 routers always need "routes" to know about the "next-hop" or "gateway", which must be bound to interfaces.
On the other hand, there is a term called "policy-based routing", which might be able to select a specific next-hop/gateway/interface to send packets to out of multiple options. It can be based on source interface/IPs or other factors.

Toshi

funkylicious
SuperUser
SuperUser
July 2, 2025

hi,

are you referring to ipsec interface based routing or interface based routing/L3 routing in general ?

if you are asking about routing in general, i recall upon studying for my Cisco certification that when you created a static route you had the option to only specify the network and next-hop, also add the outbound interface.

in Fortinet world, usually when you define a static route and point to the next hop ip address, the outbound interface will be automatically be selected if one exists in the same subnet with the next-hop

"jack of all trades, master of none"