Description |
By default, the default route from PPPoE has a distance of 5 and a priority of 1. This article describes how to change the distance and priority of the default gateway learned from PPPoE. |
Scope | Fortigate, PPPoE. |
Solution |
In this example, the distance and priority will be modified as below:
Priority preference: lowest value is preferred for the routing table. Distance preference: lowest value is preferred for the routing table.
From the CLI:
edit "port3" set distance 8 <- Default value is '5'. next end
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 V - BGP VPNv4 * - candidate default
Routing table for VRF=0 S* 0.0.0.0/0 [8/0] via 192.168.4.254, ppp1, [1/0] <- Distance is 8 and Priority is 1.
edit "port3" set priority 10 <- Default value is '1'. end
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 V - BGP VPNv4 * - candidate default
Routing table for VRF=0 S* 0.0.0.0/0 [8/0] via 192.168.4.254, ppp1, [10/0] <- Distance is 8 and Priority is 10. |
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 2024 Fortinet, Inc. All Rights Reserved.