S
S
Sergey2012-03-16 12:27:38
Domain Name System
Sergey, 2012-03-16 12:27:38

Configuring the dnsmasq DHCP server to issue addresses via DHCP relay

Help to file a dhcp server that will accept requests from a dhcp relay.
The dhcp server has one interface - eth0, with an address, say, 192.168.10.10.
There is another subnet - 192.168.11.0/24, behind the firewall. The firewall is configured as a DHCP relay, it forwards requests to 192.168.10.10. Requests come successfully, but dnsmasq does not want to answer:

Mar 16 13:18:52 localhost dnsmasq-dhcp[18497]: no address range available for DHCP request via eth0
although it is configured according to the manual:

# This is an example of a DHCP range where the netmask is given. This # is needed for networks we reach the dnsmasq DHCP server via a relay # agent. If you don't know what a DHCP relay agent is, you probably # don't need to worry about this. dhcp-range=192.168.11.50,192.168.11.150,255.255.255.0,12h
Who did such a thing, tell me where I'm wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
smartly, 2012-03-16
@smartly

The request came to eth0. It has an address on it. 192.168.10.10.
Your range is described for 192.168.11.0/24
Describe the range for 192.168.10.0/24, if you need addresses for the 192.168.10.0/24 network to be issued on eth0
or, add an address from the 192.168.11.0/24 subnet to eth0, if I correctly understood the problem.
ex:
ip addr add 192.168.11.1/24 dev eth0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question