SV: Failover question

Lars Jacobsen lars-jacobsen at newmail.dk
Wed Oct 11 18:56:04 UTC 2006


> 
> You can even put different pools in the same subnet or shared
> network in different failover relationships with different
> servers.
> 
So this means that in our (Eric H and mine) preferred setup where we both
have clients on the same subnet and shared network, we can just configure
failover for the pools with more IP´s in it and don’t do it for the pools
with only one IP.
And as Simon mentions previously it actually doesn’t matter witch of the two
servers answer and hands out a (the) lease to the client, from the one IP
pool, as long as the attached equipment only gets one IP that’s always the
same. And if the servers need to transision information it would always be
the same except for the lease time, witch doesn’t mean that much, ... hey
now I get the idea :-)
This is a strange setup but who cares if it just works.

/Lars



btw latest sample from my (single server) conf:


### TEST LMC STATIC IP ###

class "1130022" {
         match if  substring ( (option agent.circuit-id) , 0,7)= "1130022";
lease limit 1; 
}

### TEST LMC ###
class "1130-ch1" {
         match if  substring ( (option agent.circuit-id) , 0,4)= "1130" AND
(substring ( (option agent.circuit-id) , 4,2)= "01" OR
substring ( (option agent.circuit-id) , 4,2)= "02" OR
substring ( (option agent.circuit-id) , 4,2)= "03" OR
substring ( (option agent.circuit-id) , 4,2)= "04" OR
substring ( (option agent.circuit-id) , 4,2)= "05" OR
substring ( (option agent.circuit-id) , 4,2)= "06" OR
substring ( (option agent.circuit-id) , 4,2)= "07" OR
substring ( (option agent.circuit-id) , 4,2)= "08" OR
substring ( (option agent.circuit-id) , 4,2)= "09" OR
substring ( (option agent.circuit-id) , 4,2)= "10" OR
substring ( (option agent.circuit-id) , 4,2)= "11" OR
substring ( (option agent.circuit-id) , 4,2)= "12" OR
substring ( (option agent.circuit-id) , 4,2)= "13" OR
substring ( (option agent.circuit-id) , 4,2)= "14" OR
substring ( (option agent.circuit-id) , 4,2)= "15" OR
substring ( (option agent.circuit-id) , 4,2)= "16");
spawn with option agent.circuit-id;
lease limit 1;     
}

### TEST LMC ###
# 1130-ch1
	subnet 85.27.128.224 netmask 255.255.255.224 {
		option routers 85.27.128.225;
		option subnet-mask 255.255.255.224;
		pool {
			allow members of "1130022";
			range 85.27.128.226 85.27.128.226;
			}
		pool {
			allow members of "1130-ch1";
			deny members of "1130022";
			range 85.27.128.227 85.27.128.254;
			}
		}





More information about the dhcp-users mailing list