网络经典命令
1.最基本,最常用的,测试物理网络的 转载请注明出处:http://www.lanbeng-pump.net
ping 192.168.10.88 -t ,参数-t是等待用户去中断测试 泵阀技术(论坛)http://www.lanbeng-pump.net
2.查看DNS、IP、Mac等
泵阀技术论坛 (兰泵论坛)http://www.lanbeng-pump.netA.Win98:winipcfg 泵阀技术论坛 http://www.lanbeng-pump.net
B.Win2000以上:Ipconfig/all 本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/
C.NSLOOKUP:如查看河北的DNS 本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/
C:>nslookup 本文章来源于:www.lanbeng-pump.net/
Default Server: ns.hesjptt.net.cn 泵阀技术论坛 (兰泵论坛)http://www.lanbeng-pump.net
Address: 202.99.160.68
本文章来源于:www.lanbeng-pump.net/ >server 202.99.41.2 则将DNS改为了41.2 泵阀技术论坛 http://www.lanbeng-pump.net
> pop.pcpop.com 泵阀技术论坛 (兰泵论坛)http://www.lanbeng-pump.net
Server: ns.hesjptt.net.cn 泵阀技术论坛 http://www.lanbeng-pump.net
Address: 202.99.160.68 泵阀技术论坛 (兰泵论坛)http://www.lanbeng-pump.net
Non-authoritative answer: 本文章来源于:www.lanbeng-pump.net/
Name: pop.pcpop.com
本文章来源于:www.lanbeng-pump.net/ Address: 202.99.160.212
本文章来源于:www.lanbeng-pump.net/ 3.网络信使 泵阀技术论坛 http://www.lanbeng-pump.net
Net send 计算机名/IP|* (广播) 传送内容,注意不能跨网段 本文章来源于:www.lanbeng-pump.net/
net stop messenger 停止信使服务,也可以在面板-服务修改 泵阀技术论坛 http://www.lanbeng-pump.net
net start messenger 开始信使服务 泵阀技术论坛 http://www.lanbeng-pump.net
4.探测对方对方计算机名,所在的组、域及当前用户名 泵阀技术论坛 http://www.lanbeng-pump.net
ping -a IP -t ,只显示NetBios名 泵阀技术论坛http://www.lanbeng-pump.net
nbtstat -a 192.168.10.146 比较全的 泵阀技术论坛http://www.lanbeng-pump.net
5.netstat -a 显示出你的计算机当前所开放的所有端口 转载请注明出处:http://www.lanbeng-pump.net
netstat -s -e 比较详细的显示你的网络资料,包括TCP、UDP、ICMP 和 IP的统计等 泵阀技术论坛http://www.lanbeng-pump.net
6.探测arp绑定(动态和静态)列表,显示所有连接了我的计算机,显示对方IP和MAC地址 转载请注明出处:http://www.lanbeng-pump.net
arp -a 本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/
7.在代理服务器端 本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/
捆绑IP和MAC地址,解决局域网内盗用IP: 泵阀技术论坛 http://www.lanbeng-pump.net
ARP -s 192.168.10.59 00-50-ff-6c-08-75 泵阀技术论坛 (兰泵论坛)http://www.lanbeng-pump.net
解除网卡的IP与MAC地址的绑定:
泵阀技术论坛http://www.lanbeng-pump.netarp -d 网卡IP 泵阀技术论坛http://www.lanbeng-pump.net
8.在网络邻居上隐藏你的计算机 本文章来源于:www.lanbeng-pump.net/
net config server /hidden:yes 本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/
net config server /hidden:no 则为开启 泵阀技术论坛 http://www.lanbeng-pump.net
9.几个net命令 转载请注明出处:http://www.lanbeng-pump.net
A.显示当前工作组服务器列表 net view,当不带选项使用本命令时,它就会显示当前域或网络上的计算机上的列表。 本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/
比如:查看这个IP上的共享资源,就可以 泵阀技术论坛http://www.lanbeng-pump.net
C:>net view 192.168.10.8 转载请注明出处:http://www.lanbeng-pump.net
在 192.168.10.8 的共享资源
泵阀技术(论坛)http://www.lanbeng-pump.net资源共享名 类型 用途 注释 泵阀技术论坛 http://www.lanbeng-pump.net
-------------------------------------- 泵阀技术论坛 http://www.lanbeng-pump.net
网站服务 Disk 转载请注明出处:http://www.lanbeng-pump.net
命令成功完成。 泵阀技术论坛 http://www.lanbeng-pump.net
B.查看计算机上的用户帐号列表 net user 本文章来源于:www.lanbeng-pump.net/
C.查看网络链接 net use 泵阀技术论坛 (兰泵论坛)http://www.lanbeng-pump.net
例如:net use z: 192.168.10.8movie 将这个IP的movie共享目录映射为本地的Z盘 泵阀技术论坛 http://www.lanbeng-pump.net
D.记录链接 net session 泵阀技术论坛 http://www.lanbeng-pump.net
例如: 转载请注明出处:http://www.lanbeng-pump.net
C:>net session 本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/
计算机 用户名 客户类型 打开空闲时间 泵阀技术(论坛)http://www.lanbeng-pump.net
------------------------------------------------------------------------------- 泵阀技术(论坛)http://www.lanbeng-pump.net
192.168.10.110 ROME Windows 2000 2195 0 00:03:12
泵阀技术论坛 (兰泵论坛)http://www.lanbeng-pump.net192.168.10.51 ROME Windows 2000 2195 0 00:00:39 转载请注明出处:http://www.lanbeng-pump.net
命令成功完成。 本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/
10.路由跟踪命令
本文章来源于:www.lanbeng-pump.net/ A.tracert pop.pcpop.com 泵阀技术论坛http://www.lanbeng-pump.net
B.pathping pop.pcpop.com 除了显示路由外,还提供325S的分析,计算丢失包的% 泵阀技术论坛 http://www.lanbeng-pump.net
11.关于共享安全的几个命令 本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/
A.查看你机器的共享资源 net share 泵阀技术论坛 http://www.lanbeng-pump.net
B.手工删除共享 转载请注明出处:http://www.lanbeng-pump.net
net share c$ /d 转载请注明出处:http://www.lanbeng-pump.net
net share d$ /d 本文章来源于:www.lanbeng-pump.net/
net share ipc$ /d 泵阀技术论坛 http://www.lanbeng-pump.net
net share wanggh$ /d 泵阀技术论坛http://www.lanbeng-pump.net
注意$后有空格。 本文章来源于:www.lanbeng-pump.net/
C.增加一个共享: 泵阀技术论坛http://www.lanbeng-pump.net
c:net share mymovie=e:downloadsmovie /users:1 泵阀技术论坛 (兰泵论坛)http://www.lanbeng-pump.net
mymovie 共享成功。 本文章来源于:www.lanbeng-pump.net/
同时限制链接用户数为1人。 转载请注明出处:http://www.lanbeng-pump.net
12.在DOS行下设置静态IP 泵阀技术论坛http://www.lanbeng-pump.net
A.设置静态IP
本文章来源于:泵阀技术论坛--http://www.lanbeng-pump.net/CMD 泵阀技术论坛http://www.lanbeng-pump.net
netsh 转载请注明出处:http://www.lanbeng-pump.net
netsh>int 泵阀技术论坛http://www.lanbeng-pump.net
interface>ip 泵阀技术论坛 http://www.lanbeng-pump.net
interface ip>set add "本地链接" static IP地址 mask gateway 泵阀技术论坛 (兰泵论坛)http://www.lanbeng-pump.net
B.查看IP设置 转载请注明出处:http://www.lanbeng-pump.net
interface ip>show address
文本地址:http://www.lanbeng-pump.net/viewthread.php?tid=727&fromuid=0
复制地址
搜索更多相关主题的帖子:
网络 ping 河北 物理 计算机