InWindows 2000OfCmd shellEnterNetsh
Just come out:Netsh>Prompt,
InputInt ipDisplay:
Interface ip>
EnterDump, We can see the network configuration of the current system:
InWindows 2000OfCmd shellEnterNetsh
Just come out:Netsh>Prompt,
InputInt ipDisplay:
Interface ip>
EnterDump, We can see the network configuration of the current system:
#----------------------------------
# Interface IP Configuration
#----------------------------------
Pushd interface ip
# Interface IP Configuration for "Local Area Connection"
Set address name = "Local Area Connection" source = static addr = 192.168.1.168
Mask = 255.255.255.0
Add address name = "Local Area Connection" addr = 192.1.1.111 mask = 255.255.255.0
Set address name = "Local Area Connection" gateway = 192.168.1.100 gwmetric = 1
Set dns name = "Local Area Connection" source = static addr = 202.96.209.5
Set wins name = "Local Area Connection" source = static addr = none
Popd
# End of interface IP configuration
The above describes a method of interactive operations.
Run the following command:
"Netsh interface ip add address" Local Area Connection "10.0.0.2
255.0.0.0"
To addIPAddress.
It doesn't matter if you don't know the syntax!
At the prompt, enter?You can find the answer. Convenience and inconvenience?
In the past, Microsoft also had some things that people liked. Unfortunately, there are very few!
WindowsNetwork command line program
This part includes:
UseIpconfig/allView configurations
UseIpconfig/renewRefresh Configuration
UseIpconfigManagementDNSAndDHCPCategoryID
UsePingTest connection
UseArpSolve hardware address problems
UseNbtstatSolutionNetBIOSName Problems
UseNetstatDisplay connection statistics
UseTracertTracking Network Connections
UsePathpingTest vro
UseIpconfig/allView configurations
Discovery and SolutionTCP/IPWhen a network problem occurs, checkTCP/IPConfiguration. Yes
UseIpconfigCommand to obtain the host configuration information, includingIPAddress, subnet mask, and default gateway.