Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Mutallib
New Contributor

IP Range Routing

Hi, I need to route some ip address through wan2. How can i configure ip range (192.168.1.200-192.168.1.215) to be routed to wan2 from the Router settigns of Fortigate 224B Thanks
5 REPLIES 5
ede_pfau
SuperUser
SuperUser

hi, what you are looking for is called " Policy Based Routing" . You find more details in the FortiOS Handbook, chapter on Advanced Routing.

Ede


"Kernel panic: Aiee, killing interrupt handler!"
Ede"Kernel panic: Aiee, killing interrupt handler!"
Mutallib
New Contributor

I cannot define the Range under Policy Router of the Router Settings. Give error : " Please enter a valid IP address/subnet" The IP range I have added is 192.168.1.[200-215]
rwpatterson
Valued Contributor III

The shortcut you used is only valid in address entities. You' ll have to make 16 separate entries, or choose a subnet that encompasses the range you want. 192.168.1.96/255.255.255.240 will give you 192.168.1.97-110, or 14 hosts. Hope that helps

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
Mutallib
New Contributor

I tried to create a IP Range under Address. Then Created a policy under my internal port to wan2 port. Source Interface= Internal Source Address= 200(ip range) Destinateion= wan2 Destination=wan2_interface NAT= Enable But the PC with the IP range is showing gateway of the WAN1.
Fullmoon

as ede_pfau mentioned Policy Based Routing (PBR) is your friend to achieve your goal

Fortigate Newbie

Fortigate Newbie
Labels
Top Kudoed Authors