Users Guide

Table Of Contents
!
DHCPv6 Relay Agent 2:
Global config:
ipv6 dhcp-relay remote-id
ipv6 dhcp-relay prefix remote-id hostname vrfname
ipv6 dhcp-relay hostname DELL
Interface configuration:
OS10#show running-configuration
interface Ethernet 1/1/1
no shutdown
channel-group 10 mode active
!
interface port channel 10
no shutdown
vlt portchannel 10
ip address 10.1.1.0/24
ip helper-address 20.1.1.2
ip vrf forwarding red
!
interface Ethernet 1/1/2
no shutdown
ip address 20.1.1.0
!
ip vrf red
!
DHCP Server
OS10(config)# ip dhcp server
OS10(config-dhcp)# pool dell_1
OS10(config-dhcp-dell_1)# network 10.1.1.0/24
OS10(config-dhcp-dell_1)# range 10.1.1.2 10.1.1.10
OS10(config-dhcp-dell_1)# default-router 10.1.1.1
OS10(config-dhcp-dell_1)# end
OS10(config-dhcp)# pool dell_2
OS10(config-dhcp-dell_2)# network 20.1.1.0/24
OS10(config-dhcp-dell_2)# range 20.1.1.2 20.1.1.10
OS10(config-dhcp-dell_2)# default-router 20.1.1.1
OS10(config-dhcp-dell_2)# end
OS10#show running-config ip dhcp
!
ip dhcp server
!
ip dhcp pool dell_1
network 10.1.1.0/24
default-router 10.1.1.1
address range 10.1.1.2 10.1.1.10
ip dhcp pool dell_2
network 20.1.1.0/24
default-router 20.1.1.1
address range 20.1.1.2 20.1.1.10
OS10# show running-configuration route
ip route 10.1.1.0/24 20.1.1.1
ip route 10.1.1.0/24 20.1.1.0
In this scenario, the remote-id value: DELL-red:90b11cf4a65d is added in the packet and sent out of the DHCPv6 relay
agent. You can configure the DHCP server to allocate an IP address from a range of IP addresses based on the remote-id value
received from the DHCPv6 packet. The prefix value is configured to take hostname and vrfname: DELL(DHCPv6 hostname),
red(client interface's vrfname). By default, the DHCPv6 relay agent type 3 DUID (system mac - 90b11cf4a65d) is used as the
remote-ID description.
System management
281