Bug #882
closedIP aliases should not sync
100%
Description
IP alias VIPs should not sync to the secondary
Updated by Pierre POMES about 14 years ago
- Status changed from New to Feedback
- Assignee set to Pierre POMES
- % Done changed from 0 to 100
The line to prevent synchronization (as for "proxyarp") was missing, probably because "ipalias" VIP type was added in pfSense 2.0.
Updated by Chris Buechler about 14 years ago
- Status changed from Feedback to Resolved
Updated by Thiago Witt about 14 years ago
Hi, I've just tested it with the latest snapshot and it seems the problem remains.
Looking at the source, I think I found the problem, well at least it seems to do the trick here with no side-effects:
--- /tmp/rc.filter_synchronize 2010-10-18 16:56:50.000000000 0200 if($section['mode'] "proxyarp") {
++ /etc/rc.filter_synchronize 2010-10-18 16:52:24.000000000 -0200@ -51,7 +51,7
@
global $config;
$new_section = &$config['virtualip'];
foreach($new_section['vip'] as $section) {
if($section['mode'] "proxyarp" || $section['mode'] == "ipalias") {
unset($section);
}
I hope it helps.
Updated by Pierre POMES about 14 years ago
- Status changed from Resolved to Assigned
- % Done changed from 100 to 0
Thanks for the report. I will doublecheck.
Pierre
Updated by Pierre POMES about 14 years ago
- Status changed from Assigned to Feedback
- % Done changed from 0 to 100
Hi Thiago,
A new fix hax been commited. Can you please try again ?
Thanks again,
Pierre
Updated by Thiago Witt about 14 years ago
Hi Pierre,
I just update both my systems with gitsync and now it no longer syncs the aliases, so that's ok.
Now the problem is that I also want to have an alias VIP only on the slave, but when I create or modify a VIP on the master it deletes the extra aliases created on the slave.
What I'm trying to do is to have 2 CARP VIPs on the same interface, but each using a different subnet, that's why I need an alias on each system, so I can create the second CARP VIP, otherwise it won't let me.
Should I open a new ticket?
Thanks,
Thiago
Updated by Pierre POMES about 14 years ago
- Status changed from Feedback to Resolved
Hi Thiago,
Ok for the new ticket. I will put this one to resolved since the initial report is now ok.
Thanks,
Pierre