Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Bronze

how to tell ipv6-router to advertise ipv6 prefixes

Hi everybody.

How is everyone doing ?

How can i configure my cisco router say R1 to advertises a ipv6- prefix and prefixes?

R2(config) ipv6 unicast-routing

R2(config) int s0/0

R2(config-if) ipv6 address 2000::1/64

Now I want to tell router to advertise ipv6 prefix :  2000::/64,  ipv6 prefix 2001::/64 . How could i do that ?

thanks and have a nice weekend.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: how to tell ipv6-router to advertise ipv6 prefixes

Hi,

It is supposed to work as follows:

When R1 has a set of ipv6 prefixes, these will be announced by R1 to all hosts on the network.

You can verify this by entering: deb ipv6 neighbor

Unless R2 also has these prefixes, it will not announce them.

R2 can be autoconfigured from R1 when you specify R2's interface as  ipv6 address autoconfig

regards,

Leo

4 REPLIES
VIP Super Bronze

Re: how to tell ipv6-router to advertise ipv6 prefixes

Hi Sarah,

Hope you are doing well.

You can add multiple prefixes to the interface, but only 2000::1/64 is a host address the other 2 are subnets.

interface GigabitEthernet1/0/2

ipv6 address 2000::/64

ipv6 address 2000::1/64

ipv6 address 2001::/64

end

or use static ip

ipv6 route 2000::/64 null 0

HTH

Bronze

how to tell ipv6-router to advertise ipv6 prefixes

Thanks Reza and hope you are doing well as well

I understand  how to configure ipv6 address statically on an interface.

My intention is to learn stateless dhcp ipv6;I was reading about stateless dhcpipv6.;my book does not say anything as to how we can implement stateless dhcp ipv6.

  I came with my own scenario just to get a basic idea as shown below:

R1------------------------R2

R1 is configured with ipv6 address autoconfig, we want R2 to advertises these prefixes 2000::/64,2001::/64  to R1 via neighbor advertisement messages.

ipv6 address 2000::/64

ipv6 address 2000::1/64

ipv6 address 2001::/64

end

thanks Reza .

Re: how to tell ipv6-router to advertise ipv6 prefixes

Hi,

It is supposed to work as follows:

When R1 has a set of ipv6 prefixes, these will be announced by R1 to all hosts on the network.

You can verify this by entering: deb ipv6 neighbor

Unless R2 also has these prefixes, it will not announce them.

R2 can be autoconfigured from R1 when you specify R2's interface as  ipv6 address autoconfig

regards,

Leo

Bronze

how to tell ipv6-router to advertise ipv6 prefixes

Thanks Leo

685
Views
0
Helpful
4
Replies
CreatePlease login to create content