<br><font size=2 face="sans-serif">Here is what I have:</font>
<br>
<br><font size=2 face="sans-serif">fedora core 7, linux kernel 2.6</font>
<br>
<br><font size=2 face="sans-serif">tried the version that came with fedora
version 3.0.5 and unpacked and built by hand and tried 3.0.6, both had
the same results</font>
<br>
<br><font size=2 face="sans-serif">in the dhcpd.conf file:</font>
<br>
<br><font size=2 face="sans-serif">if exists agent.circuit-id {</font>
<br><font size=2 face="sans-serif"> log(info, concat("Lease
for ", binary-to-ascii(10, 8, ".", leased-address), "
is connected to interface ",</font>
<br><font size=2 face="sans-serif">
binary-to-ascii(10,
8, "/", suffix(option agent.circuit-id, 2)), " (add 1 to
port number!), VLAN ",</font>
<br><font size=2 face="sans-serif">
binary-to-ascii(10,
16, "", substring(option agent.circuit-id, 2, 2)), "
on switch ", </font>
<br><font size=2 face="sans-serif">
binary-to-ascii(16,
8, ":", substring(option agent.remote-id, 2, 6))));</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> log(info, concat("Lease
for ", binary-to-ascii(10, 8, ".", leased-address), "
raw option-82 info is CID: ", </font>
<br><font size=2 face="sans-serif">
binary-to-ascii(10,
8, ".", option agent.circuit-id), " AID: ", </font>
<br><font size=2 face="sans-serif">
binary-to-ascii(16,
8, ".", option agent.remote-id)));
</font>
<br>
<br><font size=2 face="sans-serif"> log(info, concat("Port ",
binary-to-ascii(10, 8, "/", suffix(option agent.circuit-id, 2))));
</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br>
<br><font size=2 face="sans-serif">Here is the scenario:</font>
<br>
<br><font size=2 face="sans-serif">I have two switches, both cisco switches.
One is a 2950 and the other is a 2960. I have two client devices,
one on each switch. I am trying to assign addresses based on switch/port
layout. I have another system running the dhcp server and is configured
with the conf above of course with other things defined as well. I
can plug the server into either switch and the client on the 2950 will
work just fine. Meaning, I get the log message and the server sends
the correct response containing the correct address. The client on
the 2960 sends its request and the server just logs "DHCPDISCOVER
from <mac-addr> via eth0: network 10.1/16: no free leases".
I did a packet capture on the server system and the dhcp option 82
information is being added to the packet by the switch. However,
the server is not logging the message as containing a agent.circuit-id
field. It is like the server does not see the same packet. I
also tried switching clients, but that also did not work.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Please let me know if you need further
information. All help will be greatly appreciated.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br>
<br><font size=2 face="sans-serif">Bryan</font>
<br>