LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-04-2009, 04:50 AM   #1
Kolibri
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
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.

Last edited by Kolibri; 05-05-2009 at 02:11 AM.
 
  


Reply

Tags
dhcp, failover


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP on multiple subnets PcHammer Linux - Networking 2 10-11-2007 04:01 AM
Handling multiple subnets with DHCP/DNS Kristijan Linux - Networking 2 03-17-2007 07:57 PM
DHCP Server for several subnets Simon_Sez Linux - Software 5 12-30-2005 05:06 PM
DHCP server with multiple nics and subnets hawkpaul Linux - Networking 6 12-20-2001 07:32 AM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration