Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Option 82 Issues (Mike Hammett)
   2. Re: Option 82 Issues (Christian Kratzer)


----------------------------------------------------------------------

Message: 1
Date: Fri, 24 Aug 2018 19:02:15 -0500 (CDT)
From: Mike Hammett <isc-dhcp-us...@ics-il.net>
To: dhcp-users@lists.isc.org
Subject: Option 82 Issues
Message-ID:
        <283893702.2516.1535155330930.JavaMail.mhammett@ThunderFuck>
Content-Type: text/plain; charset="utf-8"


===== 
# 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-0001.html>

------------------------------

Message: 2
Date: Sat, 25 Aug 2018 09:02:49 +0200 (CEST)
From: Christian Kratzer <ck-li...@cksoft.de>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: Option 82 Issues
Message-ID:
        <alpine.bsf.2.21.9999.1808250858200.6...@nocfra1.cksoft.de>
Content-Type: text/plain; format=flowed; charset=US-ASCII

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:   c...@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/


------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 118, Issue 19
*******************************************

Reply via email to