Are the results for Average time the same for each execution to the same target? Why or why not? Are the number of hops the same for each execution to the same target? Why or why not?

In this lab, we are examining and working with specific network protocols. We will test ARP, ICMP and UDP.

In this first exercise, we will use the Address Resolution Protocol (ARP) to determine the Media Access Control (MAC) address of machines on our local network. The example code provides a Python function for broadcasting an ARP request message and printing any replies that are received. You must determine what to pass as the argument to the function. The argument is an IP address and subnet in CIDR format. As an example, if we have an IP address of 192.168.1.45 with a subnet mask of 255.255.252.0 then our CIDR is 182.168.1.45/30.

Call the function with the correct CIDR designation to cause the function to send exactly eight ARP requests and capture the reply.

More fun with ICMP

Now we will look at ICMP. Note that we looked at this in a previous lab but didn’t really understand its use. ICMP is useful for routing statistics and routers use it extensively for providing error and status results when trying to send IP packets. The following code uses a Python library called “icmplib”.

Use this function to display statistics that convey how IP packets must be routed to get to a specified target. First, call the function with your local machine’s IP address. Then, call the function with a destination or target of a remote machine. Call the function at least three times for each target. In this markdown section, answer the following questions:

Are the results for Average time the same for each execution to the same target? Why or why not?
Are the number of hops the same for each execution to the same target? Why or why not?

Last Completed Projects

topic title academic level Writer delivered
© 2020 EssayQuoll.com. All Rights Reserved. | Disclaimer: For assistance purposes only. These custom papers should be used with proper reference.