SlideShare una empresa de Scribd logo
1 de 28
The university of Faisalabad
Practical file of data communication and networks
Last Working of whole semester
Submitted by :
“Saad ur Rehman”
Submitted to :
“Mam Sana Hafeez”
Department :
“Computer science”
Reg. No:
“ BSCS-FA18-094”
LAB Manual #1
IP Config:
Displays all current TCP/IP network configuration values and
refreshes Dynamic Host Configuration Protocol (DHCP) and Domain
Name System (DNS) settings.
IP Config/all:
Displays all current TCP/IP network configuration values and
refreshes Dynamic Host Configuration Protocol (DHCP) and Domain
Name System (DNS) settings.
Ping <IP>:
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 operates by sending Internet Control
Message Protocol (ICMP) Echo Request messages to the destination
computer and waiting for a response.
Arp -a:
Using the arp command allows you to display and modify the
Address Resolution Protocol (ARP) cache. Each time a computer's
TCP/IP stack uses ARP to determine the Media Access Control
(MAC) address for an IP address, it records the mapping in the ARP
cache so that future ARP lookups go faster.
Netstat-a:
The netstat command generates displays that show network status
and protocol statistics. You can display the status of TCP and UDP
endpoints in table format, routing table information, and interface
information.
:
Net View:
To view computers on your network: Open a command
prompt.
Tracert <hostname>:
Traceroute is a network diagnostic tool used to track in real-time
the pathway taken by a packet on an IP network from source to
destination, reporting the IP addresses of all the routers it pinged in
between. Traceroute also records the time taken for each hop the
packet makes during its route to the destination.
Netstat -r:
The network statistics ( netstat ) command is a networking
tool used for troubleshooting and configuration, that can also serve
as a monitoring tool for connections over the network.
Nslookup:
nslookup (from name server lookup) is a network
administration command-line tool for querying the Domain Name
System (DNS) to obtain domain name or IP address mapping, or
other DNS records.
Nbtstat -n:
Nbtstat is a Windows command-line tool that displays NetBIOS
over TCP/IP statistics.
LAB Manual #2
IP Addressing Scheme & VLSM
Task 1: For The IP address 192.168.0.1 find the network mask,
broadcast address number of hosts, IP address of first and last
host.
The network mask:
Netmask is 255.255.255.0 = 24
Broadcast address number of hosts:
Broadcast Address is 192.168.0.255
24 number of hosts in decimal
IP address of first and last host:
Network address will be 192.168.0.0
First IP address of network will be 192.168.0.1
Last IP address 192.168.15.254
Introduction to Subnetting
Task 1: For The following IPs find the first two and last two
Subnets and give their Pc range and Broadcast address.
1. 10.0.0.0 for 1025 subnets.
2. 212.31.30.0 for 21 subnets.
3. 190.38.0.0 for 645 subnets.
1:
10.0.0.0 for 1025 subnets
2^11=2048-2=2046 (valid host)
255.0.0.0
11111111.00000000.00000000.00000000
11111111.11111111.11100000.00000000
255.255.224.0
256-224=32 (intervals)
First two bits:
10.0.0.0=>10.0.31.255
10.0.32.0=>10.0.63.255
Last two bits:
10.255.255.255=>10.255.224.0
10.255.223.255=>10.255.192.0
Broadcast address:
10.255.255.255
2:
212.31.30.0 for 21 subnets
2^5=32-2=30(valid host)
255.255.255.0
11111111.11111111.11111111.00000000
11111111.11111111.11111111.11111000
255.255.255.248
256-248=8 (intervals)
First two bits:
212.31.30.0=>212.31.30.7
212.31.30.8=>212.31.30.15
212.31.30.16=>212.31.30.23
Last two bits:
212.31.30.240=>212.31.30.247
212.31.30.248=>212.31.30.255
Broadcast address:
212.255.255.255
3:
190.38.0.0 for 645 subnets
2^10=1024-2=1022(valid host)
255.255.0.0
11111111.11111111.00000000.00000000
11111111.11111111.11111111.11000000
255.255.255.192
256-192=64(intervals)
First two bits:
190.38.0.64=>190.38.0.127
190.38.0.128=>190.38.0.191
Last two bits:
190.38.255.192=>190.38.255.255
190.38.255.128=>190.38.255.191
Broadcast address:
190.255.255.255
Task2: Implement first two subnets created in Task (1-2) in
Packet Tracer
10.0.0.0:
212.31.30.0:
190.38.0.0:
LAB Manual #3
Introduction to Networks and Networking Configuration
Given an IP address of 198.133.219.0/24, with 4 bits borrowed for
subnets, fill in the following
information in the table below.
(Hint: fill in the subnet number, then the host address. Address
information will be easy to compute with
the subnet number filled in first)
Maximum number of usable subnets: 15
Number of usable hosts per subnet: 16
IP Address: Subnet mask:
# Subnet First host
address
Last host
address
Broadcast
0 198.138.219.
0
198.138.219.
1
198.138.219.1
4
198.138.219.1
5
Task 1: Configure Cisco Router Global Configuration Settings.
Step 1: Physically connect devices.
Step 2: Connect host computer to router through
HyperTerminal.
Step 3: Configure global configuration hostname setting.
What two commands may be used to leave the privileged exec
mode? Enter or end command What shortcut command can be used
to enter the privileged exec mode? Enable
Examine the different configuration modes that can be entered with
the command configure? Write down the list of configuration modes
and description:
Modes of router –
user
execution
mode login router>
use logout
commnad
privilege
mode
use enable
command in
user mode router#
use disable
command to
enter user
mode
global
configuration
mode
use configure
terminal
command router(config)#
use exit
command to
enter into
privilege mode
Interface
mode
use interface
command and
specify an
interface in
global
configuration
mode
router(config-
if)#
use exit
command to
enter into
global
configuration
mode or use
end command
to enter into
privilege
mode.
ROMMON
mode
press
ctrl+break key
while boot
process or use
ROMMON 1>
use continue
command
reload
command in
privilege
mode.
What three commands may be used to leave the global configuration
mode and return to the privileged exec mode?
Ctrl-Z, Ctrl-C, and the "end" and "exit" commands
What shortcut command can be used to enter the global
configuration mode?
To enter global configuration mode, enter the configure command.
Global configuration From privileged EXEC mode, enter the
configure command.
How can the hostname be removed?
You can only change hostname by command with the set-
hostname argument followed by the new hostname.
Step 4: Configure the MOTD banner.
Create a suitable MOTD banner. Only system administrators of the
ABC Company are authorized access, unauthorized access will be
prosecuted, and all connection information will be logged.
 MOTD banner: When users connect to the router, the
"Message Of The Day (MOTD)" banner is presented.
 Login banner: The login banner is displayed right before the
authentication prompt.
 Exec banner: The Exec banner appears before the user sees
the exec prompt.
 Incoming banner: These banners are displayed for users who
connect through reverse telnet.
Task 2: Configure Cisco router password access.
Step 1: Configure the privileged exec password.
Step 2: Configure the console password.
What is the command to remove the console password? No
Password
Step 3: Configure the virtual line password.
Issue the command exit. What is the router prompt? What is the
mode? Router1(config-line)# exit
Task 3: Configure Cisco Router Interfaces.
Write down your subnet number and mask: 198.138.219.0
The first IP address will be used to configure the host computer
LAN. Write down the first IP Address: 198.138.219.1
The last IP address will be used to configure the router fa0/0
interface. Write down the last IP Address: 198.138.219.14
Step 1: Configure the router fa0/0 interface.
Write a short description for the connections on Router1: Fa0/0 ->
Step 2: Configure the router Fa0/1 interface.
Write a short description for the connections on Router1: Fa0/1 ->
Step 3: Configure the host computer.
IP Address: The first host address 198.168.1.1
Subnet Mask: The subnet mask 255.0.0.0
Default Gateway: Router’s IP Address 198.168.1.2
Step 4: Verify network connectivity.
Task 4: Save the Router Configuration File.
Task 5: Configure a Cisco Switch.
Step 7: Configure the interface description.
Step 8: Save RAM configuration to NVRAM.
Task 7: Challenge
Task 8: Clean Up.

Más contenido relacionado

La actualidad más candente

Chap13--Digital Modulation Techniques.ppt
Chap13--Digital Modulation Techniques.pptChap13--Digital Modulation Techniques.ppt
Chap13--Digital Modulation Techniques.pptC1962AnweshaBarua
 
Phase-locked Loops - Theory and Design
Phase-locked Loops - Theory and DesignPhase-locked Loops - Theory and Design
Phase-locked Loops - Theory and DesignSimen Li
 
Dcs lec02 - z-transform
Dcs   lec02 - z-transformDcs   lec02 - z-transform
Dcs lec02 - z-transformAmr E. Mohamed
 
Digital Signal Processing[ECEG-3171]-Ch1_L05
Digital Signal Processing[ECEG-3171]-Ch1_L05Digital Signal Processing[ECEG-3171]-Ch1_L05
Digital Signal Processing[ECEG-3171]-Ch1_L05Rediet Moges
 
Transfer Function, Concepts of stability(critical, Absolute & Relative) Poles...
Transfer Function, Concepts of stability(critical, Absolute & Relative) Poles...Transfer Function, Concepts of stability(critical, Absolute & Relative) Poles...
Transfer Function, Concepts of stability(critical, Absolute & Relative) Poles...Waqas Afzal
 
Environmental legislations in india
Environmental legislations in indiaEnvironmental legislations in india
Environmental legislations in indiaBillyGeorge8
 
Configuration of bus topology in cisco packet tracer by Tanjilur Rahman
Configuration of bus topology in cisco packet tracer by Tanjilur RahmanConfiguration of bus topology in cisco packet tracer by Tanjilur Rahman
Configuration of bus topology in cisco packet tracer by Tanjilur RahmanTanjilurRahman6
 
Tree Topology design with Cisco Packet Tracer
Tree Topology design with Cisco Packet TracerTree Topology design with Cisco Packet Tracer
Tree Topology design with Cisco Packet TracerShofiqulIslam38
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation ProtocolMatt Bynum
 
Wan configuration in packet tracer by Tanjilur Rahman
Wan configuration in packet tracer by Tanjilur RahmanWan configuration in packet tracer by Tanjilur Rahman
Wan configuration in packet tracer by Tanjilur RahmanTanjilurRahman6
 
Agilent ADS 模擬手冊 [實習2] 放大器設計
Agilent ADS 模擬手冊 [實習2]  放大器設計Agilent ADS 模擬手冊 [實習2]  放大器設計
Agilent ADS 模擬手冊 [實習2] 放大器設計Simen Li
 
L6_S18_Introduction to PLL.pptx
L6_S18_Introduction to PLL.pptxL6_S18_Introduction to PLL.pptx
L6_S18_Introduction to PLL.pptxAryanKutemate
 
Peer- to -peer connection using ciscio packet tracer
Peer- to -peer connection using ciscio packet tracerPeer- to -peer connection using ciscio packet tracer
Peer- to -peer connection using ciscio packet tracerJalalMiah5
 
Socket programming-in-python
Socket programming-in-pythonSocket programming-in-python
Socket programming-in-pythonYuvaraja Ravi
 
Ch7 noise variation of different modulation scheme pg 63
Ch7 noise variation of different modulation scheme pg 63Ch7 noise variation of different modulation scheme pg 63
Ch7 noise variation of different modulation scheme pg 63Prateek Omer
 
Development of Vietnam' e-Government towards Digital Government
Development of Vietnam' e-Government towards Digital GovernmentDevelopment of Vietnam' e-Government towards Digital Government
Development of Vietnam' e-Government towards Digital Governmentanh vu tuan
 
QUANTIZATION ERROR AND NOISE
QUANTIZATION ERROR AND NOISEQUANTIZATION ERROR AND NOISE
QUANTIZATION ERROR AND NOISEVIT VELLORE
 
IoT Based Water Management and Supervision System
IoT Based Water Management and Supervision SystemIoT Based Water Management and Supervision System
IoT Based Water Management and Supervision SystemKaushik Gupta
 

La actualidad más candente (20)

Chap13--Digital Modulation Techniques.ppt
Chap13--Digital Modulation Techniques.pptChap13--Digital Modulation Techniques.ppt
Chap13--Digital Modulation Techniques.ppt
 
Phase-locked Loops - Theory and Design
Phase-locked Loops - Theory and DesignPhase-locked Loops - Theory and Design
Phase-locked Loops - Theory and Design
 
Dcs lec02 - z-transform
Dcs   lec02 - z-transformDcs   lec02 - z-transform
Dcs lec02 - z-transform
 
Digital Signal Processing[ECEG-3171]-Ch1_L05
Digital Signal Processing[ECEG-3171]-Ch1_L05Digital Signal Processing[ECEG-3171]-Ch1_L05
Digital Signal Processing[ECEG-3171]-Ch1_L05
 
Transfer Function, Concepts of stability(critical, Absolute & Relative) Poles...
Transfer Function, Concepts of stability(critical, Absolute & Relative) Poles...Transfer Function, Concepts of stability(critical, Absolute & Relative) Poles...
Transfer Function, Concepts of stability(critical, Absolute & Relative) Poles...
 
Environmental legislations in india
Environmental legislations in indiaEnvironmental legislations in india
Environmental legislations in india
 
Socket programming
Socket programming Socket programming
Socket programming
 
Configuration of bus topology in cisco packet tracer by Tanjilur Rahman
Configuration of bus topology in cisco packet tracer by Tanjilur RahmanConfiguration of bus topology in cisco packet tracer by Tanjilur Rahman
Configuration of bus topology in cisco packet tracer by Tanjilur Rahman
 
Tree Topology design with Cisco Packet Tracer
Tree Topology design with Cisco Packet TracerTree Topology design with Cisco Packet Tracer
Tree Topology design with Cisco Packet Tracer
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation Protocol
 
Wan configuration in packet tracer by Tanjilur Rahman
Wan configuration in packet tracer by Tanjilur RahmanWan configuration in packet tracer by Tanjilur Rahman
Wan configuration in packet tracer by Tanjilur Rahman
 
Agilent ADS 模擬手冊 [實習2] 放大器設計
Agilent ADS 模擬手冊 [實習2]  放大器設計Agilent ADS 模擬手冊 [實習2]  放大器設計
Agilent ADS 模擬手冊 [實習2] 放大器設計
 
Socket programming
Socket programmingSocket programming
Socket programming
 
L6_S18_Introduction to PLL.pptx
L6_S18_Introduction to PLL.pptxL6_S18_Introduction to PLL.pptx
L6_S18_Introduction to PLL.pptx
 
Peer- to -peer connection using ciscio packet tracer
Peer- to -peer connection using ciscio packet tracerPeer- to -peer connection using ciscio packet tracer
Peer- to -peer connection using ciscio packet tracer
 
Socket programming-in-python
Socket programming-in-pythonSocket programming-in-python
Socket programming-in-python
 
Ch7 noise variation of different modulation scheme pg 63
Ch7 noise variation of different modulation scheme pg 63Ch7 noise variation of different modulation scheme pg 63
Ch7 noise variation of different modulation scheme pg 63
 
Development of Vietnam' e-Government towards Digital Government
Development of Vietnam' e-Government towards Digital GovernmentDevelopment of Vietnam' e-Government towards Digital Government
Development of Vietnam' e-Government towards Digital Government
 
QUANTIZATION ERROR AND NOISE
QUANTIZATION ERROR AND NOISEQUANTIZATION ERROR AND NOISE
QUANTIZATION ERROR AND NOISE
 
IoT Based Water Management and Supervision System
IoT Based Water Management and Supervision SystemIoT Based Water Management and Supervision System
IoT Based Water Management and Supervision System
 

Similar a Saad baig practical file

Bt0076, tcp ip
Bt0076, tcp ipBt0076, tcp ip
Bt0076, tcp ipsmumbahelp
 
Bt0076, tcp ip
Bt0076, tcp ipBt0076, tcp ip
Bt0076, tcp ipsmumbahelp
 
Loopback address
Loopback addressLoopback address
Loopback addressCEC Landran
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slidesadam_merritt
 
119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tutnicolelemmimg
 
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKINGCSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKINGMarvin Bronoso
 
Command.pptx presentation
Command.pptx presentationCommand.pptx presentation
Command.pptx presentationAkshay193557
 
Telnet configuration
Telnet configurationTelnet configuration
Telnet configurationMdAlAmin187
 
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPKonfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPWalid Umar
 
acn-practical_manual-19-20-1 final.pdf
acn-practical_manual-19-20-1 final.pdfacn-practical_manual-19-20-1 final.pdf
acn-practical_manual-19-20-1 final.pdfQual4
 
Ccna cheat sheet
Ccna cheat sheetCcna cheat sheet
Ccna cheat sheetaromal4frnz
 
CCNA 1 v6.0 Final Exam Answers Option B 2018
CCNA 1 v6.0 Final Exam Answers Option B  2018CCNA 1 v6.0 Final Exam Answers Option B  2018
CCNA 1 v6.0 Final Exam Answers Option B 2018Download Mipdfcom
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersĐồng Quốc Vương
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersĐồng Quốc Vương
 

Similar a Saad baig practical file (20)

111
111111
111
 
111
111111
111
 
Bt0076, tcp ip
Bt0076, tcp ipBt0076, tcp ip
Bt0076, tcp ip
 
Bt0076, tcp ip
Bt0076, tcp ipBt0076, tcp ip
Bt0076, tcp ip
 
Loopback address
Loopback addressLoopback address
Loopback address
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slides
 
Networking
NetworkingNetworking
Networking
 
119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut
 
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKINGCSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
 
Command.pptx presentation
Command.pptx presentationCommand.pptx presentation
Command.pptx presentation
 
Telnet configuration
Telnet configurationTelnet configuration
Telnet configuration
 
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPKonfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
 
lab1
lab1lab1
lab1
 
acn-practical_manual-19-20-1 final.pdf
acn-practical_manual-19-20-1 final.pdfacn-practical_manual-19-20-1 final.pdf
acn-practical_manual-19-20-1 final.pdf
 
Linux router
Linux routerLinux router
Linux router
 
Ccna cheat sheet
Ccna cheat sheetCcna cheat sheet
Ccna cheat sheet
 
Cisco CCENT Cram Notes
Cisco CCENT Cram NotesCisco CCENT Cram Notes
Cisco CCENT Cram Notes
 
CCNA 1 v6.0 Final Exam Answers Option B 2018
CCNA 1 v6.0 Final Exam Answers Option B  2018CCNA 1 v6.0 Final Exam Answers Option B  2018
CCNA 1 v6.0 Final Exam Answers Option B 2018
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answers
 

Último

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 

Último (20)

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 

Saad baig practical file

  • 1. The university of Faisalabad Practical file of data communication and networks Last Working of whole semester Submitted by : “Saad ur Rehman” Submitted to : “Mam Sana Hafeez” Department : “Computer science” Reg. No: “ BSCS-FA18-094”
  • 2. LAB Manual #1 IP Config: Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings. IP Config/all: Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.
  • 3. Ping <IP>: 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 operates by sending Internet Control Message Protocol (ICMP) Echo Request messages to the destination computer and waiting for a response.
  • 4. Arp -a: Using the arp command allows you to display and modify the Address Resolution Protocol (ARP) cache. Each time a computer's TCP/IP stack uses ARP to determine the Media Access Control (MAC) address for an IP address, it records the mapping in the ARP cache so that future ARP lookups go faster. Netstat-a: The netstat command generates displays that show network status and protocol statistics. You can display the status of TCP and UDP endpoints in table format, routing table information, and interface information.
  • 5.
  • 6. :
  • 7. Net View: To view computers on your network: Open a command prompt. Tracert <hostname>: Traceroute is a network diagnostic tool used to track in real-time the pathway taken by a packet on an IP network from source to destination, reporting the IP addresses of all the routers it pinged in between. Traceroute also records the time taken for each hop the packet makes during its route to the destination.
  • 8. Netstat -r: The network statistics ( netstat ) command is a networking tool used for troubleshooting and configuration, that can also serve as a monitoring tool for connections over the network. Nslookup:
  • 9. nslookup (from name server lookup) is a network administration command-line tool for querying the Domain Name System (DNS) to obtain domain name or IP address mapping, or other DNS records. Nbtstat -n: Nbtstat is a Windows command-line tool that displays NetBIOS over TCP/IP statistics. LAB Manual #2 IP Addressing Scheme & VLSM Task 1: For The IP address 192.168.0.1 find the network mask, broadcast address number of hosts, IP address of first and last host. The network mask:
  • 10. Netmask is 255.255.255.0 = 24 Broadcast address number of hosts: Broadcast Address is 192.168.0.255 24 number of hosts in decimal IP address of first and last host: Network address will be 192.168.0.0 First IP address of network will be 192.168.0.1 Last IP address 192.168.15.254 Introduction to Subnetting Task 1: For The following IPs find the first two and last two Subnets and give their Pc range and Broadcast address. 1. 10.0.0.0 for 1025 subnets. 2. 212.31.30.0 for 21 subnets. 3. 190.38.0.0 for 645 subnets. 1: 10.0.0.0 for 1025 subnets 2^11=2048-2=2046 (valid host) 255.0.0.0 11111111.00000000.00000000.00000000 11111111.11111111.11100000.00000000 255.255.224.0 256-224=32 (intervals)
  • 11. First two bits: 10.0.0.0=>10.0.31.255 10.0.32.0=>10.0.63.255 Last two bits: 10.255.255.255=>10.255.224.0 10.255.223.255=>10.255.192.0 Broadcast address: 10.255.255.255 2: 212.31.30.0 for 21 subnets 2^5=32-2=30(valid host) 255.255.255.0 11111111.11111111.11111111.00000000 11111111.11111111.11111111.11111000 255.255.255.248 256-248=8 (intervals) First two bits: 212.31.30.0=>212.31.30.7 212.31.30.8=>212.31.30.15 212.31.30.16=>212.31.30.23 Last two bits: 212.31.30.240=>212.31.30.247 212.31.30.248=>212.31.30.255
  • 12. Broadcast address: 212.255.255.255 3: 190.38.0.0 for 645 subnets 2^10=1024-2=1022(valid host) 255.255.0.0 11111111.11111111.00000000.00000000 11111111.11111111.11111111.11000000 255.255.255.192 256-192=64(intervals) First two bits: 190.38.0.64=>190.38.0.127 190.38.0.128=>190.38.0.191 Last two bits: 190.38.255.192=>190.38.255.255 190.38.255.128=>190.38.255.191 Broadcast address: 190.255.255.255
  • 13. Task2: Implement first two subnets created in Task (1-2) in Packet Tracer 10.0.0.0: 212.31.30.0:
  • 14. 190.38.0.0: LAB Manual #3 Introduction to Networks and Networking Configuration Given an IP address of 198.133.219.0/24, with 4 bits borrowed for subnets, fill in the following information in the table below. (Hint: fill in the subnet number, then the host address. Address information will be easy to compute with the subnet number filled in first) Maximum number of usable subnets: 15
  • 15. Number of usable hosts per subnet: 16 IP Address: Subnet mask: # Subnet First host address Last host address Broadcast 0 198.138.219. 0 198.138.219. 1 198.138.219.1 4 198.138.219.1 5 Task 1: Configure Cisco Router Global Configuration Settings. Step 1: Physically connect devices. Step 2: Connect host computer to router through HyperTerminal.
  • 16. Step 3: Configure global configuration hostname setting. What two commands may be used to leave the privileged exec mode? Enter or end command What shortcut command can be used to enter the privileged exec mode? Enable Examine the different configuration modes that can be entered with the command configure? Write down the list of configuration modes and description: Modes of router –
  • 17. user execution mode login router> use logout commnad privilege mode use enable command in user mode router# use disable command to enter user mode global configuration mode use configure terminal command router(config)# use exit command to enter into privilege mode Interface mode use interface command and specify an interface in global configuration mode router(config- if)# use exit command to enter into global configuration mode or use end command to enter into privilege mode. ROMMON mode press ctrl+break key while boot process or use ROMMON 1> use continue command
  • 18. reload command in privilege mode. What three commands may be used to leave the global configuration mode and return to the privileged exec mode?
  • 19. Ctrl-Z, Ctrl-C, and the "end" and "exit" commands What shortcut command can be used to enter the global configuration mode? To enter global configuration mode, enter the configure command. Global configuration From privileged EXEC mode, enter the configure command. How can the hostname be removed? You can only change hostname by command with the set- hostname argument followed by the new hostname. Step 4: Configure the MOTD banner. Create a suitable MOTD banner. Only system administrators of the ABC Company are authorized access, unauthorized access will be prosecuted, and all connection information will be logged.  MOTD banner: When users connect to the router, the "Message Of The Day (MOTD)" banner is presented.  Login banner: The login banner is displayed right before the authentication prompt.  Exec banner: The Exec banner appears before the user sees the exec prompt.  Incoming banner: These banners are displayed for users who connect through reverse telnet.
  • 20. Task 2: Configure Cisco router password access. Step 1: Configure the privileged exec password. Step 2: Configure the console password. What is the command to remove the console password? No Password Step 3: Configure the virtual line password. Issue the command exit. What is the router prompt? What is the mode? Router1(config-line)# exit
  • 21.
  • 22. Task 3: Configure Cisco Router Interfaces. Write down your subnet number and mask: 198.138.219.0 The first IP address will be used to configure the host computer LAN. Write down the first IP Address: 198.138.219.1 The last IP address will be used to configure the router fa0/0 interface. Write down the last IP Address: 198.138.219.14 Step 1: Configure the router fa0/0 interface. Write a short description for the connections on Router1: Fa0/0 -> Step 2: Configure the router Fa0/1 interface. Write a short description for the connections on Router1: Fa0/1 ->
  • 23. Step 3: Configure the host computer. IP Address: The first host address 198.168.1.1 Subnet Mask: The subnet mask 255.0.0.0 Default Gateway: Router’s IP Address 198.168.1.2
  • 24. Step 4: Verify network connectivity. Task 4: Save the Router Configuration File.
  • 25. Task 5: Configure a Cisco Switch.
  • 26. Step 7: Configure the interface description.
  • 27. Step 8: Save RAM configuration to NVRAM. Task 7: Challenge