LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Help with DHCP Failover server with multiple subnets (https://www.linuxquestions.org/questions/linux-server-73/help-with-dhcp-failover-server-with-multiple-subnets-723500/)

Kolibri 05-04-2009 04:50 AM

Help with DHCP Failover server with multiple subnets
 
Hi all,

I need help. I should create DHCP Failover server which gives IP addresses for 2 subnets over the Cisco router. Cisco router is configured with ip-helper.
When I describe multiple subnets in non failover dhcpd.conf it starts, but in failover dhcpd.conf I don't know and can't find how to add two subnets. Can you help with dhcpd.conf file, how should it look like ? Thanks in advance.

My dhcpd.conf
==========================
ddns-update-style none;
one-lease-per-client true;
option domain-name "mydomain.com";
option domain-name-servers 192.168.1.10;
option subnet-mask 255.255.255.0;
default-lease-time 300; max-lease-time 300;
authoritative;
failover peer "dhcp" {
primary;
address 192.168.1.3;
port 519;
peer address 192.168.1.4;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
mclt 600;
split 128;
load balance max seconds 3;
}
include "/etc/dhcpd.master";
=============================

dhcpd.master file
==============================

subnet 192.168.1.0 netmask 255.255.255.0 {
pool {
failover peer "dhcp";
range 192.168.1.100 192.168.1.200;
deny dynamic bootp clients;
}
option routers 192.168.1.1;
}
==============================
Where and how should I enter additional subnets ? Thanks.


All times are GMT -5. The time now is 08:48 AM.