cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3107
Views
5
Helpful
4
Replies

IPv6 dhcp

I am testing IPv6 DHCP server in test lab with 3750 switch.

Following is the details of the setup.

Windows server 2008 r2 is configured as DHCP server.

3750 switch with ios 12.2(55)SE5 is used to connect DHCP server and client.

DHCP server and client both are in same VLAN 1.

Clients are getting IP address from DHCP server if I configure 3750 switch as layer 2 switch.

If I configure 3750 switch as a L3 switch clients are not getting IP address from DHCP server, clients are getting auto configured IPv6 address.

Need assistance for the same

4 Replies 4

Seb Rupik
VIP Alumni
VIP Alumni

Hi Yusuf,

Have you tried configuring the DHCP relay on the interfaces:

ipv6 dhcp relay destination

eg per host interface:

!

interface fa0/2

  ipv6 dhcp relay destination 2001:23::1 FastEthernet0/1

!

cheers,

Seb.

Harold Ritter
Cisco Employee
Cisco Employee

Hi Yusuf,

You need to do a configure a few things on the router interface for DHCPv6 to be used instead of SLAAC.

interface vlan10

ipv6 address 2001:DB8:12FF:1::1/64

ipv6 nd prefix 2001:DB8:12FF:1::/64 no-advertise <++++++ will prevent SLAAC from taking place

ipv6 nd managed-config-flag <+++++ tells the workstation it should get its IPv6 address from DHCP

ipv6 nd other-config-flag <++++++ tells the workstation to get other config (dns server, domain name, etc) from DHCP

Regards

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Thanks for the assistance.

Now it is working after configuring given commands i am getting ip address from the dhcp server, but when i connect one more 3750 switch with uplink configured as L3 then i am able to get IP address from dhcp but client connected accross L3 link is not abel to get gateway.

Hi Yusuf,

I am a bit confused on what you are trying to achieve. So in the first scenario, you had both the DHCP client and server on the same subnet. Can you describe the second scenario and what does not work.

Regards

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Review Cisco Networking for a $25 gift card