Bug #3911
closedVHID 3 is already in use on interface WAN. Pick a unique number on this interface.
0%
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.
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.
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.
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?
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.
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?
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
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.