EC2-Netzwerkschnittstelle mit sekundärer privater IP, wird auf der Schnittstelle in Windows nicht angezeigt

EC2-Netzwerkschnittstelle mit sekundärer privater IP, wird auf der Schnittstelle in Windows nicht angezeigt

Ich habe eine Windows Server 2012 R2-Instanz auf EC2 unter VPC, ich habe zwei Netzwerkschnittstellen. Die primäre private IP wird in Windows für beide angezeigt. Ich habe eine sekundäre IP-Adresse auf einer der Netzwerkschnittstellen. Diese sekundäre IP scheint nicht an die Schnittstelle gebunden zu sein. Die Schnittstelle mit 10.0.0.186 sollte auch 10.0.0.254 haben

Übersehe ich etwas?

C:\Benutzer\Administrator>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:\Benutzer\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

Antwort1

Die IP-Adresse ist nicht an deine Schnittstelle gebunden. Du kannst die Adresse über PowerShell folgendermaßen hinzufügen:

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

verwandte Informationen