Configure IP network address with MS-DOS command
Usually to configure and set the IP address for machines in the network you just need to configure in Network Connections and set the IP address in the TCP / IP protocol with the Windows interface. Now we introduce a method to configure the IP address using the command line command sometimes this way will be used in necessary cases.
Usually to configure and set the IP address for machines in the network you just need to configure in Network Connections and set the IP address in the TCP / IP protocol with the Windows interface. Now we introduce a method to configure the IP address using the command line command sometimes this way will be used in necessary cases.
To configure IP address, DNS, WIN by command line. Do the following steps:
Go to the command prompt window (Run -> type cmd for Windows 2000, Xp, 2003 or type command for Windwos 98, Me) type the command:
netsh
IP interface
Set IP address:
set address name = "Local Area Connection" source = dhcp
Tập tin địa chỉ địa chỉ Set
For example:
set address name = "Local Area Connection" source = dhcp
đặt thiết bị địa chỉ địa chỉ 192.168.1.2 255.255.255.0
Set up DNS Server priority
set dns name = "Local Area Connection" source = dhcp
set Local Local Connection "static DNS
For example:
set dns name = "Local Area Connection" source = dhcp
set DNS "Local Area Connection" static 192.168.1.1
Set up WINS address
set wins name = "Local Area Connection" source = dhcp
set Local Area Connection "static wins
For example:
set wins name = "Local Area Connection" source = dhcp
set static "Local Area Connection" wins 192.168.1.1
Once completed, to exit the program, enter the exit command.
In addition to the basic configuration above, you can refer to the following features (in English).
Cấu hình cơ sở dữ liệu từ sự mạng
. - Goes up one context level.
abort - Discards changes made while in offline mode.
add - Adds an entry configuration to một danh sách các mục nhập.
alias - Adds an alias.
bridge - Changes to the 'netsh bridge' context.
bye - Exits the program.
commit - Commits changes made while in offline mode.
delete - Deletes an entry configuration from một danh sách các mục nhập.
diag - Thay đổi đến các giao diện 'Netsh diag'.
exit - Exits the program.
interface - Changes to the 'netsh interface' context.
offline - Sets the current mode to offline.
online - Thiết lập thời gian hiện thời để online.
popd - Pops a context from the stack.
pushd - Pushes current context on stack.
quit - Exits the program.
ras - Changes to the 'netsh ras' context.
routing - Changes to the 'netsh routing' context.
set - Updates configuration settings.
shows - Displays information.
unalias - Deletes an alias.
wins - Changes to the 'netsh wins' context.
Cấu hình cơ sở dữ liệu từ cơ sở dữ liệu interface:
add - Thêm một mục nhập cấu hình để một bảng.
xoá - mục nhập tập tin Deletes từ một bảng.
ip - Changes to the 'netsh interface ip' context.
reset - Resets information.
set - Sets configuration information.
shows - Displays information.
Commands in this context:
? - Hiển thị một danh sách các lệnh.
add - Thêm một mục nhập cấu hình để một bảng.
xoá - mục nhập tập tin Deletes từ một bảng.
dump - Displays a script configuration.
help - Displays a list of commands.
reset - Resets TCP / IP and related components to a clean state.
set - Sets configuration information.
shows - Displays information.
When you encounter difficult commands that require help, type a question mark ( ? ) Or type (? /) The necessary statements will be displayed and you can follow those help.
You should read it
- The context menu of Windows 11 will have a new eye-catching design
- Microsoft is committed to improving the context menu experience on Windows 11
- How to delete options in the Windows context menu
- This small application helps bring the context menu interface of Windows 10 to Windows 11
- How to add items to the 'Create New' context menu in Windows 10
- 9 pros and cons of using a local LLM
- How does Google determine local rankings?
- How to fix slow context menu in Windows 10's File Explorer
- Speed up network and Internet access
- Steps on how to create a local user account in Windows 10
- 2 simple ways to remove SkyDrive Pro option in Windows 10 Right-click Menu
- How to reset Local Group Policy settings on Windows 10