ISC DHCP 4.4.1_CentOS7_DHCPv6_Relay_server: issue related with Class matching option along with condition.

PaviGuru Pavithragurumurthy gurumurthyka at gmail.com
Wed Nov 7 03:18:53 UTC 2018


Thanks for the response,



Could you check on config file, the configured parameter are correct and
responseding text shows matching was not found. I’m bit concern on here.
None of other matching not working. i have tested multiple combination of
characters, but every time fail with same indication.


*NOTE:* We have tested DHCPv4 relay server with same relay agent with IPv4
working fine !!. with DHCPv6 has concern.


In our relay always ending with semicolon like "TESTING;", TETSING can
change to any character.



Test#1: DHCPv6 relay sending with option 18 interface id with “TESTING;”



               Config file changes: relay sending with 8 ASCII character
[TESTING;] , as from wireshark.



class "team" {

         match if substring (option dhcp6.interface-id*, 0, 7) = "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";

  }

}

Result : same indication as earlier.

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



*Test#2*: DHCPv6 relay sending with option 18 interface id with “GURU;”



               Config file changes: relay sending with 8 ASCII character
[GURU;] , as from wireshark.



class "team" {

         match if substring (option dhcp6.interface-id*, 0, 5) = "GURU;*";

}



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";

  }

}

Result : same indication as earlier.

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



Thanks

Guru



On Wed, Nov 7, 2018 at 7:39 AM Christopher Barry <
christopher.r.barry at gmail.com> wrote:

> On Tue, 6 Nov 2018 21:32:32 +0530
> PaviGuru Pavithragurumurthy <gurumurthyka at gmail.com> wrote:
>
> >"TESTING;";
>
> Responding only because I see no one else has.
>
> is that extra semicolon inside the quotes desired? I have never setup
> an ipv6 dhcp server, so I'm likely no help to you, but sometimes it's
> something that silly.
>
> maybe do a substring 7 chars and match to "TESTING" to see if that
> semicolon is somehow biting you?
>
> Good Luck!
>
> --
> Regards,
> Christopher
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20181107/cf97464f/attachment.html>


More information about the dhcp-users mailing list