09-19-2013 04:27 AM - edited 03-01-2019 05:41 PM
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
09-19-2013 07:40 AM
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.
09-19-2013 08:19 AM
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
09-20-2013 10:28 PM
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.
09-21-2013 06:39 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide