Answer the question
In order to leave comments, you need to log in
Why isc-dhcp-server doesn't want to work without subnet on one interface?
I'm testing isc dhcp as a receiver from relay-dhcp.
Several switches Root - router (L2 / L3) combo
act as relay-dhcp .
ISC server with one interface - eth0 - ip 10.0.1.15 Router
with enabled relay-agent 10.0.1.1
Direct visibility between them.
Further n=2 (more plan) the number of VLANs 192.168.1.0/24 and 192.168.2.0/24 are collected and routed on the same router 192.168.1.1 and 192.168.2.1
DHCP-Relay is running on switches - 192.168.x.2 /24 respectively, according to all canons dhcp realy.
The problem is that I do not need DHCP on the 10.0.1.150 network, I just need DHCP to give addresses in accordance with which network the relay sent the request to.
Hence the problem that Internet Systems Consortium DHCP Server 4.3.5 sends me to the config.
No subnet declaration for eth0 (10.0.1.15).
** Ignoring requests on eth0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
option domain-name "tech01.local";
option domain-name-servers 10.0.1.200;
default-lease-time 32400;
max-lease-time 604800;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
authoritative;
range 192.168.1.100 192.168.1.220;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
}
subnet 192.168.2.0 netmask 255.255.255.0 {
authoritative;
range 192.168.2.100 192.168.2.220;
option routers 192.168.2.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
}
Answer the question
In order to leave comments, you need to log in
Just declare the subnet of the listening interface, without the range.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question