다음을 통해 공유


Identifier(microsoft-windows-tcpip-interfaces-interface-identifier)

IdentifierInterface 내의 다른 설정에 적용할 인터페이스를 지정합니다. 다음 방법 중 하나로 표현할 수 있습니다.

  • 인터페이스 net 로컬 고유 식별자(NetLUID)의 문자열 표현(0x6000001000000)

  • 인터페이스 별칭(예: 로컬 영역 연결)

  • 인터페이스 MAC 주소(00-11-22-33-44-55)

참고인터페이스의 설정은 Ipv4Settings, Ipv6Settings, Identifier, UnicastIpAddresses, Routes 순서로 추가해야 합니다. Windows SIM에 무인 파일을 저장한 후 아래 XML 예제와 같이 출력이 올바른 순서로 표시되는지 XML 파일에서 확인합니다.

식별자

Interface 내의 다른 설정에 적용할 인터페이스를 지정합니다. Identifier는 최대 길이가 256자인 문자열입니다.

이 문자열 형식은 비어 있는 요소를 지원하지 않습니다. 이 설정에 빈 값을 만들지 마세요.

참고 LAN 연결과 같이 동일한 유형의 네트워크 인터페이스가 여러 개 있는 컴퓨터에서는 각 인터페이스에 대한 LUID 및 인터페이스 별칭이 서로 다른 빌드 간에 동일하지 않을 수 있습니다. 설치 후 설정이 올바른 인터페이스에 적용되었는지 확인합니다.

유효한 구성 패스

specialize

windowsPE

부모 계층

Microsoft-Windows-TCPIP | Interfaces | Interface | Identifier

적용 대상

이 구성 요소가 지원하는 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>
      <!-- Target the interface with identifier "Ethernet 1" -->         <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>

인터페이스