Network classic order --------- My weakness

xiaoxiao2021-04-08  446

1, test physical network

Command: ping 192.168.0.8 -t, parameter-T is waiting for the user to interrupt test

Friendly Tips: This is the most basic, most common network command

2. View information such as DNS, IP, Mac

A.WIN98: WiniPCFG

B.Win2000 or above: IPConfig / All

3. Network letter

Command: Net send computer name / ip * (broadcast) transfer content, pay attention to not cross-network segment

Command: Net Stop Messenger stops letter to make services, or modify in panel-service

Command: Net Start Messenger starts the letter of credits

4. Detect each computer name, the group, domain, and the current username (pursuit of working principle)

Command: ping -a ip -t, only display NetBIOS name

Command: NBTSTAT -A IP is more complete

5.NetStat -a Shows all ports of your computer now open

Command: netstat -s -e

More detailed display of your network information, including TCP, UDP, ICMP, and IP statistics, etc.

6. Detect the ARP binding (dynamic and static) list, display all connected to my computer, display the other party IP and MAC address

Command: arp -a

7. On the proxy server

Bundle IP and MAC address, solve the IP of the local area network! :

Command: ARP -S 192.168.10.59 00 -50-FF-6C-08-75

Release the iP and MAC address of the NIC:

Command: ARP -D NIC IP

8. Hide your computer in the network neighbor

Command: Net config server / hidden: yes

Command: Net config server / hidden: No is open

9.net command

A. Display the current Workgroup Server List Net View, when you use this command without an option, it displays a list of computers on the current domain or network.

For example: view shared resources on this IP, you can

C:> Net View 192.168.10.8

Shared resources in 192.168.10.8

Resource shared name type use notes

Website service Disk

The command successfully completed.

B. Check the user account list NET User on your computer

C. View Network Link Net Use

For example: NET Use Z: 192.168.10.8Movie maps this IP's MOVIE sharing directory to a local Z disk

D. Record Link Net Session

For example: C:> Net session

Computer username customer type opens free time

192.168.10.110 rome windows 2000 2195 0 00:03:12

192.168.10.51 rome windows 2000 2195 0 00:00:39

The command successfully completed.

10. Routing Tracking Command

A.Tracert Software.pchome.net

B.Pathping Software.pchome.NET also provides 325S analysis, calculating the loss of the packet

11. Several orders about sharing security

A. View your machine's shared resource NET Share

B. Manually delete sharing (you can make a BAT file, turn it on, delete the sharing!)

Command: NET Share C $ / D

Command: NET Share D $ / D Command: Net Share IPC $ / D

Command: Net Share Admin $ / D

Note that there is a space behind it.

C. Add a sharing:

C: Net Share MyMovie = E: Downloadsmovie / Users: 1

MyMovie shared success.

At the same time, the number of limited link users is 1 person.

12. Set static IP in DOS

A. Set static IP

Cmd

Netsh

Netsh> int

Interface> IP

Interface IP> Set Add Add "Static IP Address Mask Gateway

B. View IP settings

Interface IP> show address

ARP

Displays and modify the items in the Address Resolution Protocol (ARP) "cache. One or more tables are included in the ARP cache that stores the IP address and its resolved Ethernet or token ring physical address. Each Ethernet or token ring network adapter installed on a computer has its own separate table. If you use without parameters, the ARP command will display the help information.

转载请注明原文地址:https://www.9cbs.com/read-132940.html

New Post(0)