Windows 명령어(네트워크)
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\hp>ipconfig
Windows IP Configuration
Ethernet adapter 로컬 영역 연결:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 59.29.224.62
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 59.29.224.254
C:\Documents and Settings\hp>netstat
Active Connections
Proto Local Address Foreign Address State
TCP gwan14:1208 211.234.239.92:5004 ESTABLISHED
C:\Documents and Settings\hp>netstat -nr
Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 04 23 22 9e 59 ...... Intel(R) PRO/100 VE Network Connection - 패킷 스
케줄러 미니 포트
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 59.29.224.254 59.29.224.62 20
59.29.224.0 255.255.255.0 59.29.224.62 59.29.224.62 20
59.29.224.62 255.255.255.255 127.0.0.1 127.0.0.1 20
59.255.255.255 255.255.255.255 59.29.224.62 59.29.224.62 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 59.29.224.62 59.29.224.62 20
255.255.255.255 255.255.255.255 59.29.224.62 59.29.224.62 1
Default Gateway: 59.29.224.254
===========================================================================
Persistent Routes:
None
C:\Documents and Settings\hp>rout print
'rout'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
C:\Documents and Settings\hp>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 04 23 22 9e 59 ...... Intel(R) PRO/100 VE Network Connection - 패킷 스
케줄러 미니 포트
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 59.29.224.254 59.29.224.62 20
59.29.224.0 255.255.255.0 59.29.224.62 59.29.224.62 20
59.29.224.62 255.255.255.255 127.0.0.1 127.0.0.1 20
59.255.255.255 255.255.255.255 59.29.224.62 59.29.224.62 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 59.29.224.62 59.29.224.62 20
255.255.255.255 255.255.255.255 59.29.224.62 59.29.224.62 1
Default Gateway: 59.29.224.254
===========================================================================
Persistent Routes:
None
C:\Documents and Settings\hp>nbtstat
Displays protocol statistics and current TCP/IP connections using NBT
(NetBIOS over TCP/IP).
NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n]
[-r] [-R] [-RR] [-s] [-S] [interval] ]
-a (adapter status) Lists the remote machine's name table given its name
-A (Adapter status) Lists the remote machine's name table given its
IP address.
-c (cache) Lists NBT's cache of remote [machine] names and their IP
addresses
-n (names) Lists local NetBIOS names.
-r (resolved) Lists names resolved by broadcast and via WINS
-R (Reload) Purges and reloads the remote cache name table
-S (Sessions) Lists sessions table with the destination IP addresses
-s (sessions) Lists sessions table converting destination IP
addresses to computer NETBIOS names.
-RR (ReleaseRefresh) Sends Name Release packets to WINS and then, starts Refr
esh
RemoteName Remote host machine name.
IP address Dotted decimal representation of the IP address.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press Ctrl+C to stop redisplaying
statistics.
C:\Documents and Settings\hp>nbtstat -c
로컬 영역 연결:
Node IpAddress: [59.29.224.62] Scope Id: []
NetBIOS Remote Cache Name Table
Name Type Host Address Life [sec]
------------------------------------------------------------
GA03 <20> UNIQUE 59.29.224.15 415
C:\Documents and Settings\hp>tracert www.daum.net
Tracing route to daumtop.daum.akadns.net [222.231.51.77]
over a maximum of 30 hops:
1 1 ms <1 ms 1 ms 59.29.224.254
2 <1 ms 1 ms <1 ms 211.192.200.241
3 <1 ms 1 ms <1 ms 221.148.210.181
4 <1 ms <1 ms <1 ms 211.38.8.65
5 1 ms 1 ms 1 ms 121.138.225.33
6 1 ms <1 ms <1 ms 222.106.186.25
7 2 ms 1 ms 1 ms 59.18.54.1
8 1 ms 1 ms 1 ms 59.18.54.2
9 2 ms 2 ms 2 ms 203.233.35.225
10 2 ms 2 ms 2 ms 210.92.194.38
11 2 ms 14 ms 2 ms 211.233.55.22
12 * 211.172.248.202 reports: Destination net unreachable.
Trace complete.
C:\Documents and Settings\hp>nslookup
Default Server: kns.kornet.net
Address: 168.126.63.1
> www.hp.co.kr
Server: kns.kornet.net
Address: 168.126.63.1
Non-authoritative answer:
Name: hp.co.kr
Address: 16.130.128.245
Aliases: www.hp.co.kr
> exit
C:\Documents and Settings\hp>net
이 명령에 대한 구문:
NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
C:\Documents and Settings\hp>net accounts
만료 시간이 지난 얼마 후에 강제 로그오프하시겠습니까?: 아님
최소 암호 사용 기간 (일): 2
최대 암호 사용 기간 (일): 42
최소 암호 길이: 8
암호 기록 개수: 24
잠금 임계값: 5
잠금 기간 (분): 30
잠금 관찰 창 (분): 30
컴퓨터 역할: WORKSTATION
명령을 잘 실행했습니다.
C:\Documents and Settings\hp>net view
서버 이름 설명
-------------------------------------------------------------------------------
\\CLIENT-SERVICE0
\\DO00
\\DO02
\\DO03
\\DO05
\\DO08
\\DO09
\\GA00
\\GA03
\\GA07
\\GA08
\\GA09
\\GENERIX-지니
\\GWAN14 oh00
\\GWAN17 oh00
\\GWAN18 oh00
\\HAN19
\\HANINS KumIns
\\HP-YV94SP7HOKY4
\\HPE14TEST
\\HPMETIS
\\HSSO
\\IS
\\KREDUTEST2K3
\\KWAN03 oh00
\\KWAN07 oh00
\\KWAN08 oh00
\\KWAN09 oh00
\\KWAN10 oh00
\\MAINCOM
\\OH10 oh00
\\SOK03
\\SUL02 sul02
명령을 잘 실행했습니다.
C:\Documents and Settings\hp>net user
\\GWAN14에 대한 사용자 계정
-------------------------------------------------------------------------------
Administrator ASPNET Guest
HelpAssistant hp IUSR_HP-RBF9C1WGLUW2
IWAM_HP-RBF9C1WGLUW2 SUPPORT_388945a0 VUSR_HP-RBF9C1WGL
명령을 잘 실행했습니다.
C:\Documents and Settings\hp>net share
공유 이름 리소스 설명
-------------------------------------------------------------------------------
ADMIN$ C:\WINDOWS Remote Admin
wwwroot$ c:\inetpub\wwwroot 웹 프로젝트에 대한 파일 공유...
C$ C:\ Default share
IPC$ Remote IPC
명령을 잘 실행했습니다.
C:\Documents and Settings\hp>doskey
C:\Documents and Settings\hp>doskey /history
ipconfig
netstat
netstat -nr
rout print
route print
nbtstat
nbtstat -c
tracert www.daum.net
nslookup
net
net accounts
net view
net user
net share
doskey
doskey /history
C:\Documents and Settings\hp>