agent.circuit-id not working, but agent information showing up in packet capture
Bryan_Coleman at dart.biz
Bryan_Coleman at dart.biz
Thu Nov 1 11:58:09 UTC 2007
I have tried versions 3.0.5, 3.0.6, 3.1.0 and 4.0.0b2
I have two cisco switches, one 2950 and one 2960
I am seeing log messages from the client on the 2950, but not from the
client on the 2960.
It doesn't matter which switch I have the dhcpd server plugged into.
Here are contents of the config file:
ddns-update-style none;
if exists agent.circuit-id {
log(info, concat("Lease for ", binary-to-ascii(10, 8, ".",
leased-address), " is connected to interface ",
binary-to-ascii(10, 8, "/", suffix(option
agent.circuit-id, 2)), " (add 1 to port number!), VLAN ",
binary-to-ascii(10, 16, "",
substring(option agent.circuit-id, 2, 2)), " on switch ",
binary-to-ascii(16, 8, ":",
substring(option agent.remote-id, 2, 6))));
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)));
log(info, concat("Port ", binary-to-ascii(10, 8, "/", suffix(option
agent.circuit-id, 2))));
}
if exists agent.remote-id {
log(info, concat("Remote: ", binary-to-ascii(16, 8, ".", option
agent.remote-id)));
log(info, concat("Circuit: ", binary-to-ascii(10, 8, ".", option
agent.circuit-id)));
}
Here is the network capture:
Thoughts?
Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20071101/10a9e5e2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20071031-1.cap
Type: application/octet-stream
Size: 23988 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20071101/10a9e5e2/attachment.obj>
More information about the dhcp-users
mailing list