Freeradius DHCP - strange behavior

Kamil Jońca kjonca at o2.pl
Sat Nov 12 12:36:49 CET 2016


I try to migrate from isc-dhcp and I have strange behaviour:
--8<---------------cut here---------------start------------->8---
Debug: Server core libs:
Debug:   freeradius-server        : 3.0.12
Debug:   talloc                   : 2.0.*
Debug:   ssl                      : 1.1.0c release
Debug:   pcre                     : 8.39 2016-06-14
--8<---------------cut here---------------end--------------->8---
(packaged by dabian)
/etc/freeradius/3.0/sites-available/dhcp
(excerpt)

--8<---------------cut here---------------start------------->8---
listen {
    type = dhcp
    ipaddr = 0.0.0.0
    src_ipaddr = 192.168.200.200
    port = 6700
    interface = lan
    broadcast = yes
}
--8<---------------cut here---------------end--------------->8---

with this configuration

--8<---------------cut here---------------start------------->8---
sudo /sbin/dhclient -p 6701 -d -v wlan0
--8<---------------cut here---------------end--------------->8---

works as expected.

but when I try to change port to 67 it stop respond to broadcast queries
:(

ie.

--8<---------------cut here---------------start------------->8---
sudo /sbin/dhclient -d -s 192.168.200.200 -v wlan0
--8<---------------cut here---------------end--------------->8---

works, while:

--8<---------------cut here---------------start------------->8---
sudo /sbin/dhclient -d  -v wlan0
--8<---------------cut here---------------end--------------->8---

not.

dhclient and freeradius were run on different boxes with router between
them.


i tried with different "ipaddr" option (0.0.0.0 , 255.255.255.255 ,
192.168.200.200)
but without success.

I realize, that it is not neccessarily freeradius fault, but I have no
idea what should I check.


KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/
To find a friend one must close one eye; to keep him -- two.
		-- Norman Douglas


More information about the Freeradius-Users mailing list