OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: fsebera on July 23, 2021, 08:11:41 PM

Title: Interface alias VIPs and mask
Post by: fsebera on July 23, 2021, 08:11:41 PM
Should the fw interface alias VIPs use the same mask as the interface they are representing?

Example:
LAN IP 192.168.25.1
Mask 255.255.255.0 (or /24)

Alias VIP LAN IP 192.168.25.254 /24

Thank you
Frank
Title: Re: Interface alias VIPs and mask
Post by: lilsense on July 23, 2021, 08:50:35 PM
VIP means virtual. from that sense, you can just use 1.2.3.4/24 but what does that get ya?

you need to first ask what do you want to do with the VIP, and if that VIP represents another IP in the 192 subnet then yeah place it there.
Title: Re: Interface alias VIPs and mask
Post by: fsebera on July 23, 2021, 09:12:01 PM
Hi,

Yea I have tried different masks on the alias and all produce the same results - they all work.


Thanks
Frank