[pkg-dhcp-devel] Bug#590641: isc-dhcp-server: DHCP server fails to start if the subnet is not the primary subnet for a device.
Fabien C.
6odprr3222prfwx at jetable.org
Sun Jul 29 12:47:33 UTC 2012
Severity: important
thanks
Hello,
I confirm this bug is still present on Squeeze.
# ip addr show
--------
10: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:08:a1:95:f0:3b brd ff:ff:ff:ff:ff:ff
inet 10.3.5.1/24 brd 10.3.5.255 scope global br0
inet 192.168.5.1/24 scope global br0
--------
Problem:
--------
No subnet declaration for br0 (10.3.5.1).
** Ignoring requests on br0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface br0 is attached. **
Not configured to listen on any interfaces!
--------
But I have a subnet declaration for 192.168.5.1 :
--------
subnet 192.168.5.0 netmask 255.255.255.0
{
...
}
--------
Trying to add a label to the interface and launch dhcpd on this labeled
interface like this doesn't resolve the problem:
ip addr add 192.168.5.1/24 label br0:1 broadcast 192.168.5.255 dev br0
-OR-
ifconfig br0:1 192.168.5.1/24
Then it would say:
dhcpd: No subnet declaration for br0:0 (no IPv4 addresses)
Thanks,
Fabien C.
More information about the pkg-dhcp-devel
mailing list