I'm experiencing a strange issue with my PacketFence cluster and captive
portal on the registration VLAN.

DHCP is assigning a correct IP, and I can see multiple gateways set from
all cluster members with IPs from the "Registration" interface.

portal.example.com resolves to the "Management" VIP.
Captive portal loads if the device is using the gateway with the VIP Master
on the management interface. If a gateway is used from a different cluster
node, then either the captive portal does not load at all, or the IP is set
to the cluster node with the gateway currently used and the MAC to
"00:11:22:33:44:55"

curl http://127.0.0.1:22222/api/v1/dhcp/stats/ens20 | /usr/bin/python3 -m
json.tool

[
    {
        "interface": "ens20",
        "network": "10.8.112.0/24",
        "free": 237,
        "percentfree": 100,
        "used": 0,
        "percentused": 0,
        "category": "none",
        "options": {
            "optionCaptivePortal": "https://portal.example.com/rfc7710";,
            "optionDomainName": "vlan-registration. portal.example.com ",
            "optionDomainNameServer": "10.8.112.14,10.8.112.15",
            "optionIPAddressLeaseTime": "30s",
            "optionRouter": "10.8.112.15,10.8.112.14",
            "optionSubnetMask": "255.255.255.0"
        },
        "members": null,
        "status": "Normal",
        "size": 237,
        "inPoolNotInCache": null,
        "DuplicateInPool": null
    }
]

Any help would be much appreciated.
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to