cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4145
Views
5
Helpful
3
Replies

Default gateway with DCHP IPv6

Rhodo
Level 1
Level 1

Hello!

I have been working on a school project and we were requested to configure a network that uses DHCP to serve IPv6 directions with a router. The problem is that when I configure the interface, I set an IPv6 default gateway, but when I go to the PC and request a direction by DHCP, it sets a diferent gateway, hence, I cannot connect the DHCP subnetwork with other subnetworks.

I typed the next commands to configure the server:

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ipv6 unicast-routing
Router(config)#ipv6 dhcp pool DPOOL
Router(config-dhcp)#prefix-delegation pool PPOOL
Router(config-dhcp)#dns-server ABC0:322:15F0::4000:4
Router(config-dhcp)#ex
Router(config)#ipv6 general-prefix PPOOL ABC0:0322:15F0::/96
Router(config)#ipv6 local pool PPOOL ABC0:0322:15F0::/96 64
Router(config)#int fa0/0
Router(config-if)#ipv6 address ABC0:0322:15F0::1/98
Router(config-if)#ipv6 dhcp server DPOOL
Router(config-if)#ex
Router(config)#ex
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

--

I would like to know if there is a way to change a DHCP gateway or if I am doing something wrong.

Thanks in advace.

Note: I used Packet Tracer Student V6.2

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame
I cannot connect the DHCP subnetwork with other subnetworks.

Other means - IPv6 address client in the network? or IPv4 ?  (high-level basic config looks ok).

ping ipv6 host(address) - what is the output ?

check the video for reference:

check the video :

https://www.youtube.com/watch?v=YpJdOiP17h0

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

When using the router as a DHCPv6 server it will use the routers interface link-local address (FE80) as the default gateway for devices on that LAN. You would need ton configure a separate DHCP server with Gateway information and you would also need to either suppress router advertisements or change the settings of what the PC learns from the router interface or the separate DHCP server. 

 

DavidRuess_0-1667695440872.png

 

The managed-config-flag I believe says to use an actual DHCP server for all its information and the other-config-flag says use the router interface for some IPv6 stuff and a DHCPv6 server for the rest. (I would verify those commands, I may have switched their description)

If you don't suppress the RA then the PC will get conflicting info from the DHCPv6 server and the interface. The IPv6 protocol makes use of the link local address in a lot of ways from Default Gateways to allowing dynamic routing protocols to use that as their neighborship address.

 

Hope that helps.

 

-David

Perfect Answer