• Contact
  • About Me
  • Privacy Policy
  • Disclaimer
DefenceDev
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools
No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools
No Result
View All Result
DefenceDev
No Result
View All Result
ADVERTISEMENT
Home Network Tutorials FortiGate

Fortinet FortiGate: Routing Monitor and Route Attributes

neo by neo
May 27, 2025
in FortiGate
0
Fortinet FortiGate: Routing Monitor and Route Attributes

Fortinet FortiGate: Routing Monitor and Route Attributes

0
SHARES
250
VIEWS
Share on FacebookShare on Twitter

Routing Monitor and Route Attributes

A Routing Monitor provides real-time information about routing tables, including active routes, their next-hop addresses, and their associated metrics. This tool allows administrators to track how routes are being utilized, ensuring that traffic is taking the most efficient path.

Route Attributes refer to the characteristics that define how routing protocols evaluate and prioritize routes. These attributes include factors like metric (used to determine the best path), prefix length, administrative distance, next hop, and protocol-specific properties. Understanding these attributes helps administrators fine-tune routing protocols like OSPF, BGP, or RIP for optimized traffic distribution and redundancy.

Introduction

Understanding how traffic routes through a network is crucial for effective network management, especially when managing multiple networks (such as internal networks) and gateways (such as Internet Service Providers). FortiGate’s Routing Monitor and Route Attributes offer valuable insights and controls that allow you to fine-tune your network’s behaviour. In this article, we will guide you through FortiGate’s Routing Monitor interface, explain how to interpret key route attributes, and demonstrate how to leverage this information to optimize network performance.

What is FortiGate Routing Monitor?

For each session, FortiGate performs a routing table lookup twice. First, it checks the routing table to determine the most appropriate route for the traffic. Then, it performs another lookup to ensure the correct forwarding behaviour based on any changes or dynamic routing adjustments. This dual lookup process helps maintain efficient traffic management and network performance.

  • For the first packet sent from sender
  • For the first replay packet coming from responder

The session table stores routing information. This ensures that each session has access to up-to-date routing details, allowing the FortiGate device to efficiently process traffic and maintain optimal performance.

More information about routing you can find on the link. For the FortiGate Static Routes, you can check the article.

Routing Protocols on FortiGate Device

FortiGate support the following Dynamic Routes protocols:

  • Routing Information Protocol (RIP)
  • Open Shortest Path First (OSPF)
  • Border Gateway Protocol (BGP)
  • Intermediate System to Intermediate System (IS-IS) → is not listed on my firmware (v6.0.13)
FortiGate Network Protocols
FortiGate Network Protocols on FortiGate 60D, Firmware v6.0.13

If you are not able to see these protocols on your device, you can enable them. How to enable these protocols (hidden features), you can check at the following link.

FortiGate Routing Monitor

The Routing Monitor on FortiGate provides a real-time view of your routing table, displaying the active routes for your traffic. This tool offers clear visibility into how the firewall forwards packets based on IP destinations. This allows administrators to easily identify prioritized routes and troubleshoot routing issues effectively. By leveraging this tool, you can ensure optimized traffic flow and address potential network problems before they escalate.

ADVERTISEMENT
  • How to Access: The Routing Monitor is accessible via the FortiGate GUI by navigating to Monitor -> Routing Monitor.
  • Key Interface Details: It displays details like destination IP, gateway, interface, and metric, which can all help in analysing routing decisions.
Routing Monitor
Routing Monitor, Firmware v6.0.13

Understanding Route Attributes

Route attributes are essential for determining the path selection for traffic within FortiGate. The Routing Monitor displays attributes like administrative distance, priority, and metric, which determine the primary routes and backups.

  • Administrative Distance (AD): The AD represents the trust level for different routing protocols. A lower AD value is more trusted and thus preferred.
  • Priority: Routes can be assigned priority values to specify which route should be used when multiple routes are available.
  • Metric: This value typically represents the ‘cost’ of a route, with lower metrics being preferred.

In my case, the routing attributes are not displayed due to outdated firmware.

Metric and Distance
Routing Monitor Attributes – Metric and Distance , Firmware v6.0.13
Static Routes, Priority, Firmware v6.0.13
Routing Monitor Attributes for Static Routes, Priority, Firmware v6.0.13

Key Scenarios: How Route Attributes Affect Traffic Flow

Different route attributes play a role in how traffic is routed, especially in complex networks with multiple gateways or VPN connections. Here are a few scenarios:

  • Load Balancing and Redundancy: FortiGate can route traffic based on priority and metrics for load balancing or backup paths.
  • Failover Situations: When a primary route fails, routes with higher AD or lower priority are used, ensuring consistent connectivity.
  • Policy-Based Routing (PBR): By combining PBR with route attributes, specific traffic can be directed through preferred gateways, optimizing latency-sensitive applications. If you have a two internet links (A and B) you can route packets from low-priority source IPs on A and packets from high-priority sources on B link.
    • More granular matching than static routes based on protocol, source address, source ports, type of service (ToS) bits and destination ports.
    • Policy-Based Routing (PBR) have precedence over the routing table (maintained in a separate routing table)
  • Internet Services Routing
    • Route well-known Internet services through specific WAN Interface
FortiGate Policy Routes
FortiGate Policy Routes

FortiGate uses attributes such as Distance, Metric, and Priority to make route selection decisions.

Route Attribute: Distance

If the multiple routes for the same destination exist, the one with the lowest distance will be active. To check it open Monitor → Routing Monitor

ADVERTISEMENT

The following shows the default distance (preference) settings on a FortiGate (configurable for all types except direct interfaces) :

RouteDistance
Directly connected0
DHCP Gateway5
Static routes10
External BGP (EBGP) routes20
OSPF routes110
RIP routes120
Internal BGP (IBGP) routes200

Route Attribute: Metric

If the multiple dynamic routes have the same distance, then the metric is used for selection process. The route with the lowest metric is chosen.

Metric and Distance
Routing Monitor Attributes – Metric and Distance, Firmware v6.0.13

The calculation method differs for different routing protocols.

Route Attribute: Priority

When multiple static routes share the same distance, they all remain active, but the route with the lowest priority is chosen as the best path.

Configuring and Troubleshooting Route Attributes in FortiGate

You can configure these attributes within the Network -> Static Routes section or by using CLI commands to gain finer control. To troubleshoot, check the Routing Monitor to confirm active routes and analyze why specific routes are preferred over others.

  • Using CLI for Custom Configurations: Commands like get router info routing-table all provide detailed routing tables and can help diagnose routing issues.
  • Troubleshooting Tips: Checking administrative distance, priority, and metrics can reveal misconfigurations or unintended route selections.
fgt # get router info routing-table all

Routing table for VRF=0
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
       O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default

S*      0.0.0.0/0 [5/0] via xxx.xxx.xxx.xxx, wan1
C       /30 is directly connected, wan1
S       192.168.10.0/24 [4/0] is directly connected, to1
S       192.168.11.0/24 [10/0] is directly connected, to1
S       192.168.19.0/24 [10/0] via 192.168.20.112, internal
C       192.168.20.0/24 is directly connected, internal

Conclusion

The Routing Monitor and route attributes on FortiGate are vital tools for network administrators who aim to streamline traffic flow and enhance network resilience. By gaining a deeper understanding of route attributes and making necessary adjustments, administrators can optimize traffic management, reduce latency, and maintain better control over their network’s behavior. Furthermore, adjusting these attributes helps fine-tune routing processes to meet specific network requirements, ensuring improved overall performance and stability.

About The Author

neo

See author's posts

Tags: fortigate
ADVERTISEMENT
Previous Post

Monitor Bandwidth Usage on Linux: Daily and Monthly Statistic

Next Post

Fortinet FortiGate: Equal Cost Multipath Routing (ECMP) Configuration

neo

neo

Related Posts

Home Lab with Fortinet FortiGate 60D Firewall
FortiGate

Home Lab with Fortinet FortiGate 60D Firewall

My Ultimate FortiGate Command Cheat Sheet
FortiGate

My Ultimate FortiGate Command Cheat Sheet

Setting Up IPS (Intrusion Detection System) Profiles on FortiGate to Detect Web Attacks
FortiGate

Setting Up IPS (Intrusion Detection System) Profiles on FortiGate to Detect Web Attacks

Protect a Self-Hosted Application from Brute Force Attacks with FortiGate
FortiGate

How to Protect a Self-Hosted Application from Brute Force Attacks with FortiGate

FortiGate DDoS Protection: Configure DoS Policies to Secure Self-Hosted Applications
FortiGate

FortiGate DDoS Protection: Configure DoS Policies to Secure Self-Hosted Applications

Fortinet FortiGate Site-to-Site IPsec VPN Troubleshooting
FortiGate

Fortinet FortiGate Site-to-Site IPsec VPN Troubleshooting

Next Post
Fortinet FortiGate: Equal Cost Multipath Routing (ECMP) Configuration

Fortinet FortiGate: Equal Cost Multipath Routing (ECMP) Configuration

Recommended

FortiGate Administration Settings

Fortinet FortiGate: Change Default Administration HTTPS and HTTP Port

Lesson 1: Introduction to Bash Scripting

Lesson 1: Introduction to Bash Scripting

View & Copy Image Metadata Online – Camera & GPS Info

View & Copy Image Metadata Online – Camera & GPS Info

Online WebP to JPG Converter

Online WebP to JPG Converter

Image Metadata Remover – Clean EXIF and GPS Info Securely

Image Metadata Remover – Clean EXIF and GPS Info Online

Categories

  • Blog
  • Cloud
    • Private
  • Linux Tutorials
    • Bash Scripting Tutorials
    • Commands
    • Networking
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Solutions
    • Docker
  • Video Tutorials
    • MikroTik Videos
  • Web Tools
ADVERTISEMENT

DefenceDev Tutorials

defencedev Logo

Whether you’re just starting or looking to expand your skills, I hope you find useful information and engaging discussions here. Let me take you through my journey and the goals behind this space!

Follow Us

Recent News

View & Copy Image Metadata Online – Camera & GPS Info

View & Copy Image Metadata Online – Camera & GPS Info

Online WebP to JPG Converter

Online WebP to JPG Converter

  • Site Map
  • Privacy Policy
  • Facebook Page
  • Disclaimer
  • Contact
  • About Me

© 2025 defencedev.com - All rights reserved.

No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools

© 2025 defencedev.com - All rights reserved.