2

I want to config one DHCPv6 server using Packet Tracer and with multiple routers, the router takes IP addresses from a server and distribute to computers .I have done that with IPv4 using IP helper but in IPv6 there is no Ip helper enter image description here

I created in local pool but it did not work .

Can you help me to understand . enter image description here

2

2 Answers 2

2

You have two options

  • To set up a DHCP relay agent (as stated by Ron Maupin
  • To set a IPv6 pool in your Cisco router

DHCP relay agent

> enable

# config term

(config)# interface [interface-1]

(config-if)# ipv6 dhcp destination [destination ipv6 address] [interface-2]

(config-if)# end

Where interface-1 is the interface which will be set with the DHCPv6 address and interface-2 is the interface which will be acting as the relay.

Remember that, in order for this to work, the address set for your relaying interface has to be routable.

In order to see the information of the received address:

# show ipv6 dhcp interface

Stateful configuration by Cisco Routers

(config)# ipv6 unicast-routing

(config)# ipv6 dhcp pool [pool name]

(config)# addreess prefix [IPV6 \64] lifetime infinite inifinite

(config)# dns-server [ipv6 address of DNS Server]

(config)# domain-name [mydomain.org]

To assign an interface to the pool:

(config-if)# ipv6 dhcp server [pool name]

(conifg-if)# ipv6 enable [mode]-commit

Where mode may be either rapid or normal commit. An example of the prefix may be 2010:BB:BB:11::/64.

More information at:

1
  • Note: Assuming from your Network Map that the Server is actually a DHCP Server, I would daisy chain Switch 7 to Router 4 as DHCP Relay Agent, and then Router 4 to Router 3) and finally Router 3 to your Server.
    – oxshxll
    Commented Apr 16, 2018 at 1:54
0

You need to look at the ipv6 dhcp relay destination interface command. There are also multiple options for your RAs (Router Advertisements) that you should investigate. Cisco maintains documents, e.g. Implementing DHCP for IPv6, about the large IPv6 addressing subject. You have more options with IPv6, including prefix delegation to your routers.

Configuring the DHCPv6 Relay Agent

SUMMARY STEPS

  1. enable
  2. configure terminal
  3. interface type number
  4. ipv6 dhcp relay destination ipv6-address [interface-type interface-number]
  5. end
6
  • ipv6 dhcp relay destination cammand unrecognize in a router and I do not want router to be as server . Commented Dec 16, 2017 at 20:14
  • That is a router command. You are probably running into a Packet Tracer limitation, which is limited to CCNA subjects, and this is not one of those. You will need to use something more, e.g. GNS, to really configure this.
    – Ron Maupin
    Commented Dec 16, 2017 at 20:17
  • yeah I am using packet tracer so shoud I use GNS to configure this .? Commented Dec 16, 2017 at 21:20
  • Use something that gives you the full router configuration commands. Packet Tracer is fairly limited. If you want to explore subjects beyond CCNA, then you should use something else.
    – Ron Maupin
    Commented Dec 16, 2017 at 21:23
  • Really I dont know I working on project actually for IPv4 I did it but in IPv6 is more difficult I show the picture there are many option in DHCPv6 can you help me just at this point ? using packet tracer . Commented Dec 16, 2017 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.