You are on page 1of 8

Computer Networks

Assignment 3
Spring 2017
D.r. Mubashar Mushtaq

Name: Zeeshan Mushtaq


Roll number: 18-10638
ipconfig

ipconfig is used to display all current TCP/IP network configuration values and
refreshes dynamic host configurations and domain name system settings. If it is
used without parameters, it displays the ip address, subnet mask, and default
gateway for all adapters.

In the below example, It is displaying full configuration information.

ipconfig/all
Netstat
Netstat command displays various network related information such as network
connections . routing tables, interface statistics, masquerade connections and
multicast memberships.

The following example is using netstat pt which is adding PID to the netstat
output. This is very useful while debugging to identify which program is running
on which port.
Nslookup
Nslookup is a network administration tool for querying the DNS to obtain domain
name and ip address mapping or anyother specific DNS record. It is also used to
troubleshoot DNS related problems.

In the below output, server refers to the ip address of the DNS server and in the
next line it provides the ip address of the domain wwe.com

Now the other example, as you can see we have a 2 MX records for the domain
wwe.com the preferences shows the preference of the mail server. Lower the
number, higher the preference. So when a mail is sent to @wwe.com. first
preference will be mail1.wwe.com
Ping
Ping command is used to test the ability of the source computer to communicate
with another computer. It is usually used to verify that a computer can
communicate over a network with another computer or device.

In the following example Im asking the ping command to find the hostname
assigned to 192.168.10.1 ip address but otherwise ping it as normal. (ping a)

In the next example Im using f ICMP echo requests from being fragmented by
routers between my pc and the target. Otherwise it is pinging it as normal.
PathPing
The pathping command is a route tracing tool that combines features of the ping
and tracert commands with providing statistics for each node or hop that is used
on a way to its destination.

As you can see in the example pathping provides much more information on route
and the speed of the connection as compared to ping.

In another example I have used n which doesnot resolve addresses to host names.
Route
Route command is to show the IP routing table. It is primarily used to setup static
routes to specific host or networks via an interface.

In the following example when using with PRINT it displays the list of the
persistent routes

You might also like