Конфигурация модуля dhcp выполняется по пути
mcedit /usr/local/etc/raddb/sites-enabled/dhcp
server dhcp {
port = 67
ipaddr = *
# interface = eth0
listen {
type = dhcp
ipaddr = *
port = ${..port}
# interface = ${..interface}
# It's set to "no" here for testing.
broadcast = no
}
слушает только unicast запросы на всех IP сервера
server dhcp {
port = 67
ipaddr = *
interface = eth0
listen {
type = dhcp
ipaddr = *
port = ${..port}
interface = ${..interface}
# It's set to "no" here for testing.
broadcast = yes
}
В параметре interface через пробел указать интерфейсы на которых слушать
Находим строку
DHCP-DHCP-Server-Identifier = "%{Packet-Dst-IP-Address}"
и указываем IP вашего сервера например:
DHCP-DHCP-Server-Identifier = "10.0.1.1"
Этот параметр в конфигурации будет встречаться 2 раза, поменять в оба случаях. Это ОЧЕНЬ ВАЖНО!