Problem Description:Recently replaced upgraded server, there has been a problem, is that many users can ping and tracert through our site, but when the landing is not normal, occasionally refresh can open, very abnormal.Catch packet found that the user came over the IP can to the server, but the server did not reply.Thanks to Huang's analysis!!!!Here is a summary of some of the solutions found online.===================================================
Function: tracert-parameter IP (or computer name) trace Route (packet)
Usage: tracert-d www.baidu.com
If you do not add the-D argument, the address will be resolved to host name, so it will be very slow, and then do not convert, the speed is much faster. The other parameters are as follows:
Options:-D does not resolve addresses to host names.-h maximum_hops The maximum number of hops for the search tar
" Goto nexttestSet numbertracert = 1ECHO is currently detecting 1 IP AddressFor/F % A in (% ipfile %) do set tempip = % A goto allyesno: NexttestIf "% numberip %" = "% numberline %" Echo. Echo no timed out IP address found in this testSet/A numberip = numberip + 1Echo.ECHO is currently detecting % numberip % IPSet numbertracert = 1Set/a skip = skip + 1For/F "Skip = % skip %" % A in (% ipfile %) do set tempip = % A goto allyesno: AllyesnoECHO is testing % numbertracert % hops for % tempip %. P
, you can know all the information.7. ARP (Address Resolution Protocol)View the appropriate MAC address for the IP address.How to use: Arp-a IP Displays the current ARP cache table for all interfaces.Arp attack is to realize ARP spoofing by fake IP address and MAC address, can generate a large amount of ARP traffic in the network to block the network, the attacker can change the IP-MAC entry in the target host ARP cache as long as the persistent ARP response packet is issued, causing network int
1. ICMP packets are encapsulated in IP packets for transmission.Understanding this is very important for later programming. Figure 03 shows the structure of IP data packets:
Figure 03: Structure of IP data packets
Traditionally, IP
Windows Network Command line programThis section includes:Use Ipconfig/all to view configurationUse Ipconfig/renew to refresh the configurationUsing Ipconfig to manage DNS and DHCP class IDsUse Ping to test connectionResolving hardware address problems with ARPUsing nbtstat to troubleshoot NetBIOS name problemsDisplay connection statistics using netstatUsing tracert to track network connectionsTesting routers using PathpingUse Ipconfig/all to view con
category IDSUse Ping to test the connectionUse Arp to solve hardware address problemsUse nbtstat to solve NetBIOS name problemsUse netstat to display connection statisticsUse tracert to track Network ConnectionsUse pathping to test the vro
Use ipconfig/all to view configurationsWhen detecting and solving TCP/IP network problems, first check the TCP/IP configuration on the computer where the problem occurs. YesUse the ipconfig command to obtain the ho
command:"Netsh interface IP add address" Local Area Connection "10.0.0.2255.0.0.0"To add IP addresses.
It doesn't matter if you don't know the syntax!At the prompt, enter? You can find the answer. Convenience and inconvenience?In the past, Microsoft also had some things that people liked. Unfortunately, there are very few!
Windows Network command lineProgram This part includes:
Use ipconfig/all to view configurationsUse ipconfig/renew to refresh the configurationUse ipconfig to manage DNS
interface IP add address" Local Area Connection "10.0.0.2255.0.0.0"To add IP addresses.
It doesn't matter if you don't know the syntax!At the prompt, enter? You can find the answer. Convenience and inconvenience?In the past, Microsoft also had some things that people liked. Unfortunately, there are very few!
Windows command line programThis part includes:
Use ipconfig/all to view configurationsUse ipconfig/renew to refresh the configurationUse ipconfig to manage DNS and DHCP category IDSUse pin
Windows command line programThis part includes:Use ipconfig/all to view configurationsUse ipconfig/renew to refresh the configurationUse ipconfig to manage DNS and DHCP category IDSUse ping to test the connectionUse ARP to solve hardware address problemsUse NBTSTAT to solve NetBIOS name problemsUse netstat to display connection statisticsUse tracert to track Network ConnectionsUse pathping to test the vroUse ipconfig/all to view configurationsWhen det
configuration
The above is a way to operate interactively.
We can enter the command directly:
' netsh interface ip add address ' local area Connection ' 10.0.0.2
255.0.0.0 "
To add an IP address. If you do not know the grammar, it does not matter Oh!At the prompt, enter? We can find the answer. Convenient inconvenient ah? It turns out that there are some things that people like about Microsoft. Alas, very few of them!
windows Network Command line program
This section includes:
Use Ipconfig/
a method of interactive operations.
Run the following command:
"Netsh interface ip add address" Local Area Connection "10.0.0.2
255.0.0.0"
To add IP addresses. It doesn't matter if you don't know the syntax! At the prompt, enter? You can find the answer. Convenience and inconvenience? In the past, Microsoft also had some things that people liked. Unfortunately, there are very few!
Windows command line program
This part includes:
Use ipconfig/all to view configurations
Use ipconfig/renew to refr
Question:I often use the ping command and tracert command to check the status of hosts on the network to see if they are running normally. However, recently, the company's network management has set a policy on routers and servers to completely disable icmp. As we all know, the ping and tracert commands use the icmp protocol. In this case, I cannot use the preceding two commands to check the host status on
. If we use the ping command to test and verify the connectivity from this computer to the host whose IP address is 10.0.0.99, the ARP cache displays the following items:
Interface: 10.0.0.1 on interface 0x1
Internet address physical address type
10.0.0.99 00-e0-98-00-7c-dc dynamic
In this example, the cache item indicates that the remote host located in 10.0.0.99 is resolved to the Media Access Control Address of 00-e0-98-00-7c-dc, which is allocated in the NIC hardware of the remote co
address of arp-s can be manually entered into the ARP cache. The project remains valid during the computer boot process, or when an error occurs, the manually configured physical address automatically updates the project. Arp-d IP can use this command to manually delete a static project. Now we can use the ipconfig and ping commands to view our network configurations and determine if they are correct. We can use netstat to view the connections established between others and us and find out the
options that can only work on a computer that rents its IP address to the DHCP server. If we enter ipconfig/release, the lease IP addresses of all interfaces will be re-delivered to the DHCP server (return the IP address ). If we enter ipconfig/renew, the local computer will try to contact the DHCP server and lease an IP address. Note that in most cases, the NIC will be assigned the same IP address as previously assigned.
If we are using Windows 95/98, we should be more accustomed to using wini
Today's small series will give you to share my graduate students at the Northeastern University learned about the implementation of the route tracking, I hope that you read the small part of this blog post can be under the windows of the TRACERT command to have a certain understanding.
1. Experimental purpose
Tracert (Trace routing) is a route trace utility that determines the path taken by the IP datagram
Windows Network Command line program
C:\>nslookup www.jb51.net
Server:www
address:192.168.5.8
Non-authoritative Answer:
Name:www.jb51.net
address:202.103.69.64
This section includes:
Shi
Use Ipconfig/all to view configuration
Use Ipconfig/renew to refresh the configuration
For DHCP-enabled Windows 95 and Windows 98 customers, use the release and renew options for the winipcfg command, instead of the ipconfig/release and Ipconfig/renew commands, manually releasing or update the client's IP config
from the client to the server. In the preceding example, the status of the first data packet is NEW.
650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'width = "438" height = "205" border = "0" src = "http://www.bkjia.com/uploads/allimg/131227/0TKa128-1.jpg" alt = "iptables1" style = "border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; "title =" iptables1 "/>
RELATED
On Windows, there is a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.