Hi Boyu, I think your issue is the client not renewing the IP address automatically. With WiFi, you would usually send the WiFi device or WiFi controller a Radius Disconnect or an CoA and it will bump the device momentarily and the client will ask for a new lease and target the right IP address.
I am not sure how this is done for Wired connections, I guess you need to do the same CoA or Radius disconnect to the switch port to get the client "bumped". This would be the same as you unplugging/re-plugging the Ethernet cable. Hope this points you in the right direction. On Fri, 1 Dec 2023 at 13:23, Boyu Zhang via PacketFence-users < packetfence-users@lists.sourceforge.net> wrote: > Hi everybody: > > After I log off, I cannot register again unless I reconnect the network > cable. How can I fix this problem? > > I am using packetfence 11.2 and use VLAN enforcement mode. I have set a MAC > detection VLAN 100, a management VLAN 8, a registration VLAN 28, an isolation > VLAN 38, and a user VLAN 58。 > When I connect the network cable to the computer, the computer gets into VLAN > 28 and gets an IP like 192.168.28.*. Then, I can get the Captive Portal page. > After I successfully register, the computer gets into VLAN 58 and receives an > IP like 192.168.58.*. Until now, I think everything is right. > > However, after I access the networklogoff page and log off, the computer > still maintains the IP 192.168.58.*, although it cannot access the resources > in Vlan 58 anymore. I see that the computer gets a "Disconnect-ACK" and then > gets an "accept" with "unreg." The RADIUS response shows > "REST-HTTP-Status-Code = 200 Tunnel-Private-Group-Id = "28" Tunnel-Type = > VLAN". It seems the computer has been assigned to the registration VLAN. I do > not understand why the computer does not get an IP of the registration VLAN. > Only if I reconnect the network cable to the computer the computer can get a > 192.168.28.* IP and then register. > > _______________________________________________ > PacketFence-users mailing list > PacketFence-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/packetfence-users >
_______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users