OPNsense Forum

Archive => 15.7 Legacy Series => Topic started by: romain on October 07, 2015, 09:42:30 am

Title: [SOLVED] Can't add VIP Alias
Post by: romain on October 07, 2015, 09:42:30 am
Hello,

I'm on the OPNsense 15.7.15-amd64. I have an issu with the IP alias.

I created an VIP IP Alias :

(http://imgur.com/i7S2QKg)

On the FreeBSD side, there is no VIP:

Code: [Select]
cns : flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:90:fa:9d:29:d8
        inet6 fe80::290:faff:fe9d:29d8%lagg0_vlan2010 prefixlen 64 scopeid 0x13
        inet 10.20.201.14 netmask 0xfffffff0 broadcast 10.20.201.15
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        vlan: 2010 parent interface: lagg0

If I need it, I must add it through command line :

ifconfig cns 10.20.201.10 255.255.255.240 alias

I also notice that I can't choose anymore the mask size related to the IP when I create the IP Alias through the interface.

Is-it normal ?

Thank you.
Romain
Title: Re: Can't add VIP Alias
Post by: franco on October 11, 2015, 01:40:04 pm
Hi Romain,

I'm passing this along, thanks for reporting this. :)


Cheers,
Franco
Title: Re: Can't add VIP Alias
Post by: romain on October 11, 2015, 05:45:31 pm
You're welcome. Please let me know when you will fix it (or maybe it will be added to the changelog).

Have a nice day
Title: Re: Can't add VIP Alias
Post by: AdSchellevis on October 11, 2015, 06:15:56 pm
Hi Romain,

Confirmed the issue, when you add a new VIP it forgets to put it on it's todo list for applying the change.
This commit fixes this issue:
https://github.com/opnsense/core/commit/8d28488f221ae1776084639a17eb60529631aa8b

Cheers,

Ad
Title: Re: Can't add VIP Alias
Post by: franco on October 11, 2015, 06:36:26 pm
Will be part of 15.7.17, thanks Ad!
Title: Re: [SOLVED] Can't add VIP Alias
Post by: lucifercipher on October 14, 2015, 10:55:51 pm
Hey guys,

I tried to replicate this and didnt see the bug. The VIP shows up fine on the interface too . What am i missing here?