보조 프라이빗 IP가 있는 EC2 네트워크 인터페이스(Windows의 인터페이스에는 표시되지 않음)

보조 프라이빗 IP가 있는 EC2 네트워크 인터페이스(Windows의 인터페이스에는 표시되지 않음)

VPC 아래 EC2에 Windows Server 2012 r2 인스턴스가 있고 두 개의 네트워크 인터페이스가 있습니다. 기본 개인 IP는 두 가지 모두에 대한 창에 표시됩니다. 네트워크 인터페이스 중 하나에 보조 IP 주소가 있습니다. 이 보조 IP는 인터페이스에 바인딩되지 않은 것 같습니다. 10.0.0.186이 있는 인터페이스에는 10.0.0.254도 있어야 합니다.

뭔가 빠졌나요?

C:\사용자\관리자>ipconfig

Windows IP Configuration


Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . : ec2.internal
   Link-local IPv6 Address . . . . . : fe80::7cbf:137f:14ce:133d%15
   IPv4 Address. . . . . . . . . . . : 10.0.0.135
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.0.1

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : ec2.internal
   Link-local IPv6 Address . . . . . : fe80::9043:dee7:59e6:6649%12
   IPv4 Address. . . . . . . . . . . : 10.0.0.186
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.0.1

Tunnel adapter isatap.ec2.internal:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : ec2.internal

Tunnel adapter Local Area Connection* 12:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2001:0:9d38:90d7:4d9:1d21:cbff:57ff
   Link-local IPv6 Address . . . . . : fe80::4d9:1d21:cbff:57ff%13
   Default Gateway . . . . . . . . . : ::

PS C:\Users\Administrator> Get-NetIPAddress

IPAddress         : fe80::7cbf:137f:14ce:133d%15
InterfaceIndex    : 15
InterfaceAlias    : Ethernet 2
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : WellKnown
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fe80::9043:dee7:59e6:6649%12
InterfaceIndex    : 12
InterfaceAlias    : Ethernet
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : WellKnown
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fe80::4d9:1d21:cbff:57ff%13
InterfaceIndex    : 13
InterfaceAlias    : Local Area Connection* 12
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : WellKnown
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : 2001:0:9d38:90d7:4d9:1d21:cbff:57ff
InterfaceIndex    : 13
InterfaceAlias    : Local Area Connection* 12
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : RouterAdvertisement
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fe80::5efe:10.0.0.186%14
InterfaceIndex    : 14
InterfaceAlias    : isatap.ec2.internal
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 128
PrefixOrigin      : WellKnown
SuffixOrigin      : Link
AddressState      : Deprecated
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fe80::5efe:10.0.0.135%14
InterfaceIndex    : 14
InterfaceAlias    : isatap.ec2.internal
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 128
PrefixOrigin      : WellKnown
SuffixOrigin      : Link
AddressState      : Deprecated
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : ::1
InterfaceIndex    : 1
InterfaceAlias    : Loopback Pseudo-Interface 1
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 128
PrefixOrigin      : WellKnown
SuffixOrigin      : WellKnown
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : 10.0.0.135
InterfaceIndex    : 15
InterfaceAlias    : Ethernet 2
AddressFamily     : IPv4
Type              : Unicast
PrefixLength      : 24
PrefixOrigin      : Dhcp
SuffixOrigin      : Dhcp
AddressState      : Preferred
ValidLifetime     : 00:57:59
PreferredLifetime : 00:57:59
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : 10.0.0.186
InterfaceIndex    : 12
InterfaceAlias    : Ethernet
AddressFamily     : IPv4
Type              : Unicast
PrefixLength      : 24
PrefixOrigin      : Dhcp
SuffixOrigin      : Dhcp
AddressState      : Preferred
ValidLifetime     : 00:57:59
PreferredLifetime : 00:57:59
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : 127.0.0.1
InterfaceIndex    : 1
InterfaceAlias    : Loopback Pseudo-Interface 1
AddressFamily     : IPv4
Type              : Unicast
PrefixLength      : 8
PrefixOrigin      : WellKnown
SuffixOrigin      : WellKnown
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

답변1

IP 주소는 인터페이스에 바인딩되어 있지 않습니다. 다음을 사용하여 PowerShell을 통해 주소를 추가할 수 있습니다.

New-NetIPAddress –InterfaceIndex 12 –IPAddress 10.0.0.254 -PrefixLength 24

관련 정보