Project

General

Profile

Actions

Bug #882

closed
CB PP

IP aliases should not sync

Bug #882: IP aliases should not sync

Added by Chris Buechler about 16 years ago. Updated almost 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Virtual IP Addresses
Target version:
Start date:
09/08/2010
Due date:
% Done:

100%

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

Description

IP alias VIPs should not sync to the secondary

PP Updated by Pierre POMES almost 16 years ago Actions #1

  • 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.

CB Updated by Chris Buechler almost 16 years ago Actions #2

  • Status changed from Feedback to Resolved

TW Updated by Thiago Witt almost 16 years ago Actions #3

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
++ /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") {
if($section['mode'] "proxyarp" || $section['mode'] == "ipalias") {
unset($section);
}

I hope it helps.

PP Updated by Pierre POMES almost 16 years ago Actions #4

  • Status changed from Resolved to Assigned
  • % Done changed from 100 to 0

Thanks for the report. I will doublecheck.

Pierre

PP Updated by Pierre POMES almost 16 years ago Actions #5

  • 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

TW Updated by Thiago Witt almost 16 years ago Actions #6

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

PP Updated by Pierre POMES almost 16 years ago Actions #7

  • 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

Actions

Also available in: Atom