Public IPs, VIPs and NAT
Hi there, hoping somebody can help me out!
We currently have a /22 subnet from our ISP that we are using for our customers (each internal customer VLAN is mapped to one Public IP using NAT). This setup is working fine.
I'm now trying to present a smaller subnet from our /22 to an interface on the Fortigate, without NAT. I'd like to be able to configure devices on that interface with public IPs, and the Fortigate to route traffic both ways.
I've managed to get it working but seem to have come across a bug, or more likely I'm doing something wrong..
I changed the IP config on the WAN interface from (IPs changed)
IP: 11.11.0.2/22
to: 11.11.0.2/24
and created a new interface with the IP 11.11.1.1/24 to attach my Internet facing devices.
I can then see a 'connected' route for that subnet in the route monitor.
I then proceed to create Virtual IPs, this is where I think I'm going wrong. I use 11.11.1.1-11.11.1.254 as the external range, and 11.11.1.1-11.11.1.254 again as the internal mapped range, as the addresses should be the same externally and internally (no NAT).
This doesn't work, but if I then REMOVE the Virtual IPs I've just made, everything works fine from the 'internal' /24 subnet, I can ping to the internet and ping devices on it from outside. But after about 10 minutes, everything stops working - no communication both ways.
I can remedy this by adding the VIPs again, and removing them, but again after about 10 mins everything stops working.
Can anybody shed any light on this? I'm pretty sure VIPs aren't the correct way to do this, but using them is the closest I've got. I've tried policy routing, and playing with proxy-arp with no results.
Hardware is Fortigate 100d, firmware v5.4.0
Thanks in advance for your help!
