Digital Assignment - 1: I) Ping
Digital Assignment - 1: I) Ping
I) ping
i) What is the IP address of www.vit.ac.in?
A) To find the answer of a particular website, we use ping <website name>
ii) Check whether TCP/IP is properly installed and functioning in your system.
A) Firstly, we use ipconfig /all, to get the IP address, subnet mask and default
gateway etc.
As the IP address isn’t either 169.254.X.X or 0.0.0.0, the IP address is correct
and TCP/IP is configured properly within the system.
Verifying it;
iii) Increase or Decrease the Time Interval between Packets. Write the
response.
A) We can change ping time interval by using ping -i <time> <IP address>
Increasing ping time by waiting for 4 seconds before sending next packet
Decreasing ping time by waiting for 1 second before sending next packet
iv) Change Ping Packet Size in bytes of data. Write the response.
A) To indicate the size of each data packet, we can use
ping -l <size in bytes> <IP address>
Linux:
vii) For some of the hosts, you may not have received any responses for the
packets you have sent. What are the reasons for not getting a response?
A) The reasons for not getting a response back may be due to the facts that
there are network restrictions in place, or the network is misconfigured. It may
also be due to too high or low ping time interval as below.
II) ipconfig
i) What is the MAC address of the network interface card of your system?
A) ipconfig /all can be used to configure all the network interfaces in the
system. The physical address of the Ethernet adapter is nothing but the MAC
address of the network interface card of the system.
Here the MAC address is C0-3E-BA-33-65-06
iii) Find out all the network interfaces connected to your system
A) ipconfig /all can be used to configure all the network interfaces in the
system.
iv) Show the differences between ‘release’ and ‘renew’ options in ‘ipconfig’
A) ipconfig /release is executed to force the client to immediately give up its
lease by sending the server a DHCP release notification which updates the
server's status information and marks the old client's IP address as "available".
ipconfig /renew is executed to request a new IP address.
III) netstat
i) List Various Listening Ports.
A) netstat -l is used
ii) Trace to www.vit.ac.in and show the differences between ‘pathping’ and
‘tracert’
A) The difference between tracert and pathping is that tracert helps to find the
actual path from the source to the destination device while pathping is a
command that provides information about network latency and network loss
at intermediate hops between the source and the destination devices.
V) nslookup
i) What is the IP address and name of the machine www.google.com?
A)
VII) ARP
i) Show the full ARP table for your machine? Capture and explain each column
of what is printed.
A) arp -a command is used to capture the ARP table
As shown above, we get the list of network interfaces, the target IP address
each interface is trying to reach, the physical or MAC address of each system
along with the type of ARP entry.
MAC address is a unique identifier assigned to a network interface controller
(NIC) for use as a network address in communications within a network
segment.
ARP cache can contain dynamic (learned) entries and static (user-configured)
entries.