dos常用命令---路由跟踪命令.查看DNS、 IP、 Mac等DOS common command-route tracking command. See DNS, IP, Mac,etc
Most basic, most commonly used, test the physical network Ping 192. 168.8-t, the parameter -t is waiting for the user to interrupt the test
Look at DNS, IP, Mac, etc
Aleem walji in98: winipcfg
B.W in2000 above: Ipconfig/all
C.N SLOOKUP: if you look at the DNS in hebei
C: \ > nslookup
Default Server: ns.hesjptt.net. cn
Address: 202.99. 160.68
> server 202.99.41. 2 changed the DNS to 41.2
> pop.pcpop.com
Server: ns.hesjptt.net.cn
Address: 202.99. 160.68
The Non - authoritative answer:
Name: pop.pcpop. com
Address: 202.99. 160.212
Online messenger (often asked)
Net send computer name/IP | * (broadcast) . Note that you cannot cross the network segment
The net stop messenger stops the messenger service, or it can be modified in the panel - service
Net start messenger starts messenger service
Probe each other' s computer name, group, domain, and current user name (how the hunt works)
Ping - a ip-t, which only shows the NetBios name
Nbtstat - a 192. 168. 10. 146 is complete
5.net stat - a shows all the ports that your computer is currently open
Netstat -s-e is a more detailed display of your network data,including data from TCP, UDP, ICMP, and IP
Probe the arp binding (dynamic and static) list, showing all the computers connected to my computer, displaying the other' s
IP and MAC addresses
Arp -a
On the proxy server side
Bundle IP and MAC addresses, resolve LAN theft IP! :
Arp-s 192. 168. 10.5900-50-ff-6c-08-75
Remove the IP of the network card from the MAC address binding:Arp 3-d network card IP
Hide your computer from your online neighbors (let people see you! )
.net config server/hidden: yes
Net config server/hidden: no is open
9. A few.net command
A. displays the current working group server list net view,which displays A list of computers on the current domain or network when using this command without the option.
For example, check out the Shared resources on this IP
C: \ > net view 192. 168. 10.8
Share resources in 192. 168. 10.8
Resource sharing name type usage annotations
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- --
Site service Disk
The order was successfully completed.
Check the user account list net user on the computer
C. view network link net use
For example, net use z: \ \ 192. 168. 10.8 \movie maps this IP' s movie Shared directory to a local z disk
D. record the link net session
Such as:
C: \ > net session
Computer user name customer type opens idle time
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
\ \ 192. 168. 10. 110 ROME Windows 2000 2195 0 00:03:12
\ \ 192. 168. 10.51 ROME Windows 2000 2195 0 00:39
The order was successfully completed.
Route tracking commands
A.t racert pop.pcpop.com
B.p athping pop.pcpop.com also provides an analysis of 325S to calculate the % of the lost package
11.
Several commands for sharing security
A. check out the Shared resources of your machine
Manually delete the share (you can make up a bat file, boot up and delete the share!)
Net share c $/ d
Net share $d/d
Net share the ipc $/ d
Net share the admin $/ d
Notice the space after $$.
Add a share:
C: \ net share mymovie = e: \ downloads \ movie/users: 1Mymovie shares success.
Limit the number of links to 1.
Set static IP at the DOS line
A. set the static IP
C MD netsh
Netsh > int
Interface > IP
Interface IP > set add "local link" static IP address mask gateway
B. check the IP Settings
Interface IP > show the address
Arp
Display and modify items in the "address resolution protocol (ARP)" cache. The ARP cache contains one or more tables that store the IP address and its parsed Ethernet or token ring physical address. Each Ethernet or token ring network adapter installed on the computer has its own table. If used without parameters, the arp command displays the help information.g rammar
Arp [-a] [-n IfaceAddr] [-d] [-d] [-d] [-d] .parameter
[-n IfaceAddr]
Displays the current ARP cache table for all interfaces. To display the ARP cache entry that specifies the IP address, use the arp-a with the inetdr parameter, which represents the IP address specified by the InetAddr. To display the ARP cache table for the specified interface, use the -n IfaceAddr parameter, where the IfaceAddr delegate is assigned to the IP address assigned to the specified interface. -n parameters are case sensitive.
-g [InetAddr] [-n IfaceAddr]
It' s the same thing as negative a.
- d InetAddr [IfaceAddr]
Delete the specified IP address item, where the InetAddr represents the IP address. For the specified interface, to delete one item in the table, use the IfaceAddr
Parameter, the IfaceAddr delegate here is assigned to the IP address of the interface. To remove all items, use the asterisk (*) wildcard instead of InetAddr.
-s InetAddr, EtherAddr [IfaceAddr]
Adding a static item to the ARP cache to parse the IP address InetAddr into the physical address EtherAddr. To add a static ARP cache entry to the table of the specified interface, use the IfaceAddr parameter, where the IfaceAddr represents the IP address assigned to the interface.
/?
Displays help at the command prompt.annotation
The IP address of InetAddr and IfaceAddr is represented by decimal notation with dots.
The physical address EtherAddr consists of six bytes, which are represented in hexadecimal notation and separated by hyphens (for example, 00 - AA -00-00-4f-2a-9c) .
The items added by the -s parameter are static items that do
not timeout in the ARP cache. If the TCP/IP protocol is terminated, the items will be deleted. To create a permanent static ARP cache entry, please use proper ARP in the batch file command and through the "planning task program" on startup the batch file.
This command is only available when the Internet protocol (TCP/IP) protocol is installed as a component of the network adapter property in a network connection.s amp l e
To display the ARP cache table for all interfaces, type:Arp -a
For an interface assigned with an IP address of 10.0.0.99,display its ARP cache table, which can be typed:
Arp-a-n 10.0.99
To add a static ARP cache entry that parses the IP address
10.0.0.80 to the physical address, 00 -AA-, 1-4f-2a-9c, type:Arp-s 10.0.80 - AA - 00-4f-2a-9c
Tag: DOS common command - route tracing to view DNS Mac Related articles:
A common instruction for the network
今天上午有网友在群里聊到是不是有新注册域名的海外域名商家的优惠活动。如果我们并非一定要在国外注册域名的话,最近年中促销期间,国内的服务商优惠力度还是比较大的,以前我们可能较多选择海外域名商家注册域名在于海外商家便宜,如今这几年国内的商家价格也不贵的。比如在前一段时间有分享到几个商家的年中活动:1、DNSPOD域名欢购活动 - 提供域名抢购活动、DNS解析折扣、SSL证书活动2、难得再次关注新网商家...
老薛主机怎么样?老薛主机这个商家有存在有一些年头。如果没有记错的话,早年老薛主机是做虚拟主机业务的,还算不错在异常激烈的市场中生存到现在,应该算是在众多商家中早期积累到一定的用户群的,主打小众个人网站业务所以能持续到现在。这不,站长看到商家有在进行夏季促销,比如我们很多网友可能有需要的香港vps主机季度及以上可以半价优惠,如果有在选择不同主机商的香港机房的可以看看老薛主机商家的香港vps。点击进入...
快云科技怎么样?快云科技是一家成立于2020年的新起国内主机商,资质齐全 持有IDC ICP ISP等正规商家。我们秉承着服务于客户服务于大众的理念运营,机器线路优价格低。目前已注册用户达到5000+!主营产品有:香港弹性云服务器,美国vps和日本vps,香港物理机,国内高防物理机以及美国日本高防物理机!产品特色:全配置均20M带宽,架构采用KVM虚拟化技术,全盘SSD硬盘,RAID10阵列, 国...