/ / Hướng dẫn Đặt IP Tĩnh cho Network trong Windows 11

Hướng dẫn Đặt IP Tĩnh cho Network trong Windows 11



How to assign Static IP Address in Windows 11
==========================================
Assign static IP address on Windows 11 using Command Prompt
==========================================
Command Prompt is the quickest way to configure a static IP address on Windows 11.

To set a static IP address on Windows 11 with Command Prompt, use these steps:
Open Start on Windows 11. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

Type the following command to see your current networking configuration and press Enter:
ipconfig /all

Under the network adapter, note the name of the adapter as well as the following information in these fields:
+ IPv4
+ Subnet mask
+ Default Gateway
+ DNS Servers
Type the following command to assign a static IP address on Windows 11 and press Enter:

netsh interface ip set address name=”Ethernet0″ static 192.168.1.201 255.255.255.0 192.168.1.1
In the above command, replace Ethernet0 with the name of your network adapter. Change 192.168.1.201 255.255.255.0 192.168.1.1 with the device IP address, subnet mask, and default gateway address corresponding to the local area network.

Type the following command to set a DNS server address and press Enter:

netsh interface ip set dns name=”Ethernet0″ static 8.8.8.8
In the command, make sure to change Ethernet0 with your adapter’s name and 10.1.4.1 with the DNS server address of the network.

Type the following command to set an alternate DNS server address and press Enter:

netsh interface ip add dns name=”Ethernet0″ 8.8.4.4 index=2
In the command, replace Ethernet0 with the adapter’s name and 8.8.4.4 with an alternate DNS server address.
============================================
Assign static IP address on Windows 11 using PowerShell
=============================================

It’s also possible to use PowerShell with the “NetTCPIP” module to manage networking settings, including changing the IP address settings to a static configuration.

To set a static IP address with PowerShell, use these steps:
– Open Start. Search for PowerShell, right-click the result, and select the Run as administrator option.
Type the following command to view your current network configuration and press Enter:

Get-NetIPConfiguration
Confirm the following network information:

InterfaceIndex
IPv4Address
IPv4DefaultGateway
DNSServer
Type the following command to set a static IP address and press Enter:

New-NetIPAddress -InterfaceIndex 10 -IPAddress 192.168.1.201 -PrefixLength 24 -DefaultGateway 192.168.1.1
PowerShell assign static IP address

In the command, replace the InterfaceIndex number (10) with the corresponding number of your adapter. Change IPAddress with the static IP address you want to assign to your device. If necessary, change PrefixLength (subnet mask) with the correct bit number. Typically on a home network, the setting is 24. Also, change the DefaultGateway option with the default gateway address of the network.

Type the following command to assign a DNS server address and press Enter:

Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 8.8.8.8
PowerShell assign static DNS address

If you need to set a secondary DNS server address, use a comma to use the same command with another address. For example:

Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 8.8.8.8, 8.8.4.4
In the command, replace the InterfaceIndex number (10) with your network adapter’s corresponding number. Also, change ServerAddresses with the DNS IP address.

✅ Donate to support us 💗

Table of contents:
00:00 Intro
01:42 Set static IP with Command Prompt
08:47 Set static IP with PowerShell
13:51 Set static IP with Windows 11 Settings
15:17 Set static IP with Control Panel
16:54 Closing

—————————————————————-
Get a Cheap Win 10 pro OEM key (make sure you use code for a 30% discount)
▬ Windows 10 Pro
▬ Windows 11 Pro
▬ Buy Office 2016
▬ Buy Office 2019
▬ Buy Office 2021

===============================
How to Upgrade Windows 11: A Step-by-Step Guide (2021)
🎬 View my Website details:

===============================
Music by Mr. Jello – Island Lifestyle –
===============================

👉 Đăng ký kênh MajinBoo Channel ngay để theo dõi những video thú vị:
👉 Theo dõi Fanpage MajinBoo Channel:
👉 Theo dõi Group kín của MajinBoo Channel tại đây:

===============================
© Bản quyền thuộc về Majin Boo
© Copyright by MajinBoo Channel ☞ Do not Reup

#Windows11 #TemporaryFile #CleanUp #RemoveFiles #TipsTricks #windows11help

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *