Problem (?) with multiple dhcp sites and 2.0.5
I'm trying to configure two dhcp sites on different interfaces. part of first site: listen { ipaddr = * port = 67 type = dhcp interface = eth1.940 } second: listen { ipaddr = * port = 67 type = dhcp interface = eth0 } ERROR: Failed to open socket: cannot bind socket: Address already in use /usr/local/freeradius205pre/etc/raddb/sites-enabled/dhcp-iptv[90]: Error binding to port for 0.0.0.0 port 67 Ok, i'm trying to specify exactly ip addresses of interfaces - but nothing works - because dhcp requests came with 255.255.255.255 destination address - and freeradius does not recieve this packets. -- With best regards, Evgeniy Kozhuhovskiy, Leader of Services team, Minsk State Phony Network, RUE Beltelecom.
Evgeniy Kozhuhovskiy wrote:
I'm trying to configure two dhcp sites on different interfaces. ... ERROR: Failed to open socket: cannot bind socket: Address already in use /usr/local/freeradius205pre/etc/raddb/sites-enabled/dhcp-iptv[90]: Error binding to port for 0.0.0.0 port 67
Grab an update from CVS. It turns out (not suprisingly) that sockets have to be bound to an interface before they bind to an IP address. I've also updated the debug printing routines, so that the interface name is printed when the server starts up. Alan DeKok.
participants (2)
-
Alan DeKok -
Evgeniy Kozhuhovskiy