> пример настройки
> http://team.pc-club.ru/?page_id=91
> в моей сети работает успешно.странно, все сделал как в примере, запрос до сервера доходит, но не выдается адрес, по-старому пишет:
---------------------------------------------------------------------------
TIME: 2011-03-09 16:34:47.654
IP: 10.250.100.98 (00:14:f6:8a:ac:db) > 192.168.0.254 (00:11:11:88:78:c9)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 1
XID: a32d1312
SECS: 6912
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 10.250.100.98
CHADDR: 00:11:5b:29:50:f3:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 116 ( 1) DHCP Autoconfiguration 01 .
OPTION: 61 ( 7) Client-identifier 01:00:11:5b:29:50:f3
OPTION: 12 ( 8) Host name BOOK-WIN
OPTION: 60 ( 8) Vendor class identifier MSFT 5.0
OPTION: 55 ( 11) Parameter Request List 1 (Subnet mask)
15 (Domainname)
3 (Routers)
6 (DNS server)
44 (NetBIOS name server)
46 (NetBIOS node type)
47 (NetBIOS scope)
31 (Perform router discovery)
33 (Static route)
249 (MSFT - Classless route)
43 (Vendor specific info)
OPTION: 82 ( 18) Relay Agent Information
Circuit-ID 00:04:01:f4:00:02 <unknown-0> 02:08 Remote-ID 00:06:00:13:46:99:2d:fd
---------------------------------------------------------------------------
Настройка такая:
class "avb_test2"
{
match if (binary-to-ascii (16,8, "", suffix ( option agent.circuit-id,1 )) = "2") and (binary-to-ascii (16, 8, ":", substring ( option agent.remote-id,2,6)) = "0:13:46:99:2d:fd");
}
pool {
range 192.168.0.48;
allow members of "avb_test2";