Deleting "IP Alias" VirtualIPs gives "still referenced by at least one Gateway."



  • I have just updated to the latest build (2.1-RC0 (i386) built on Tue Jul 9 23:03:10 EDT 2013" but still see
    this problem when trying to remove "IP Alias" entries.

    I get "This entry cannot be deleted because it is still referenced by at least one Gateway." when trying
    to remove one IP Alias.  (I only have one primary IP defined in the WAN-interface .51 at end
    and one VirtualIP "IP Alias"with .53 at the end. Is in same subnet as primary IP and only have one VirtualIP defined.

    basically this is the setup:
    xx.xx.165.1/24 Gateway
    xx.xx.165.51/24 Main WAN IP
    xx.xx.165.53/24 VirtualIP IP Alias With NOTHING tied like NAT or similar. Just created IP Alias.

    The "IP Alias" was created in an earlier build from June.

    I was only doing some tests for a colleague and need to undefine the IP Alias as this IP
    is normally used in another router and is temporary disconnected so I could do the test.
    As long as this IP is now tied to pfSense it will answer ARPs and I will get an IP collision.

    I found another thread that was dealing with similar but for CARP IP and that was suppose to be fixed but still have problem with IP Alias.
    http://forum.pfsense.org/index.php/topic,64156.0.html

    Best regards
    Dan Lundqvist
    Stockholm, Sweden


  • Administrator

    @mrzaz:

    I have just updated to the latest build (2.1-RC0 (i386) built on Tue Jul 9 23:03:10 EDT 2013" but still see
    this problem when trying to remove "IP Alias" entries.

    I get "This entry cannot be deleted because it is still referenced by at least one Gateway." when trying
    to remove one IP Alias.   (I only have one primary IP defined in the WAN-interface .51 at end
    and one VirtualIP "IP Alias"with .53 at the end. Is in same subnet as primary IP and only have one VirtualIP defined.

    basically this is the setup:
    xx.xx.165.1/24 Gateway
    xx.xx.165.51/24 Main WAN IP
    xx.xx.165.53/24 VirtualIP IP Alias With NOTHING tied like NAT or similar. Just created IP Alias.

    The "IP Alias" was created in an earlier build from June.

    I was only doing some tests for a colleague and need to undefine the IP Alias as this IP
    is normally used in another router and is temporary disconnected so I could do the test.
    As long as this IP is now tied to pfSense it will answer ARPs and I will get an IP collision.

    I found another thread that was dealing with similar but for CARP IP and that was suppose to be fixed but still have problem with IP Alias.
    http://forum.pfsense.org/index.php/topic,64156.0.html

    Best regards
    Dan Lundqvist
    Stockholm, Sweden

    It's now fixed, please test with tomorrow snapshot or gitsync



  • Ok, will do and report back…

    //Danne

    UPDATE:
    I have now installed 2.1-RC1 (i386) built on Wed Jul 31 07:16:49 EDT 2013 and it now works perfectly.  :D
    Have tested a few times to add and remove. Also checked ping before and after to verify that the IPAlias is actually
    working when defined and that the ping stops (which is correct) when removed.
    You could close this topic now.