<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=iso-8859-1" http-equiv="Content-Type">
<style>
pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
</style>
</head>
<body bgcolor="#ffffff" text="#000000">
<div>
<br /><br />"David W. Hankins" <David_Hankins@isc.org> wrote:<br /><blockquote class="webmail-quote" style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">On Wed, Aug 27, 2008 at 03:48:53PM +0200, Staffan.Ungsgard@teliasonera.com wrote:<br />> It seems that if a request matches more than one class, capabilities from<br />> either class may be honoured.<br />> In the following example a lease limit of 4 is applied to a lease that<br />> matches the classes MainClass and AnothetClass1 - eventhough only MainClass<br />> is "allowed" in the pool definition.<br /><br />Lease limits make a class a "billing class". A client can be matched<br />by several classes that have lease limits, but only one will be billed<br />for that client.<br /></blockquote><div><br />So Steffan, you have to make sure a client only matches one single class - and get billed to that class, if you want classes to be the selecting parameter in your Allow/Deny statement. Otherwise strange things can happend.<br /> </div><blockquote class="webmail-quote" style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">Note that a client need not be billed to the class in an "allow"<br />statement for it to be matched.<br /><br />> Is this by design - i.e. is this something that could be considered "good<br />> practise" to augment leases ?<br /><br />Yes, it is by design that a client may match multiple classes, if they<br />are set up that way.<br /></blockquote><div><br />I haven´t found a simple way to force /prioritice one class from another yet, so it seems you have to go over your match statements again. </div><blockquote class="webmail-quote" style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">-- <br />Ash bugud-gul durbatuluk agh burzum-ishi krimpatul.<br />Why settle for the lesser evil? https://secure.isc.org/store/t-shirt/<br />-- <br />David W. Hankins "If you don't do it right the first time,<br />Software Engineer you'll just have to do it again."<br />Internet Systems Consortium, Inc. -- Jack T. Hankins<br /></blockquote><div><br />Regards<br /><br />Lars Jacobsen </div>
</div>
</body>
</html>