2008. 7. 22. 14:37

Network command 정리

ipconfig /all
Windows IP Configuration

        Host Name . . . . . . . . . . . . :
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . :
        IP Routing Enabled. . . . . . . . :
        WINS Proxy Enabled. . . . . . . . :

Ethernet adapter LocalNetwork:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : NVIDIA nForce
        Physical Address. . . . . . . . . : 00-19-66-2B-6F
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 163.180.116.89
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 163.180.116.1
        DNS Servers . . . . . . . . . . . : 163.180.96.54



netstat

Active Connections
  Proto  Local Address          Foreign Address        State
  TCP    henry:3249             211.234.240.208:5004   ESTABLISHED
  TCP    henry:3389             163.180.152.184:1081   ESTABLISHED
  TCP    henry:4366             163.180.116.222:6484   CLOSE_WAIT
  TCP    henry:4706             163.180.116.213:netbios-ssn  ESTABLISHED



route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 19 66 2b 6f 34 ...... NVIDIA nForce Networking Controller
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0    163.180.116.1  163.180.116.89       30
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
    163.180.116.0    255.255.255.0   163.180.116.89  163.180.116.89       30
   163.180.116.89  255.255.255.255        127.0.0.1       127.0.0.1       30
  163.180.255.255  255.255.255.255   163.180.116.89  163.180.116.89       30
      169.254.0.0      255.255.0.0   163.180.116.89  163.180.116.89       30
        224.0.0.0        240.0.0.0   163.180.116.89  163.180.116.89       30
  255.255.255.255  255.255.255.255   163.180.116.89  163.180.116.89       1
Default Gateway:     163.180.116.1
===========================================================================
Persistent Routes:
  None



arp -a
 
Interface: 163.180.116.89 --- 0x2
  Internet Address      Physical Address      Type
  163.180.116.1         00-0a-f4-a4-c5-ff     dynamic
  163.180.116.150       00-0f-b0-d3-d9-34     dynamic
  163.180.116.198       00-e0-81-23-5c-eb     dynamic
  163.180.116.213       00-0e-e8-f4-82-62     dynamic
  163.180.116.221       00-1b-fc-e2-e5-9f     dynamic



netsh
C:\Documents and Settings\Administrator>netsh - h

Usage: netsh [-a AliasFile] [-c Context] [-r RemoteMachine]
[Command | -f ScriptFile]
The following commands are available:
Commands in this context:
?              - Displays a list of commands.
add            - Adds a configuration entry to a list of entries.
bridge         - Changes to the `netsh bridge' context.
delete         - Deletes a configuration entry from a list of entries.
diag           - Changes to the `netsh diag' context.
dump           - Displays a configuration script.
exec           - Runs a script file.
firewall       - Changes to the `netsh firewall' context.
help           - Displays a list of commands.
interface      - Changes to the `netsh interface' context.
ras            - Changes to the `netsh ras' context.
routing        - Changes to the `netsh routing' context.
set            - Updates configuration settings.
show           - Displays information.

The following sub-contexts are available:
bridge diag firewall interface ras routing

To view help for a command, type the command, followed by a space, and then type ?.