Description | This article describes some scenarios where a loopback interface can be used. |
Scope | FortiGate. |
Solution |
The advantage of an interface it that this logical interface is always up (no physical link dependency) and the attached subnets are always present in the routing table.
Note: Using loopback interfaces requires the configuration of appropriate firewall policies to allow traffic to and from this (those) interface(s)
Some scenarios where a loopback interface can be used:
Dynamic routing protocols can be enabled on loopback interfaces. For the blackhole static route, use the blackhole route type instead of the loopback interface.
Configuration example :
config system interface
BGP peering and Management access scenario :
The loopback interface is seen from the routing table as a connected interface: FGT1 # get router info routing-table all [......] C 10.0.0.2/32 is directly connected, loopback
Configuring a loopback interface on FortiGate provides a flexible and reliable way to manage routing, VPNs, and administrative tasks. It is especially useful in complex network designs for better redundancy and stability.
Related articles: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.