VIP doesn't work with my Second ISP WAN Link
Hello everybody,
I have been struggling to get this done for about three days with no result,
i have Fortigate 501E, Firmware v5.6.0.
i have 2 ISP connections each one with different public IP ranges, ISP A with public subnet X.X.X.X/X is connected directly from fortigate port 1 to the ISP MPLS, the fortigate interface port 1 configuration is straight through, physical interface with static IP address X.X.X.2/X and its role is WAN. for this interface everything is working fine and virtual IPs from the same subnet (X.X.X.X/X) are reachable via this interface.
my second WAN link Y.Y.Y.Y/Y is somehow complicated, FortiGate is connected to an Outside Switch, the fortigate interface port 8 which is connected to the outside switch has two VLAN interfaces configured under port 8, the physical port doesn't have any configuration nor IP Address, the two vlan interfaces configuration is listed bellow:
edit "Main Link"
set vdom "root"
set ip 10.100.100.2 255.255.255.248
set allowaccess ping
set role wan
set snmp-index 29
set interface "port8"
set vlanid 1000
next
edit "Backup Link"
set vdom "root"
set ip 10.100.200.2 255.255.255.248
set allowaccess ping
set role wan
set snmp-index 30
set interface "port8"
set vlanid 1001
next
the Outside switch interface (connected to FortiGate) is configured as trunk with both vlan 1000,1001 allowed.
Also the switch has two interfaces each is connected to a different MPLS ( both MPLSs are owned by the same ISP) one interface is access vlan 1000 with the opposite interface on the MPLS has an IP Address of 10.100.100.1, and the other interface is access vlan 1001 with MPLS interface 10.100.200.1. those links are for the same IP Range and the same WAN Link ( active/ standby) with SLA configured from ISP side on both of the links and a link monitor from fortigate side.
im planning to use the second link Y.Y.Y.Y/Y to publish a number of web servers.
i created a virtual IP with configuration as bellow
config firewall vip
edit "Mahmoud-TEST"
set id 0
set uuid 34e526f8-77ff-51e9-4207-cda8d9aafcdf
set comment ''
set type static-nat
set extip Y.Y.Y.187
set extintf "Main Link"
set arp-reply enable
set nat-source-vip disable
set portforward disable
set gratuitous-arp-interval 0
set color 0
set mappedip "172.16.16.69"
next
the server is reachable from the FG , and can reach the FG, the WAN link works fine as i tried to browse the internet from the server using the link ( created a policy and NATed with dynamic pool from the same public subnet Y.Y.Y.Y/Y ) and everything works fine.
i also created a policy to access the server from the wan ( later i allowed All sources with All services ) but still can't reach it, i did a sniffing on the Main Link interface and find out that the packets arrives The fortigate interface but it didn't route any of them, also the PING doesn't show on the traffic log.
i tried to publish the server using the First link X.X.X.X/X and everything works fine.
Please Advise.
