I am trying to practice IPv6 DHCPv6 Guard on a virtual IOS L2 switch inside EVE-ng and while the commands I have implemented on the virtual switch are working the ipv6 dhcp guard policy is not being bound to the interfaces.
Switch Image Info: Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M), Experimental Version 15.2(20200924:215240) [sweickge-sep24-2020-l2iol-release 135]
SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#ipv6 dhcp guard policy DHCP_SERVER
SW1(config-dhcp-guard)#device-role server
SW1(config-dhcp-guard)#exit
SW1(config)#
SW1(config)#
SW1(config)#ipv6 dhcp guard policy DHCP_CLIENT
SW1(config-dhcp-guard)#device-role client
SW1(config-dhcp-guard)#exit
SW1(config)#
SW1(config)#
SW1(config)#
SW1(config)#interface GigabitEthernet 0/1
SW1(config-if)#ipv6 dhcp guard attach-policy DHCP_SERVER
SW1(config)#
SW1(config)#interface range GigabitEthernet 0/2 - 3
SW1(config-if-range)#ipv6 dhcp guard attach-policy DHCP_CLIENT
SW1(config)#
SW1(config)#
SW1(config)#
SW1(config)#end
SW1#
*Apr 5 17:20:51.285: %SYS-5-CONFIG_I: Configured from console by console
SW1#
SW1#
SW1#show ipv6 dhcp guard policy
Dhcp guard policy: DHCP_CLIENT
Device Role: dhcp client
Target: Box
Dhcp guard policy: DHCP_SERVER
Device Role: dhcp server
Target: none
Max Preference: 255
Min Preference: 0
SW1#sh run int gi0/1
Building configuration...
Current configuration : 54 bytes
!
interface GigabitEthernet0/1
negotiation auto
end
SW1#sh run int gi0/2
Building configuration...
Current configuration : 54 bytes
!
interface GigabitEthernet0/2
negotiation auto
end
SW1#sh run int gi0/3
Building configuration...
Current configuration : 54 bytes
!
interface GigabitEthernet0/3
negotiation auto
end
Why aren’t the DHCPv6 policies being bound to the interfaces?
Thanks in advance,
Adil