Add entire public IP block to WAN interface
Let's say I have a /28 block of public IPs
123.234.10.32 (fake IP to protect the innocent)
ISP says my gateway IP will be 10.33
Therefore my range of usable IPs will be 10.34 through 10.46
And 10.47 is broadcast.
I'll assign the first usable IP to the WAN interface on my Fortigate:
123.234.10.34
I am also required to enter a subnet mask here.
Would I enter a subnet mask for the entire /28 network? (255.255.255.240)
Assuming I actually wanted to do "stuff" with the remaining IPs in the block, I assume I would now need to add the remaining IPs - one by one - into the same WAN interface by enabling the 'Secondary IP Address' option and then clicking the +CreateNew button and add them, one at a time. Is this the right way to do it?
And since I am adding these IPs one at a time, would I use 255.255.255.255 as the subnet mask for each?
Or
Would I still use the /28 subnet mask?
Here's what I have now:
Interface Name: WAN
IP/Netmask: 123.234.10.34/255.255.255.240
Secondary IP Address
123.234.10.35/255.255.255.255
123.234.10.36/255.255.255.255
123.234.10.37/255.255.255.255
123.234.10.38/255.255.255.255
123.234.10.39/255.255.255.255
123.234.10.40/255.255.255.255
123.234.10.41/255.255.255.255
123.234.10.42/255.255.255.255
123.234.10.43/255.255.255.255
123.234.10.44/255.255.255.255
123.234.10.45/255.255.255.255
123.234.10.46/255.255.255.255
(Is this right? Or should the subnet mask for each of these IPs also be 255.255.255.240)?
