DHCP server with two NICs
I enabled a dhcp server with the following configuration:
subnet 10.0.0.0 netmask 255.0.0.0
range 10.0.0.10 10.0.0.20;
option routers 10.0.0.1;
option domain-name-servers 10.0.0.1;
option broadcast-address 10.0.0.255;
option ip-forwarding on;
hardware ethernet 00:09:6b:64:f6:d0;
while it was starting it gave me that message:
No subnet declaration for eth1 (220.127.116.11).
** Ignoring requests on eth1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1 is attached. **
How can i let it know that i have two NICs so it will give addresses according to the subnet i match to each NIC?