IPLab ‐ Assignment 2 - Nifalnasar/Fundamentals-of-Network GitHub Wiki

PING Command:

ping command sends ICMP (Internet Control Message Protocol) packets to network hosts. It is commonly used to debug or troubleshoot network issues.

a. Use ping on google.com and document your results on the output you received. [Find the IP address, Time to live value, and round-trip time value from the results you got].

1a

b. For the verification of consistency.

1b

c. Pinging localhost (127.0.0.1) checks basic network connectivity and confirms the TCP/IP stack's functionality on your computer.

1c

  1. TRACERT

Tracert provides the path, latency, and network hops data takes from your computer to a destination, aiding in network troubleshooting and identifying connectivity issues.

a.

2a

b.

2b

c. My machine is 12 hops away from google.com 2.There is difference in no. of hops (14) in the new command and difference in the ipv6 adresses.

2c

  1. Netstat:

a.

3a 1

3a 2

b. netstat -e -s

This command will show the Ethernet statistics, including the number of bytes and packets sent and received on each network interface, as well as per-protocol statistics, such as TCP, UDP, ICMP, and others.

3b 1

3b 2

3b 3

3b 4

  1. Nslookum

a. Nslookup is used to get DNS info such as domain names, ip adress,etc.

4a

b. A Mail Exchanger (mx) is a type of dns record which is responsible for sending and receiving email messages in a particular domain.

4b

c. Name server of a domain is type of DNS records which include information such as the IP addresses of the domain's web servers, mail servers, subdomains, and other DNS-related settings.

4c

  1. ARP & RARP

ARP stands for Address Resolution Protocol, the host's MAC address is fetched.

RARP stands for Reverse Address Resolution Protocol, the host's MAC address is mapped to the host's IP address.

a. Use arp command to find the gateway address and host systems hardware address.

5a

b. To find arp interface for particular interface.

5b

c. to delete an arp entry

-arp -d 172.20.10.1

d. to add an arp entry in arpcache.

5c

  1. TCP dump command.

6

a.

6a

6b

  1. WIRESHARK

7

1.a,b,c

7a,b,c

2.a- *Name of the file : http://192.168.31.67/1.jpg *Type of the file : image/jpeg\r\n

7 2a

2.b,c

7 2 bc

3.a. Sensitive info- (CONVERSATION) Hi customer support team I would want to be as ... to clear this level. Could you help me with that . okay, Dont share this password with anyone. sure, L for Lazor m for masterbilt b for battlefield o for outthrust Thank you Alright thank you passwd:- LIMBO

7 3a

b.

7 3b

7 4

a.

7 4a

b.

7 4ab 7 4b2

c.

7 4c