ORIGINAL: bmzsbt Have a second ISP without a static public IP. The WAN2 Addressing Mode is configured DHCP and " Retrieve default gateway from server" is checked. Thus when creating a router Policy Route I don' t have a static gateway to use for the outgoing interface WAN2. Answer:Lets say if you want to bend traffic leaving your LAN to the Internet then your PBR (Policy Based Route) must look like this Protocol=0 Incoming Interface=Internal(Interface facing your LAN side) Source add/mask=192.168.1.1/32 (this host should go out using WAN1 Link) Destination address/mask=0.0.0.0/0.0.0. Destinations Ports=From:1 To:65535 Force Traffic to: Outgoing Interface: WAN1 Gateway Add=0.0.0.0 or Protocol=0 Incoming Interface=Internal(Interface facing your LAN side) Source add/mask=192.168.1.2/32 (this host should go out using WAN2 Link) Destination address/mask=0.0.0.0/0.0.0. Destinations Ports=From:1 To:65535 Force Traffic to: Outgoing Interface: WAN2 Gateway Add=0.0.0.0 Will the Fortigate use the DHCP gateway of WAN2 automatically? Answer:No, if the distance of both WAN Links are identical then other traffic coming from your LAN may pass thru WAN1 or WAN2 links. IF you want all traffic must pass thru your WAN2 link then lower its Distance Or do I need to get a static IP from the ISP and not use DHCP Addressing Mode? Answer: If you can change the addressing mode from dynamic to static from your ISP then much better.regards
Fortigate Newbie
ORIGINAL: bmzsbt So, next I' m assuming I' ll need another PBR for the remaining internal LAN addresses to go out WAN2? i.e.: Source add/mask 192.168.1.0/32Hi,be careful of using this kind of notation 192.168.1.0/32. It seems invalid address. if you wish that whole subnet will pass thru on diff link then it should be 192.168.1.0/24 then if you want single ip address or host it looks like this 192.168.1.X/32. (X means your single host or ip)
Fortigate Newbie
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 |
---|---|
1737 | |
1107 | |
752 | |
447 | |
240 |
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.