я не много подправил dhcpd.conf
Код:
option domain-name-servers 10.9.0.254;
lease-file-name "/var/lib/dhcpd/dhcpd.leases";
log-facility local7;
default-lease-time 60;
max-lease-time 120;
ddns-update-style none;
local-address 10.9.17.250;
#one-lease-per-client true;
class "sw1-1" {
match if binary-to-ascii(10, 8, ".", packet(24,4))="10.9.17.200" and binary-to-ascii(10, 8, "", suffix(option agent.circuit-id, 1)) = "1";
}
if exists agent.circuit-id
{
log ( info, concat( "Lease for ", binary-to-ascii (10, 8, ".", leased-address),.
" raw option-82 info is CID: ", binary-to-ascii (10, 8, ".", option agent.circuit-id), " AID: ",
binary-to-ascii(16, 8, ".", option agent.remote-id)));
}
shared-network mgt {
stash-agent-options true;
subnet 10.9.17.0 netmask 255.255.255.0 {
#not authoritative;
#range 10.9.17.1 10.9.17.50;
allow unknown-clients;
}
subnet 10.9.8.0 netmask 255.255.255.0 {
option broadcast-address 10.9.8.255;
option domain-name-servers 10.9.0.254;
option routers 10.9.8.250;
option subnet-mask 255.255.255.0;
########################################################
pool { range 10.9.8.1; allow members of "sw1-1";}
}
}
вот для первого порта и свича с ip 10.9.17.200
ситуация такая же