[SOLVED] Can't add VIP Alias

Started by romain, October 07, 2015, 09:42:30 AM

Previous topic - Next topic
October 07, 2015, 09:42:30 AM Last Edit: October 11, 2015, 06:36:36 PM by franco
Hello,

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

I created an VIP IP Alias :



On the FreeBSD side, there is no VIP:

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

Hi Romain,

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


Cheers,
Franco

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

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

Will be part of 15.7.17, thanks Ad!

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?