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

How to set/route different true IP (Fortigate 100E)

Dear All,

 

My ISP give us 2 different range of true IP address as below:

 

IP RANGE:       10.100.186.144  ~ 10.100.186.151    (8)  10.100.188.32   ~ 10.100.188.63     (32)    10.100.186.145       (TYPE: GATEWAY)  10.100.186.148       (TYPE: WAN IP)  10.100.186.151       (TYPE: BROADCAST)  10.100.188.32        (TYPE: ROUTER_NETWORK)  10.100.188.62        (TYPE: GATEWAY)  10.100.188.63        (TYPE: ROUTER_BROADCAST)    BB GATEWAY:  165.84.186.145 165.84.188.62   SUBNET:  255.255.255.224 255.255.255.248   I set WAN using 10.100.186.148 (gw:165.84.186.145),10.100.188.xx added to WAN secondary address, and setting Virtual IP, I can open my webserver page my 10.100.188.xx and LAN is working properly.   However, I hope my new server connecting internet and show 10.100.188.xx (whatismyip.com), but it shows 10.100.186.148.  ISP told me I have to make static route instead of current settings.  I should keep the new server keep internal IP address (10.10.181.2), can any one help me?  Many thanks.   Ben
8 REPLIES 8
beniori
New Contributor

BB GATEWAY:  165.84.186.145 should be 10.100.186.145 165.84.188.62 should be 10.100.188.62

Bubu
Contributor

Hi,

If you want only your web server to be able to exit by 10.100.188.xx, you must create a static route of the web server 10.10.181.2/32 - gw 10.100.188.xx - device wan1

Regards,

Bubu

Bubu
beniori
New Contributor

Thanks, but setting the static route, it said "Invalid Subnet Mask 10.10.176.0/255.255.248.0", it seems cannot set an specific IP...

Bubu
Contributor

At first, you have to add a secondary IP on the WAN interface:

And then, add static routes:

 

Bubu

Bubu
beniori
New Contributor

Bubu, thanks for your reply, however I cannot see the 2 images.  Can you help?

Bubu

OK And now?

 

Bubu

Bubu
Bubu

And now?

Bubu

Bubu
beniori
New Contributor

Thanks Bubu, I try it but doesn't work.

Labels
Top Kudoed Authors