Project

General

Profile

Actions

Bug #3911

closed

VHID 3 is already in use on interface WAN. Pick a unique number on this interface.

Added by Tony den Haan over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/03/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

This happens when trying to add more IPs to a VHID, as discussed in https://forum.pfsense.org/index.php?topic=54885.0
The dialog to use is a bit silly, since i can't select vhid under 'alias' tab, so i first have to go to carp to select vhid, and then go to alias tab.
It should be possible, i can easily do these things using ifconfig.

Actions #1

Updated by Chris Buechler over 10 years ago

  • Status changed from New to Rejected

That forum thread has no relation. The scenario as described doesn't exist in 2.1.5 or 2.2. The input error "VHID ... is already in use" is only triggered when you submit a CARP IP, not any other VIP type. Either you're using an outdated version, or you're trying to do something that it should reject with that message.

Actions #2

Updated by Tony den Haan over 10 years ago

maybe my formulation is wrong, but shouldn't it be possible to add multiple IP addresses/aliases to same VHID? ifconfig definitely allows it, and it only makes sense.

Actions #3

Updated by Ermal Luçi over 10 years ago

Our recommendation for that is to use ip aliases.

Since you have already configured a VIP why you want to add another on the same interface?

Actions #4

Updated by Tony den Haan over 10 years ago

What aliases? The dialog only accepts IP address. That's why i wondered if i was supposed to try the "IP aliases" tab. The VHID i'm dealing with has a /27 assigned to it but that's not enough to actually reach IPs within this subnet. With ifconfig it'd be "ifconfig wan_vip2 vhid 2 alias 1.2.3.43" of something, hence my confusion regarding "alias" in this context.

Actions #5

Updated by Tony den Haan over 10 years ago

So, what's the story? I've wasted way too much time on this. Am i really supposed to edit /cf/conf/config.xml to make things works as they should?

Actions #6

Updated by Chris Buechler over 10 years ago

It has to be an IP alias on top of the CARP IP. Please use one of our support resources for further assistance. https://pfsense.org/support

Actions #7

Updated by Tony den Haan over 10 years ago

I'm sorry i was not clear, IP alias on CARP ip is not what i want, i want "ifconfig wan_vip2 vhid 2 alias 1.2.3.2", so second and more IPs on same vhid, just as done on bsd. Already managed to make this work after changing code in /etc/inc/interfaces.inc and manually adding vhid with <type>alias</type> to config.xml, working on the rest that's needed.

Actions

Also available in: Atom PDF