Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCP failover
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gondolin
Apprentice
Apprentice


Joined: 09 Apr 2003
Posts: 158

PostPosted: Tue Jul 25, 2006 2:21 pm    Post subject: DHCP failover Reply with quote

I'm having trouble to get my dhcp failover to work, its not serving any IP towards my windows clients:
If i disable failover peer "ucc-dhcp"; and deny dynamic bootp clients; then all works fine. There are also no errors.

I have a simple version that works with one interface and only for IP phones

/etc/dhcp/dhcp.conf
ddns-update-style none;
one-lease-per-client true;
option domain-name "sxpbelux.net";
option subnet-mask 255.255.252.0;
default-lease-time 1209600;
max-lease-time 2419200;
authoritative;
failover peer "dhcp" {
primary;
address 10.32.92.31;
port 519;
peer address 10.32.92.32;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
mclt 600;
split 128;
load balance max seconds 3;
}
include "/etc/dhcp/dhcpd.master";

/etc/dhcp/dhcpd.master
subnet 10.32.92.0 netmask 255.255.252.0 {
pool {
failover peer "dhcp";
range 10.32.92.51 10.32.95.254;
deny dynamic bootp clients;
}
option broadcast-address 10.32.95.255;
}



non working version

The machine has two interfaces 10.32.96.0/24 and 10.32.16.0/24

/etc/dhcp/dhcp.conf
authoritative;
ddns-update-style ad-hoc;
one-lease-per-client true;

failover peer "ucc-dhcp" {
primary;
address 10.32.96.31;
port 519;
peer address 10.32.96.32;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
mclt 3600;
split 128;
load balance max seconds 3;
}

include "/etc/dhcp/vlan-voip.conf"; # for IP phones
include "/etc/dhcp/vlan-data.conf"; # for windows machines


/etc/dhcp/vlan-voip.conf
subnet 10.32.96.0 netmask 255.255.255.0 {
option domain-name "sxpbelux.net";
option subnet-mask 255.255.255.0;
default-lease-time 1209600;
max-lease-time 2419200;
option broadcast-address 10.32.96.255;
pool {
failover peer "ucc-dhcp";
range 10.32.96.51 10.32.96.254;
deny dynamic bootp clients;
}

}


/etc/dhcp/vlan-data.conf
option WPAD code 252 = string;

subnet 10.32.16.0 netmask 255.255.255.0 {
option domain-name "sxpbelux.net";
option subnet-mask 255.255.255.0;
option broadcast-address 10.32.16.255;
option domain-name-servers 10.32.16.2, 10.32.3.150;
option routers 10.32.16.20;
option WPAD "http://ucc-proxy:8080/wpad.dat";
pool {
failover peer "ucc-dhcp";
max-lease-time 3600;
range 10.32.16.226 10.32.16.250;
deny dynamic bootp clients;
}
}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum