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. ISC DHCP 4.4.1_CentOS7_DHCPv6_Relay_server: issue related
      with Class matching option along with condition.
      (PaviGuru Pavithragurumurthy)


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

Message: 1
Date: Tue, 6 Nov 2018 21:32:32 +0530
From: PaviGuru Pavithragurumurthy <gurumurth...@gmail.com>
To: dhcp-users@lists.isc.org
Subject: ISC DHCP 4.4.1_CentOS7_DHCPv6_Relay_server: issue related
        with Class matching option along with condition.
Message-ID:
        <CANNSsC6H8epbP=5eneufohdxnrldedfcuucprpjkxar5c-b...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello Team,



I am working on a problem with my ISC DCHP Version 4.4 server for IPv6
from last few days, But I could not found a solution or root cause. So
I hope someone could help me.



Problem : server not responding with IP details for relay request with
selection of class option [ option 18].

It works fine when we comment out on class condition.

>From wireshark print, This interface id will inserted by an relay agent [
?TESTING;?].



Please guide us how to collect debug logs with debug enable or any
configuration error or installation steps. Platform is Centos7.



Configuration file

[root@localhost dhcp]# cat dhcpd6.conf

#

# DHCPv6 Server Configuration file.

#   see /usr/share/doc/dhcp*/dhcpd6.conf.example

#   see dhcpd.conf(5) man page



authoritative;



default-lease-time 86400;

max-lease-time 86400;



allow leasequery;

log-facility local7;



class "team" {

         match if substring (option dhcp6.interface-id, 0, 8) = "TESTING;";

}



subnet6 3001:db8:100:f101::0/64 {

  pool6 {

    log(info, option dhcp6.interface-id);

    range6 3001:db8:100:f101::0:100 3001:db8:100:f101::0:1FF;

    allow members of "team";

  }

}



[root@localhost dhcp]#



[root@localhost /]# /usr/local/sbin/dhcpd -6 -d -lf /var/db/dhcp.leases -cf
/etc/dhcp/dhcpd6.conf eno1

Internet Systems Consortium DHCP Server 4.4.1

Copyright 2004-2018 Internet Systems Consortium.

All rights reserved.

For info, please visit https://www.isc.org/software/dhcp/

Config file: /etc/dhcp/dhcpd6.conf

Database file: /var/db/dhcp.leases

PID file: /var/run/dhcpd6.pid

Wrote 0 class decls to leases file.

Wrote 0 NA, 0 TA, 0 PD leases to lease file.

Bound to *:547

Listening on Socket/5/eno1/3001:db8:100:f101::/64

Sending on   Socket/5/eno1/3001:db8:100:f101::/64

Server starting service.

Relay-forward message from 3001:db8:100:f101:62a8:feff:feab:5500 port 547,
link address 3001:db8:100:f101:62a8:feff:feab:5500, peer address
fe80::208:2ff:fe01:1

*Unable to pick client address: no addresses available*  - shared network
3001:db8:100:f101::/64: 0 total, 0 active,  0 abandoned

Sending Relay-reply to 3001:db8:100:f101:62a8:feff:feab:5500 port 547

Relay-forward message from 3001:db8:100:f101:62a8:feff:feab:5500 port 547,
link address 3001:db8:100:f101:62a8:feff:feab:5500, peer address
fe80::208:2ff:fe01:1

*Unable to pick client address: no addresses available*  - shared network
3001:db8:100:f101::/64: 0 total, 0 active,  0 abandoned

Sending Relay-reply to 3001:db8:100:f101:62a8:feff:feab:5500 port 547



Wireshark Logs attached:



Let us know any further information required, we are doing first time with
IPv6. IPv4 is fine and class options are working.



Thanks

Guru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20181106/c7ea817c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DHCPv6_OPT_18.pcap
Type: application/octet-stream
Size: 128279 bytes
Desc: not available
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20181106/c7ea817c/attachment.obj>

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

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 121, Issue 2
******************************************

Reply via email to