Mechanic Posted October 28, 2016 Реализовывал ли кто связку freeradius+dhcp+ip-pool ? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Telesis Posted November 15, 2016 +1 Походу никто... Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
FATHER_FBI Posted November 17, 2016 В принципе ничего сложного в этой связке не вижу, собираюсь как раз у себя реализовать DHCP на FreeRADIUS Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
roysbike Posted November 18, 2016 (edited) Используем ip pool только для выдачи гостевого IP клиенту. У нас qinq . Связка qinq + mac . Если пары в биллинге нет, то выдается гостевой адрес из базы ip pool freeradius'а. Пример настройки cat /etc/freeradius/modules/ippool | sed '/^$/d;/^#/d;/^.*#.*/d' ippool main_pool { range-start = 10.10.16.20 range-stop = 10.10.31.254 netmask = 255.255.255.255 cache-size = 4095 session-db = ${db_dir}/db.ippool ip-index = ${db_dir}/db.ipindex override = no maximum-timeout = 60 key = "%{NAS-IP-Address} %{Calling-Station-Id}" } Создаем нужные файлы и даем на них права фрирадиусу touch /etc/freeradius/db.ipindex touch /etc/freeradius/db.ippool chown freerad /etc/freeradius/db.* chmod g+w /etc/freeradius/db.* cat /etc/freeradius/sites-enabled/default | sed '/^$/d;/^#/d;/^.*#.*/d' Раскоментируйте main_ippol везде Добавляем атрибут в биллинг в radcheck Pool-Name:= main_pool Рестартим radius Edited November 18, 2016 by roysbike Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...