Share via


IPv6 ifc

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This command controls interface attributes.

Syntax

ipv6 [-p] ifc IfIndex {[forwards] | [-forwards]} {[advertises] | [-advertises]} [mtu #Bytes] [site SiteIdentifier] [preference P] {AdvCurHopLimit hops} {AdvReachableTime milliseconds}

Parameters

  • -p
    Saves the setting in the registry.
  • IfIndex
    Indicates the interface index number for which to control attributes.
  • forwards | -forwards
    Sets the interface as forwarding or nonforwarding. A forwarding interface forwards packets whose destination address is not assigned to the interface, or nonforwarding. You can abbreviate this as forw or –forw.
  • advertises | -advertises
    Sets the interface as advertising or nonadvertising. An interface either sends router solicitations and receives router advertisements, or receives router solicitations and sends router advertisements. An advertising interface is one that sends router advertisements. You can abbreviate this as adv or -adv. Because the loopback and automatic tunneling pseudo-interfaces do not use Neighbor Discovery, they cannot be configured to send router advertisements.
  • mtu #Bytes
    Sets the MTU for the interface. The new MTU must be less than or equal to the link's maximum (true) MTU (as specified by ipv6 if), and greater than or equal to the minimum IPv6 MTU (1280 bytes).
  • site SiteIdentifier
    Changes the site-identifier for an interface. Site identifiers are used in the sin6_scope_id field for site-local addresses.
  • preference P
    Indicates the preference for the source address selection. For more information about address selection preference, see Default Address Selection for IPv6.
  • AdvCurHopLimit hops
    Specifies the value of CurHopLimit field in advertised router advertisements for the specified interface. CurHopLimit is the maximum number of hops to allow when sending Unicast IP packets. This value is an 8-bit unsigned integer.

    A CurHopLimit value of zero (0) in router advertisements means it is unspecified by this router; the host is left to choose a reasonable value.

  • AdvReachableTime milliseconds
    Specifies the value of the ReachableTime field in advertised router advertisments for the specified interface. ReachableTime is the number of milliseconds a neighbor is considered reachable after receiving a reachability confirmation. This value is a 32-bit unsigned integer and is used in neighbor discovery.

    A ReachableTime value of zero (0) in router advertisements means it is unspecified by this router; the host is left to choose a reasonable value. The maximum for this value is 3,600,000 milliseconds, which is one hour.

Security Issues

Unlike IPv4, IPv6 does not use the network address translation (NAT) functionality to connect to the external network.

To avoid exposing internal devices directly on the external public network, you must configure the IP firewall on the gateway. For information about configuring the IP firewall to properly manage traffic destined for the internal network, see IP Firewall OS Design Development.

See Also

Concepts

IPv6
IP Firewall OS Design Development