Set IP address with powershell on a Server 2012 RC box, but now I find an extra 169.254.188.141
-
2012년 6월 17일 일요일 오전 1:12
Hi,
I installed an Server 2012 RC core box to play with, I am new to powershell I add a new IP address with powershell ( 192.168.1.31), but now I found also an 169.254.188.141. So how to remove that?
IPAddress : 192.168.1.31
InterfaceIndex : 12
InterfaceAlias : Ethernet
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Manual
SuffixOrigin : Manual
AddressState : Duplicate
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStoreIPAddress : 169.254.188.141
InterfaceIndex : 12
InterfaceAlias : Ethernet
AddressFamily : IPv4
Type : Unicast
PrefixLength : 16
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Preferred
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore/SaiTech
모든 응답
-
2012년 6월 17일 일요일 오전 1:53
Hello Saitech,
I think you have 2 Ethernet adapters.
One is 192.168.1.31 and working properly and other didn't get any IP address or not connected.
Simply you can disable unused Ethernet adapter,If you will not use that Ethernet address ,
or you can use it for Hyperv Virtual Network.
If an Ethernet card can not get an IP address from DHCP and have no Static IP, it will get an ip address with starting 169.254.x.x
Sincerely,
Murat Demirkiran
If the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. www.scvmm2012.com (TR Language) Please note that I'm not a Microsoft Representative or SpokesPerson.
-
2012년 6월 17일 일요일 오전 7:38
Thanks Murat,
I will check this: I have team the nic, and I thought it was one logic.
/SaiTech
-
2012년 6월 17일 일요일 오전 8:37
Hi,
I have checked my machines, The Windows 2012 RC is virtual, and there is only one nic added.
I am used to GUI, but with core I have the powershell. I do found lots of example on the web. But I often get some PS error
ex. New-NetIPAddress -InterfaceAlias "Ethernet" -IPv4Address 192.168.1.31 -PrefixLength 24 -DefaultGateway 192.168.1.1the PS use to complain about -IPv4Address -DefaultGateway.
Here is one other virtuall mashine i run ipconfig /all. Fore me it lokks like at have added tow IP to the same NIC? But I am not sure, or it is possible.....??
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection
Physical Address. . . . . . . . . : 00-0C-29-D0-EC-8E
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7802:864c:3e54:3a0a%12(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.30(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IPv4 Address. . . . . . . . . . . : 192.168.1.31(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 251661353
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-6E-46-FE-00-0C-29-D0-EC-8E
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled/SaiTech
-
2012년 6월 17일 일요일 오전 9:02
Hi,
I thnik I have found it
Remove-NetIPAddress -InterfaceIndex 12 -IPAddress "192.168.1.31" -PrefixLength 24
/SaiTech
- 답변으로 표시됨 SaiTech 2012년 6월 17일 일요일 오전 9:02

