Rediger

Del via


IPv6 Site Prefixes

The ipv6 rtu command allows published on-link prefixes to be configured with a site prefix length. If specified, the site prefix length is put into a prefix information option in router advertisements. For example:

ipv6 rtu 2002:836b:9820:2::/64 4 pub life 1800 spl 48

specifies a prefix that is on-link to interface #4. The prefix is published, meaning that it is included in router advertisements if interface #4 is an advertising interface. The lifetime in the prefix information option is 1800 seconds (30 minutes). The site prefix length in the prefix information option is 48.

The receipt of a prefix information option that specifies a site prefix causes an entry to be created in the site prefix table, which can be displayed by using the ipv6 spt command. The site prefix table is used to remove inappropriate site-local addresses from those returned by the getaddrinfo and related functions.

IPv6 Link-local and Site-local Addresses

Netsh.exe