다음을 통해 공유


Metric(microsoft-windows-tcpip-interfaces-interface-ipv6settings-metric)

Metric은 IPv6 프로토콜에 대한 인터페이스 메트릭을 지정합니다. 경로를 선택한 경우, 기본 설정을 결정하는 데 사용되는 전체 메트릭은 경로 메트릭과 인터페이스 메트릭의 합계입니다. 일반적으로 인터페이스 메트릭은 유선 및 무선을 모두 사용할 수 있는 경우 유선을 사용하는 것과 같은 특정 인터페이스에 대한 기본 설정을 제공합니다.

기본 설정을 지정하지 않으면 스택은 자동으로 무선보다 유선을 사용하는 것과 같은 자동 메트릭을 선택합니다.

메트릭

IPv6 프로토콜에 대한 인터페이스 메트릭을 지정합니다. 범위는 5(초당 2GB(기가바이트) 이상)에서 50(초당 500KB(킬로바이트) 미만)까지입니다.

유효한 구성 패스

specialize

windowsPE

부모 계층

Microsoft-Windows-TCPIP | Interfaces | Interface | Ipv6Settings | Metric

적용 대상

이 구성 요소가 지원하는 지원되는 Windows 버전 및 아키텍처 목록은 Microsoft-Windows-TCPIP를 참조하세요.

XML 예

다음 XML 출력은 TCPIP를 구성하는 방법을 보여 줍니다.

<component name="Microsoft-Windows-TCPIP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <Interfaces>
   <!-- Add static IP address (192.168.0.1/24, ffff:1::3/48) & route (12.34.0.0/16) to interface with identifier "Ethernet 1" -->      <Interface wcm:action="add">
         <Ipv4Settings>
            <DhcpEnabled>true</DhcpEnabled> 
            <Metric>20</Metric> 
            <RouterDiscoveryEnabled>false</RouterDiscoveryEnabled> 
         </Ipv4Settings>
         <Ipv6Settings>
            <DhcpEnabled>false</DhcpEnabled> 
            <Metric>30</Metric> 
            <RouterDiscoveryEnabled>true</RouterDiscoveryEnabled> 
         </Ipv6Settings>
      <Identifier>Ethernet 1</Identifier>
         <UnicastIpAddresses>
           <IpAddress wcm:action="add" wcm:keyValue="1">192.168.0.1/24</IpAddress>
           <IpAddress wcm:action="add" wcm:keyValue="2">ffff:1::3/48</IpAddress>
         </UnicastIpAddresses>
         <Routes>
            <Route wcm:action="add">
               <Identifier>1</Identifier> 
               <Metric>10</Metric> 
               <NextHopAddress>12.34.0.0</NextHopAddress> 
               <Prefix>16</Prefix> 
            </Route>
            <Route wcm:action="add">
               <Identifier>10</Identifier> 
               <Metric>29</Metric> 
               <NextHopAddress>12.34.56.0</NextHopAddress> 
               <Prefix>24</Prefix> 
            </Route>
         </Routes>
      </Interface>
      <Interface wcm:action="add">
         <Ipv4Settings>
            <DhcpEnabled>true</DhcpEnabled> 
            <Metric>20</Metric> 
            <RouterDiscoveryEnabled>false</RouterDiscoveryEnabled> 
         </Ipv4Settings>
         <Ipv6Settings>
            <DhcpEnabled>false</DhcpEnabled> 
            <Metric>10</Metric> 
            <RouterDiscoveryEnabled>true</RouterDiscoveryEnabled> 
         </Ipv6Settings>
         <Identifier>Local Area Connection</Identifier> 
         <UnicastIpAddresses>
            <IpAddress wcm:action="add" wcm:keyValue="1">123.45.67.8</IpAddress> 
            </UnicastIpAddresses>
         <Routes>
            <Route wcm:action="add">
               <Identifier>1</Identifier> 
               <Metric>10</Metric> 
               <NextHopAddress>12.34.0.0</NextHopAddress> 
               <Prefix>16</Prefix> 
            </Route>
         </Routes>
      </Interface>
   </Interfaces>
</component>

Ipv6Settings