Friday, June 27, 2014

IPv6 Router - Router Advertisements

Background Information

  1. IPv6 routers by default will respond to router solicitation messages with router advertisements containing the following information:
    1. Configured prefixes on the link
    2. Whether the prefixes can be used for auto-configuration
  2. All prefixes configured with the ipv6 address command will be included in the RA by default.
  3. Hosts use this information to assign itself an IPv6 address and set its gateway.
  4. Hosts will autoconfig an IPv6 address for each prefix announced in the RA.

Summary

  1. show ipv6 interface prefix to list what prefixes to include in RA.
  2. show ipv6 nd on-link prefix to list what prefixes were advertised to us on the link.
  3. show ipv6 routers to list the routers and their RA details.
  4. ipv6 nd prefix x y no-autoconfig so hosts do not use that prefix for auto-config.
  5. ipv6 nd prefix no-advertise to not advertise this prefix in RAs.
  6. ipv6 nd ra suppress to not send router advertisements.
  7. ipv6 address autoconfig to configure an interface to use autoconfig.
  8. ipv6 address autoconfig default to use autoconfig and set the router as the default route.