ISC DHCP 4.4.1_CentOS7_DHCPv6_Relay_server: issue related with Class matching option along with condition.
PaviGuru Pavithragurumurthy
gurumurthyka at gmail.com
Tue Nov 6 16:02:32 UTC 2018
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 at 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 at localhost dhcp]#
[root at 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-0001.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-0001.obj>
More information about the dhcp-users
mailing list