pfSense English Support > CARP/VIPs

HA CARP - IPv6 Two masters

(1/3) > >>

rhwendt:
Hello,

I just setup two devices running pfsense 2.4.2 running in ha mode.

I have several carp interfaces however the ipv6 carp interfaces show master on each device and the ipv4 carp interfaces are working properly.

I have checked the broadcast domain for other vrrp devices and the vhid that the carp interfaces are using are not in use anywhere else.

Im really not sure why its not working. Again this is only affecting ipv6

Any help would be greatly appreciated.

--primary device--
CARP Interface   IP Address   Status
WAN@210   66.X.X.30    MASTER
WAN@211   2001:X:X:X::F    MASTER
LAN@212   172.26.8.65    MASTER
LAN@213   fd57:187e:523f:0715::f    MASTER
RFC_BACKEND@214   172.26.8.30    MASTER


--backup device--
CARP Interface   IP Address   Status
WAN@210   66.X.X.30    BACKUP
WAN@211   2001:X:X:X::F    MASTER
LAN@212   172.26.8.65    BACKUP
LAN@213   fd57:187e:523f:0715::f    MASTER
RFC_BACKEND@214   172.26.8.30    BACKUP

rhwendt:
Im seeing the following in the logs on the backup firewall

Dec 4 17:40:20   php-fpm   58958   /xmlrpc.php: The command '/sbin/ifconfig 'bce0.715' inet6 'fd57:187e:523f:0715::f' delete' returned exit code '1', the output was 'ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address'
Dec 4 17:40:20   php-fpm   58958   /xmlrpc.php: The command '/sbin/ifconfig 'bce0.210' inet6 '2001:X:X:X::F' delete' returned exit code '1', the output was 'ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address'
Dec 4 17:40:20   kernel      ifa_maintain_loopback_route: insertion failed for interface bce0.715: 17
Dec 4 17:40:20   php-fpm   58958   /xmlrpc.php: The command '/sbin/ifconfig bce0.715 inet6 'fd57:187e:523f:0715::f' prefixlen '64' alias vhid '213'' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): File exists'
Dec 4 17:40:20   kernel      ifa_maintain_loopback_route: insertion failed for interface bce0.210: 17
Dec 4 17:40:20   php-fpm   58958   /xmlrpc.php: The command '/sbin/ifconfig bce0.210 inet6 '2001:X:X:X::F' prefixlen '64' alias vhid '211'' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): File exists'

awebster:
What are the actual real IPv6 IPs?
Are you assigning fd57 from the same subnet as the actual intefaces?
Why would you want to use unique local addresses on IPv6?  That's not the design philosophy of IPv6.

Derelict:
Your switching is probably not properly passing traffic to multicast destination ff02::12.

Diagnostics > Packet Capture on the primary:

Interface: One with an IPv6 CARP VIP
Address Family: IPv6-Only
Protocol: any (Capturing CARP here doesn't seem to work.. Problem for another day.)
Host Address: ff02::12
Count: 5

You should get something like this. Your source address will be different but should also start with fe80:

02:45:01.595176 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36
02:45:02.601844 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36
02:45:03.645118 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36
02:45:04.652798 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36
02:45:05.668150 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36

Do the same capture on the Secondary. You should see the same thing:

02:46:12.490962 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36
02:46:13.550945 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36
02:46:14.611020 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36
02:46:15.670940 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36
02:46:16.728002 IP6 fe80::f092:faff:fe6a:3279 > ff02::12: ip-proto-112 36

You will probably not see that. You will probably see the secondary transmitting from its own link-local address because it is not receiving the multicasts from the primary and is, properly, treating that CARP VIP as down. If that is the case you need to fix your layer 2.

rhwendt:
I didn't include the actual IP addresses because I didn't want to expose the firewall but it's locked down so the point is moot.

This pair of firewalls will be the gateway for vpn users. I have another vpn appliance to handle that.
The VPN will give users RFC 1918 / 4193 (ULA) addresses and the firewall pair which is the gateway for those usesers will perform NAT / NPT to Globally routed addresses. I don't know if this is best practice but this is the solution I am trying to implement.

-- carp --
WAN@210   66.133.130.30    MASTER
WAN@211   2001:1960:20:D2::F    MASTER
LAN@212   172.26.8.65    MASTER
LAN@213   fd57:187e:523f:0715::f    MASTER
RFC_BACKEND@214   172.26.8.30    MASTER

-- primary --
bce0.210: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80003<RXCSUM,TXCSUM,LINKSTATE>
        ether 00:24:81:89:11:f6
        inet6 fe80::224:81ff:fe89:11f6%bce0.210 prefixlen 64 scopeid 0xd
        inet6 2001:1960:20:d2::a prefixlen 64
        inet6 2001:1960:20:d2::f prefixlen 64 vhid 211
        inet 66.133.130.28 netmask 0xfffffff8 broadcast 66.133.130.31
        inet 66.133.130.30 netmask 0xfffffff8 broadcast 66.133.130.31 vhid 210
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        vlan: 210 vlanpcp: 0 parent interface: bce0
        carp: MASTER vhid 210 advbase 1 advskew 0
        carp: MASTER vhid 211 advbase 1 advskew 0
        groups: vlan
bce0.710: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80003<RXCSUM,TXCSUM,LINKSTATE>
        ether 00:24:81:89:11:f6
        inet6 fe80::224:81ff:fe89:11f6%bce0.710 prefixlen 64 scopeid 0xe
        inet 172.26.8.28 netmask 0xfffffff8 broadcast 172.26.8.31
        inet 172.26.8.30 netmask 0xfffffff8 broadcast 172.26.8.31 vhid 214
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        vlan: 710 vlanpcp: 0 parent interface: bce0
        carp: MASTER vhid 214 advbase 1 advskew 0
        groups: vlan
bce0.715: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80003<RXCSUM,TXCSUM,LINKSTATE>
        ether 00:24:81:89:11:f6
        inet6 fe80::224:81ff:fe89:11f6%bce0.715 prefixlen 64 scopeid 0xf
        inet6 fd57:187e:523f:715::a prefixlen 64
        inet6 fd57:187e:523f:715::f prefixlen 64 vhid 213
        inet 172.26.8.66 netmask 0xffffffc0 broadcast 172.26.8.127
        inet 172.26.8.65 netmask 0xffffffc0 broadcast 172.26.8.127 vhid 212
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        vlan: 715 vlanpcp: 0 parent interface: bce0
        carp: MASTER vhid 212 advbase 1 advskew 0
        carp: MASTER vhid 213 advbase 1 advskew 0
        groups: vlan


-- backup --

bce0.210: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80003<RXCSUM,TXCSUM,LINKSTATE>
        ether 00:24:81:88:f1:06
        inet6 fe80::224:81ff:fe88:f106%bce0.210 prefixlen 64 scopeid 0xd
        inet6 2001:1960:20:d2::b prefixlen 64
        inet 66.133.130.29 netmask 0xfffffff8 broadcast 66.133.130.31
        inet 66.133.130.30 netmask 0xfffffff8 broadcast 66.133.130.31 vhid 210
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        vlan: 210 vlanpcp: 0 parent interface: bce0
        carp: MASTER vhid 211 advbase 1 advskew 100
        carp: BACKUP vhid 210 advbase 1 advskew 100
        groups: vlan
bce0.710: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80003<RXCSUM,TXCSUM,LINKSTATE>
        ether 00:24:81:88:f1:06
        inet6 fe80::224:81ff:fe88:f106%bce0.710 prefixlen 64 scopeid 0xe
        inet 172.26.8.29 netmask 0xfffffff8 broadcast 172.26.8.31
        inet 172.26.8.30 netmask 0xfffffff8 broadcast 172.26.8.31 vhid 214
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        vlan: 710 vlanpcp: 0 parent interface: bce0
        carp: BACKUP vhid 214 advbase 1 advskew 100
        groups: vlan
bce0.715: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80003<RXCSUM,TXCSUM,LINKSTATE>
        ether 00:24:81:88:f1:06
        inet6 fe80::224:81ff:fe88:f106%bce0.715 prefixlen 64 scopeid 0xf
        inet6 fd57:187e:523f:715::b prefixlen 64
        inet 172.26.8.67 netmask 0xffffffc0 broadcast 172.26.8.127
        inet 172.26.8.65 netmask 0xffffffc0 broadcast 172.26.8.127 vhid 212
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        vlan: 715 vlanpcp: 0 parent interface: bce0
        carp: MASTER vhid 213 advbase 1 advskew 100
        carp: BACKUP vhid 212 advbase 1 advskew 100
        groups: vlan



-- primary --
15:29:54.265266 IP6 fe80::224:81ff:fe89:11f6 > ff02::12: ip-proto-112 36
15:29:55.088217 IP6 fe80::224:81ff:fe88:f106 > ff02::12: ip-proto-112 36
15:29:55.325010 IP6 fe80::224:81ff:fe89:11f6 > ff02::12: ip-proto-112 36
15:29:56.374974 IP6 fe80::224:81ff:fe89:11f6 > ff02::12: ip-proto-112 36
15:29:56.485201 IP6 fe80::224:81ff:fe88:f106 > ff02::12: ip-proto-112 36


-- backup --
5:34:50.696588 IP6 fe80::224:81ff:fe88:f106 > ff02::12: ip-proto-112 36
15:34:50.939315 IP6 fe80::224:81ff:fe89:11f6 > ff02::12: ip-proto-112 36
15:34:51.943702 IP6 fe80::224:81ff:fe89:11f6 > ff02::12: ip-proto-112 36
15:34:52.128312 IP6 fe80::224:81ff:fe88:f106 > ff02::12: ip-proto-112 36
15:34:52.953321 IP6 fe80::224:81ff:fe89:11f6 > ff02::12: ip-proto-112 36

Navigation

[0] Message Index

[#] Next page

Go to full version