How do setup dhcpd.conf so that all clients connected to NIC 1 will have 192.168.2.x IPs and all clients connected to NIC 2 gets 192.168.3.x IPs and all with netmask 255.255.248.0.
My current dhcpd.conf config file:
option subnet-mask 255.255.248.0;
subnet 192.168.0.0 netmask 255.255.248.0 {
option routers 192.168.2.10;
option broadcast-address 192.168.2.255;
option subnet-mask 255.255.248.0;
option domain-name-servers 192.168.2.10;
range 192.168.2.30 192.168.2.250;
}
subnet 192.168.0.0 netmask 255.255.248.0 {
option routers 192.168.3.10;
option broadcast-address 192.168.3.255;
option subnet-mask 255.255.248.0;
option domain-name-servers 192.168.3.10;
range 192.168.3.30 192.168.3.250;
}
host host1 {
hardware ethernet xxxxxxxxxxxxxx;
fixed-address 192.168.2.10;
}
host host2 {
hardware ethernet xxxxxxxxxxxxxx;
fixed-address 192.168.3.10;
}