Hello,
What I would like to know is how do I set up a default gateway for a WAN that is manual (Static IP?)
I know you can go to route --> Static route and just add that as a default route for everything outgoing.
However is there a way to set it as let's say PPPOE ? Where we can assign a default gateway?
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Nobody is reading the original post...he's got a STATIC WAN IP. Not PPPoE or DHCP.
Answer: in this case you specify a STATIC route to "0.0.0.0/0" via your ISP's gateway address explicitly. This address should be known to you. There is no way to query it - only DHCP and PPPoE protocols do that and are supported in FortiOS.
Hello,
What kind of WAN connection you have?
- Do you have the details of the default gateway from the ISP or it is dynamic?
May I know the actual requirement?
adonisd wrote:The term "default gateway" is just a nice way of saying a "0.0.0.0/0 route in case everything else fails"Where we can assign a default gateway?
A static route pointing to your Gateway in wan1 is the same as the automatically added route for PPPoE
The issue with PPPoE is just that in many countries those connections have dynamic IPs hence a static route would not work
Also, there is an option under interface settings to fetch the default gateway dynamically:
config system interface
edit <interface_name>
set mode pppoe
set defaultgw enable ----->>>> this command does the trick
end
Nobody is reading the original post...he's got a STATIC WAN IP. Not PPPoE or DHCP.
Answer: in this case you specify a STATIC route to "0.0.0.0/0" via your ISP's gateway address explicitly. This address should be known to you. There is no way to query it - only DHCP and PPPoE protocols do that and are supported in FortiOS.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1705 | |
1093 | |
752 | |
446 | |
230 |
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.