다음을 통해 공유


Ipv6Settings

Ipv6Settings에는 IPv6 프로토콜에 대한 설정이 포함되어 있습니다.

참고

인터페이스의 설정은 아래 XML 예제와 같이 Ipv6Settings, Identifier, UnicastIpAddresses, Routes 순서로 추가해야 합니다.

자식 요소

설정 설명
DhcpEnabled IPv6 프로토콜에 대해 DHCP(동적 호스트 구성 프로토콜)를 사용할 수 있는지 여부를 지정합니다.
메트릭 동일한 접두사 길이의 여러 일치 경로를 구분하는 데 사용되는 메트릭을 지정합니다.
RouterDiscoveryEnabled 라우터의 존재를 호스트에 알리는 라우터 검색 프로토콜이 IPv6 프로토콜에 대해 활성화되어 있는지 여부를 지정합니다.

유효한 구성 패스

specialize

windowsPE

부모 계층

Microsoft-Windows-TCPIP | Interfaces | Interface | Ipv6ettings

적용 대상

이 구성 요소가 지원하는 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>

인터페이스