OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • [SOLVED] Can't add VIP Alias
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Can't add VIP Alias  (Read 4349 times)

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
[SOLVED] Can't add VIP Alias
« 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 :



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
« Last Edit: October 11, 2015, 06:36:36 pm by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13618
  • Karma: 1170
    • View Profile
Re: Can't add VIP Alias
« Reply #1 on: October 11, 2015, 01:40:04 pm »
Hi Romain,

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


Cheers,
Franco
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: Can't add VIP Alias
« Reply #2 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
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 849
  • Karma: 163
    • View Profile
Re: Can't add VIP Alias
« Reply #3 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13618
  • Karma: 1170
    • View Profile
Re: Can't add VIP Alias
« Reply #4 on: October 11, 2015, 06:36:26 pm »
Will be part of 15.7.17, thanks Ad!
Logged

lucifercipher

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 9
    • View Profile
Re: [SOLVED] Can't add VIP Alias
« Reply #5 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?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • [SOLVED] Can't add VIP Alias
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2