Hi I have managed to resolve the issue with the client not receiving the DHCP Offer as I may have set something in the config somewhere that was causing the freeradius dhcp to return an offer to the gateway and not as a broadcast. I decided to start again and that resolved that issue. Following from that, I would like to setup DHCP for multiple subnets/vlans, however, is it recommended to setup a separate dhcp virtual server per vlan or do a switch statement in the DHCP conf file switching to the relevant ippool per vlan? - Kind Regards - Byron Jeffery - ICT Helpdesk Coordinator ------------------------------ - Phone:0243636107 - Mobile:043 230 7030 - Fax:(07) 3889 7245 - Office:Suite 304, 200 The Central Coast Hwy, Erina NSW 2250 - Postal:PO Box 3101, Caboolture BC QLD 4510 ------------------------------ The content of this message is provided without responsibility in law for their accuracy or otherwise, and without assumption of a duty of care by Australian Christian College. Whilst every attempt has been made to ensure that material contained in this email is free from computer viruses or other defects, the attached files are provided, and may only be used, on the basis that the user assumes all responsibility for use of the material transmitted. This email is intended only for the use of the individual or entity names above and may contain information that is confidential and privileged. If you are not the intended recipient, please note that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email and destroy the original message. On Wed, Jul 12, 2017 at 10:04 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Jul 12, 2017, at 2:21 AM, Byron Jeffery <byronjeffery@cem.org.au> wrote:
I have successfully managed to get the Freeradius DHCP server with a single subnet linked to MySQL radius database.
That's good.
However, I have been stumped by an issue whereby a wireshark capture shows the client sending out a DHCP Discover, the Freeradius DHCP server replying with a DHCP-Offer with the correct IP address, but am not seeing the Offer in the wireshark capture
What wireshark capture? Where?
There isn't much magic here. If FreeRADIUS sends a packet, it relies on the OS to send the packet. If the packet disappears... blame the OS / routing, not FreeRADIUS.
and hence the client not receiving the IP address allocation. My freeradius version is 3.0.12. I am unsure of where else to look and was wondering if you may have any further suggestions.
Track the packet out the interface that FreeRADIUS is using. Then, track the packet hop by hop across the network.
Note that wireshark on the same machine MIGHT NOT see the outgoing packet. It all depends on how the local network stack works.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html