University of Engineering and Technology Peshawar: Computer Networks
University of Engineering and Technology Peshawar: Computer Networks
University of Engineering and Technology Peshawar: Computer Networks
COMPUTER NETWORKS
LAB 01
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.
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.
Task 03
Task 04
Task 05
Task 06
Task 07
Task 08 Ping default gateway
Task 09
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: