University of Engineering and Technology Peshawar: Computer Networks

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

UNIVERSITY OF ENGINEERING AND TECHNOLOGY PESHAWAR

COMPUTER NETWORKS
LAB 01

Name Noureen Khan


Reg No: 16PWELE4919
Section B
Submitted to: Engr. Waseem Habib
Date 13/10/2019
Ipconfig
In computing, ipconfig (internet protocol configuration) is a console
application of some operating systems that displays all
current TCP/IP network configuration such as IP address, subnet mask
and default gateway for each adapter bounded to TCP/IP.

Ipconfig is simple and useful networking command that you can use to
display or set network information
in Microsoft Windows (2000, XP, Vista, etc.)

It’s simple to use, just launch command prompt (cmd.exe), and you can
type following commands to use it:

Commands
ipconfig - Briefly show you the configured network adapter’s information, such as IP address,
subnet mask and gateway.

ipconfig /all - Show detailed information of network adapter that includes IP address, subnet
mask, gateway, DNS, DHCP, MAC address, etc.

MAC ADDRESS
A media access control address (MAC address) of a device is a unique identifier assigned to a network
interface controller (NIC). Its size is 48 bits and is represented in hexadecimal format.

IP ADDRESS
in Internet Protocol address (IP address) is a numerical label assigned to
each device connected to a computer network that uses the Internet
Protocol for communication.
An IP address serves two principal functions: host or network interface identification and
location addressing. Its size is 32 bit for IPv4 addressing scheme and 128 bits in IPv6.
Task 01
Find your IP Address, Subnet mask and Default gateway?

TASK 02
Find out your MAC address?
My laptop’s MAC address
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 3165
Physical Address. . . . . . . . . : 60-F6-77-81-F6-64

PING COMMAND
The ping command is a Command Prompt command used to test the ability of
the source computer to reach a specified destination computer. The ping command
is usually used as a simple way to verify that a computer can communicate over the
network with another computer or network device.

The ping command operates by sending INTERNET CONTROL MESSAGE


PROTOCOL (ICMP) ECHO REQUEST messages to the destination computer
and waiting for a response. How many of those responses are returned, and how
long it takes for them to return, are the two major pieces of information that the
ping command provides

The IP address 127.0.0.1 is set by convention to always indicate your own


computer

Tracert command
The tracert command is a Command Prompt command that's used to show several
details about the path that a packet takes from the computer or device you're on to
whatever destination you specify.
Parameters of ping command
ITEM EXPLANATION

-t Using this option will ping the TARGET until you force it to stop by using Ctrl-C.

-a This ping command option will resolve, if possible, the hostname of an IP address TARGET.

-n count This option sets the number of ICMP Echo Requests to send, from 1 to 4294967295. The ping
command will send 4 by default if -n isn't used.

-i TTL This option sets the Time to Live (TTL) value, the maximum of which is 255.

Tracert Command Options


Item Description
-d This option prevents tracert from resolving IP addresses to hostnames, often
resulting in much faster results.
-h MAX This tracert option specifies the maximum number of hops in the search for
HOPS the TARGET. If you do not specify MAX HOPS, and a TARGET has not
been found by 30 hops, tracert will stop looking
.
-w TIME You can specify the time, in milliseconds, to allow each reply before timeout
OUT using this tracert option.

Task 03
Task 04

Task 05

Task 06

Task 07
Task 08 Ping default gateway

Task 09

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy