How to Assign Static IP Address – Server 2012R2

0

Powershell Script for How to Assign Static IP Address and DNS Name Servers to a local machine.

New-NetIPAddress
-InterfaceIndex 10

-InterfaceAlias ‘Ethernet’
-IPAddress 172.16.0.101

-PrefixLength 16
-DefaultGateway 172.16.0.1

Set-DNSClientServerAddress
-InterfaceIndex 10
–InterfaceAlias "Ethernet"

–ServerAddress 192.168.16.10, 192.168.16.11

Or you can use the Server sconfig Menu,

How to Assign Static IP Address - Server 2012R2

If You want to enable Echo Request ICMP-IPv4 Ping Response From sconfig

How to Assign Static IP Address - Server 2012R2

You now have enabled Echo Request ICMP-IPv4 Ping Response

How to Assign Static IP Address - Server 2012R2

Success! We have a response from the Hyper-V Server.

hypervguide

Share.

About Author

Leave A Reply