Hello Fabrice,
>can you try that: >curl http://127.0.0.1:22222/api/v1/dhcp/stats/eth0.3 | python -m json.tool >and paste the result. I ran the command and the outcome was { “message”: “interface not found” } Well I assume this is a problem haha! Is there any steps I need to follow to solve this issue? Also another question you may be able to help me with, when I plug a client into a switchport, the client doesn’t receive a Registration VLAN address and I’m unsure why. The DHCPLISTENER is listening on the sub-interfaces of the VLANs and there is pools created for the interfaces. I ran the curl http://127.0.0.1:22222/api/v1/dhcp/stats/eth0.3 | python -m json.tool command you gave me and changed the interface to the registration and the output of it is { “category”: “none”, “free”: “237”, “interface”: “eth0.11”, “members”: “null”, “network”: “192.168.11.0/24”, “options”: { “optionDomainName”: “vlan-registration.packetfence.org”, “optionDomainNameServer”: “192.168.11.1”, “optionIPAddressLeaseTime”: “30s”, “optionRouter”: “192.168.11.1”, “optionSubnetMask”: “255.255.255.0”, }, “percentfree”: 100, “percentused”: 0, “size”: 237, “status”: “Normal”, “used”: 0, } Do you know of anything else I can do to get the PacketFence DHCP to work for me? Thank you for your help, Sean ________________________________ From: Fabrice Durand via PacketFence-users <[email protected]> Sent: Friday, March 22, 2019 12:41:15 PM To: [email protected] Cc: Fabrice Durand Subject: Re: [PacketFence-users] DHCP Issues Hello Sean, can you try that: curl http://127.0.0.1:22222/api/v1/dhcp/stats/eth0.3 | python -m json.tool and paste the result. Regards Fabrice Le 19-03-21 à 11 h 32, Seán Mac Lochlainn via PacketFence-users a écrit : Hi Nicolas, I created an external DHCP server in Windows Server and also added the DHCP server to the ‘Production DHCP servers’ list in the Admin Interface. The user will now go to VLAN 10 (Production) when authenticated. Using WireShark, I noticed that the external DHCP server I created now sends a DHCPOFFER to the client but there is no DHCPREQUEST from the client which I’m unsure why. Is there any further configuration needed to integrate the external DHCP server into PacketFence or is it a configuration issue? I tried using ip helper-address on the switch but still receive the same issue Any further help would be greatly appreciated Regards, Sean ________________________________ From: Nicolas Quiniou-Briand via PacketFence-users <[email protected]><mailto:[email protected]> Sent: Thursday, March 21, 2019 8:28:01 AM To: [email protected]<mailto:[email protected]> Cc: Nicolas Quiniou-Briand Subject: Re: [PacketFence-users] DHCP Issues Hello, On 2019-03-20 5:09 p.m., Seán Mac Lochlainn via PacketFence-users wrote: > Hi Everyone, > > I’m a student and doing a project, creating a small lab with 802.1x > authentication. > > I’m facing issues with the DHCP from PacketFence assigning the client an > IP address. (Client doesn’t get an IP address on registration or > isolation VLAN). > > I can successfully authenticate clients using PEAP but the client > doesn’t receive a correct IP address of the VLAN it has been assigned > to. Normally it will receive a 169.254.x.x IP address instead. If your clients are correctly authenticate, they should not go in registration or isolation networks. You should return another VLAN where you have your own production or test DHCP server. -- Nicolas Quiniou-Briand [email protected]<mailto:[email protected]> :: +1.514.447.4918 *140 :: https://inverse.ca Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence (https://packetfence.org) and Fingerbank (http://fingerbank.org) _______________________________________________ PacketFence-users mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/packetfence-users _______________________________________________ PacketFence-users mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/packetfence-users -- Fabrice Durand [email protected]<mailto:[email protected]> :: +1.514.447.4918 (x135) :: www.inverse.ca<http://www.inverse.ca> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
