cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1921
Views
2
Helpful
3
Replies

IPV6 DHCPV6 and default gateway

Siddique
Level 1
Level 1

Dear Genius,

Hope you well.

This is my router configuration :

!
ipv6 unicast-routing
ipv6 dhcp pool VLAN-100
address prefix 2001:DB8:E640:A:B::/80
dns-server 2001:DB8:E640::1
domain-name seddeeq.com
!
interface Ethernet0/0
no ip address
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:E640::1/64
ipv6 nd prefix 2001:DB8:E640:A:B::/80 1000000 100000 no-autoconfig
ipv6 nd managed-config-flag
ipv6 dhcp server VLAN-100
!

These are my query ::

Dear Sir, Hope you well and its my pleasure.
Sir I have attached my router config. here i have 2 query::
Q1. Why win7 host taking link-local address as default gateway?
Q2. whoch is best default gateway for ipv6? link local or interface ipv6 address?
Q3. How can i force host to use my interface ipv6 address as default gateway.
Q2. Another host is router. which shows " Hosts use stateless autoconfig for addresses." But here i am using stateful dhcpv6.Default Gateway.png

 

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Hi @Siddique ,

Q1. Why win7 host taking link-local address as default gateway?

This is normal. This link local address (LLA) is discovered from the router advertisement (RA) sent by the router.

> Q2. whoch is best default gateway for ipv6? link local or interface ipv6 address?

The LLA is the only option if you learn the default via the RA. If you manually configured the PC, you could use either the LLA of the router IPv6 interface address.

> Q3. How can i force host to use my interface ipv6 address as default gateway.

You could manually configure the PC to use the router IPv6 interface address.

> Q4. Another host is router. which shows " Hosts use stateless autoconfig for addresses." But here i am using stateful dhcpv6.

I can see that this host (R2) is getting its address from DHCPv6. The message "Hosts use stateless autoconfig for addresses" means that this device (R2) will send RA on this subnet. If R2 is used to simulate a host, you should configure it as a host with the command "no ipv6 unicast-routing".

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

View solution in original post

3 Replies 3

Harold Ritter
Cisco Employee
Cisco Employee

Hi @Siddique ,

Q1. Why win7 host taking link-local address as default gateway?

This is normal. This link local address (LLA) is discovered from the router advertisement (RA) sent by the router.

> Q2. whoch is best default gateway for ipv6? link local or interface ipv6 address?

The LLA is the only option if you learn the default via the RA. If you manually configured the PC, you could use either the LLA of the router IPv6 interface address.

> Q3. How can i force host to use my interface ipv6 address as default gateway.

You could manually configure the PC to use the router IPv6 interface address.

> Q4. Another host is router. which shows " Hosts use stateless autoconfig for addresses." But here i am using stateful dhcpv6.

I can see that this host (R2) is getting its address from DHCPv6. The message "Hosts use stateless autoconfig for addresses" means that this device (R2) will send RA on this subnet. If R2 is used to simulate a host, you should configure it as a host with the command "no ipv6 unicast-routing".

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

Dear Sir, 

Many many thanks for your Solutions.

Thanks 

Seddeeq

You are very welcome @Siddique and thanks for the feedback

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