failover for mixed subnets
Luc T.
taoh666 at yahoo.com
Sun Jun 10 18:25:43 UTC 2007
Hi, I am setting up failover for a mixed subnet, which provides both dynamic IPs and static IP according to host mac address. Following is the conf for the primary server:
authoritative;
option domain-name "jkkj.ca";
option domain-name-servers 192.168.1.2;
default-lease-time 14400;
ddns-update-style none;
failover peer "dhcp-failover-1" {
primary; # declare this to be the primary server
address 192.168.1.2;
port 520;
peer address 192.168.1.6;
peer port 520;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
mclt 1800;
split 128;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
pool{
deny dynamic bootp clients;
failover peer "dhcp-failover-1";
range 192.168.1.101 192.168.1.199;
}
host 0014389390E2 { hardware ethernet 00:14:38:93:90:E2; fixed-address 192.168.1.12;}
host 0014389390E3 { hardware ethernet 00:14:38:93:90:E2; fixed-address 192.168.1.13;}
host 0014389390E4 { hardware ethernet 00:14:38:93:90:E2; fixed-address 192.168.1.14;}
host 0014389390E5 { hardware ethernet 00:14:38:93:90:E2; fixed-address 192.168.1.15;}
host 0014389390E6 { hardware ethernet 00:14:38:93:90:E2; fixed-address 192.168.1.16;}
}
My questions are:
1. for the static part, namely 192.168.1.12 to 192.168.1.16, how can I set up failover?
2. do I have to create a pool? Can I use following configuration for the subnet:
subnet 192.168.1.0 netmask 255.255.255.0 {
deny dynamic bootp clients;
failover peer "dhcp-failover-1";
range 192.168.1.101 192.168.1.199;
}
3. In addition, how can the two servers know the other is down or up, by ping?
Thanks!
More information about the dhcp-users
mailing list