Failover question
Hugo Rebello
hugo.rebello at dhl.com
Tue Mar 13 19:17:44 UTC 2007
Guys,
Anybody could help me ?
I did the configuration below, but in the secondary server I am
receiving the follow message:
******
failover peer "myfailover" state {
my state recover at 2 2007/03/13 16:43:09;
partner state unknown-state at 2 2007/03/13 16:43:09;
mclt 0;
}
*******
I don't know what's happen, but when I turn on the failover the
communications between the servers is interrupted and the DHCP service stop.
Look at the servers configuration below.
*******
Server 1 dhcpd.conf (Primary)
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
authoritative;
ddns-update-style none;
failover peer "myfailover" {
primary;
address 192.168.10.30;
port 519;
peer address 192.168.10.31;
peer port 520;
max-response-delay 30;
max-unacked-updates 10;
mclt 1800;
split 128;
load balance max seconds 3;
}
# declaration of common options
include "/etc/dhcpd.common_options";
# network declarations
include "/etc/dhcpd.lan";
****************
Server 1 dhcpd.lan (Primary)
# Rede Interna
subnet 192.168.10.0 netmask 255.255.255.0 {
pool {
failover peer "myfailover";
deny dynamic bootp clients;
range 192.168.10.100 192.168.10.254;
option subnet-mask 255.255.255.0;
option routers 192.168.10.1;
option broadcast-address 192.168.10.255;
option domain-name-servers 192.168.10.30;
}
}
**********
Server 2 dhcpd.conf (Secondary)
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
authoritative;
ddns-update-style none;
failover peer "failover" {
secondary;
address 192.168.10.31;
port 520;
peer address 192.168.10.30;
peer port 519;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
}
# declaration of common options
include "/etc/dhcpd.common_options";
# network declarations
include "/etc/dhcpd.lan";
************
Server 2 dhcpd.lan (Secondary)
# Rede Interna
subnet 192.168.10.0 netmask 255.255.255.0 {
pool {
failover peer "myfailover";
deny dynamic bootp clients;
range 192.168.10.100 192.168.10.254;
option subnet-mask 255.255.255.0;
option routers 192.168.10.1;
option broadcast-address 192.168.10.255;
option domain-name-servers 192.168.10.30;
}
}
*********
Thank you.
Cheers,
Hugo
More information about the dhcp-users
mailing list