DHCP relay scenario 1 (IPv6)

In this scenario, DHCP relay on the server enables two hosts to obtain their IP addresses from a DHCP server on a different subnet. The physical topology of the network looks like this:

Procedure
  1. Enable DHCP relay.
    switch# config
    switch(config)# dhcpv6-relay
  2. Define an IPv6 helper address on interfaces 1/1/1 and 1/1/2 .
    switch(config)# interface 1/1/1
    switch(config-if)# ipv6 address 2002::22/64
    switch(config-if)# ipv6 helper-address 2001::1
    switch(config-if)# interface 1/1/2
    switch(config-if)# ipv6 address 2002::21/64
    switch(config-if)# ipv6 helper-address 2001::1
    switch(config-if)# quit
  3. Verify DHCP relay configuration.
    switch# show dhcpv6-relay
      DHCPv6 Relay Agent : Enabled
      Option 79          : Disabled
    switch# show ipv6 helper-address
    
     Interface: 1/1/1
     IPv6 Helper Address                            Egress Port
     ---------------------------------------------- -----------
     2001::1                                        1/1/3
    
     Interface: 1/1/2
     IPv6 Helper Address                            Egress Port
     --------------------------------------------   -----------
     2001::1                                        1/1/3