NSE4 · Question #393
A static route is configured for a FortiGate unit from the CLI using the following commands: config router static edit 1 set device "wan1" set distance 20 set gateway 192.168.100.1 next end Which of…
The correct answer is B. The link status of the wan1 interface is displayed as up. D. The wan1 interface address and gateway address are on the same subnet. For a static route to be active and displayed in the FortiGate's routing table, the outgoing interface must have an active link status, and the configured gateway IP address must be within the same subnet as the FortiGate's interface IP.
Question
A static route is configured for a FortiGate unit from the CLI using the following commands:
config router static edit 1 set device "wan1" set distance 20 set gateway 192.168.100.1 next end Which of the following conditions are required for this static default route to be displayed in the FortiGate unit's routing table? (Choose two.)
Options
- AThe administrative status of the wan1 interface is displayed as down.
- BThe link status of the wan1 interface is displayed as up.
- CAll other default routers should have a lower distance.
- DThe wan1 interface address and gateway address are on the same subnet.
How the community answered
(40 responses)- A5% (2)
- B85% (34)
- C10% (4)
Why each option
For a static route to be active and displayed in the FortiGate's routing table, the outgoing interface must have an active link status, and the configured gateway IP address must be within the same subnet as the FortiGate's interface IP.
If the administrative status of the wan1 interface is down, the static route will not be considered valid or active and will not appear in the routing table.
For any route to be considered valid and active in the routing table, its associated outgoing interface must have its link status displayed as up, indicating physical connectivity.
While a lower distance value makes a route preferred, the specified distance of 20 itself does not prevent the route from being displayed in the routing table, provided its interface is up and the gateway is reachable; it only affects its selection priority compared to other routes.
The FortiGate's interface IP address and the configured next-hop gateway IP address must reside on the same IP subnet for the FortiGate to directly reach the gateway and establish the route's validity.
Concept tested: FortiGate static route validity conditions
Source: https://docs.fortinet.com/document/fortigate/7.4.0/administration-guide/708170/static-routes
Topics
Community Discussion
No community discussion yet for this question.