Option 82 Issues

Christian Kratzer ck-lists at cksoft.de
Sat Aug 25 07:02:49 UTC 2018


Hi,

On Fri, 24 Aug 2018, Mike Hammett wrote:
<snipped/>
> # 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;
> }
<snippped/>
> 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.

your issue is that your request is coming from the 192.168.120.0/24 range which does not match the 172.19.50.0/24 range your have cofigured for your hosts.

You have two options depending on your network topology:

1. configure the relay to send from the 172.19.50.0/24 range.

2. put bot 192.168.120.0/24 and 172.19.50.0/24 subnets into a shared network.


Greetings
Christian



-- 
Christian Kratzer                   CK Software GmbH
Email:   ck at cksoft.de               Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0       D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9       HRB 245288, Amtsgericht Stuttgart
Mobile:  +49 171 1947 843           Geschaeftsfuehrer: Christian Kratzer
Web:     http://www.cksoft.de/


More information about the dhcp-users mailing list