Option 82 Issues

Mike Hammett isc-dhcp-users at ics-il.net
Sat Aug 25 00:02:15 UTC 2018


===== 
# dhcpd.conf 
option domain-name "[redacted]"; 


default-lease-time 60000; 
max-lease-time 720000; 


ddns-update-style none; 


log-facility local7; 


# Local 
subnet [redacted] netmask 255.255.255.224 { 
deny unknown-clients; 
} 
# Genoa 
subnet 172.19.50.0 netmask 255.255.255.0 { 
authoritative; 
deny unknown-clients; 
} 


include "/etc/dhcp/dhcpd.d/Genoa.mgmt"; 
# DSLAMs 
subnet 192.168.120.0 netmask 255.255.255.0 { 
} 
===== 


===== 

#Genoa.mgmt 
host Genoa_01_01_01 { 
host-identifier option agent.circuit-id "Genoa_01_01 atm 1/DSL1:0.36"; 
fixed-address 172.19.50.1; 
} 
host Genoa_01_01_02 { 
host-identifier option agent.circuit-id "Genoa_01_01 atm 1/DSL2:0.36"; 
fixed-address 172.19.50.2; 
} 
host Genoa_01_01_03 { 
host-identifier option agent.circuit-id "Genoa_01_01 atm 1/DSL3:0.36"; 
fixed-address 172.19.50.3; 
} 
[cut for brevity] 
===== 






It's not going to serve any local DHCP, only remote, but I figured out I needed a local subnet for it to even fire up. 

I don't want any pools, only reservations\hosts assigning the same IP to the same DSLAM port (well, to be more specific, to the line I have configured to send from the DSLAM) every time. 


I added the DSLAMs subnet to stop this, " DHCPDISCOVER from d8:b6:b7:ea:8d:44 via 192.168.120.168: unknown network segment", but instead I got this, " DHCPDISCOVER from d8:b6:b7:ea:8d:44 via 192.168.120.168: network 192.168.120.0/24: no free leases". It isn't supposed to be getting an address in the 192.168 range, but in the 172.19 range. That's why I specified the host file. 

Webmin recognizes all of the host entries (although not the circuit-id information because it doesn't support it), so I assume they're setup correctly. 



I also get this, but Google was no help, " parse_option_buffer: malformed option vendor.<unknown> (code 808464740): option length exceeds option buffer length." Calix says the agent.circuit-id field can support 63 characters and I'm only using 27. Could be related, could not be. I pulled the information in agent.circuit-id out of tcpdump as dhcpd didn't seem to have a way of revealing that. 




Thoughts? 

----- 
Mike Hammett 
Intelligent Computing Solutions 

Midwest Internet Exchange 

The Brothers WISP 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180824/a1ea03e3/attachment.html>


More information about the dhcp-users mailing list