SlideShare a Scribd company logo
1 of 32
Router Configuration in 
Packet Tracer 
1 
router configuration 12/14/2014
Packet Tracer 
• Packet Tracer is a program used to illustrate at a 
basic level how networks work 
• At startup, you are in the Logical Workspace in 
Realtime Mode 
• You can build your network and see it run in real 
time in this configuration 
router configuration 12/14/2014 
2
router configuration 12/14/2014 
3
Organization of Packet Tracer 
• Packet Tracer has two different views 
• Logical Workspace 
• Physical Workspace 
router configuration 12/14/2014 
4
Router 
•Router is a device which makes connection possible 
between two or more different networks present at same 
or different geographical locations. 
•It works on 3rd layer of OSI Model(i.e on network layer) 
•It does two basic things:. 
1. Select the best path from the routing table. 
2. Forward the packet on that path. 
router configuration 12/14/2014 
5
Router pictures 
router configuration 12/14/2014 
6
Vendors of Router 
Many companies are manufacturing routers 
• Cisco 
• Nortel 
• Multicom 
• Juniper 
• Dlink 
• 3com 
router configuration 12/14/2014 
7
Cont… 
• Cisco is the leading manufacturer of routers and 
switches . 
• It manufactures 70% of routers and switches of the 
market. 
router configuration 12/14/2014 
8
Ports on Router 
There are three types of ports on the router. 
1. LAN ports 
2. WAN ports 
3. Administrative Ports 
router configuration 12/14/2014 
9
Modes of the Router 
• Here are different modes of the router 
• Setup Mode 
• User Mode 
• Privileged Mode 
• Global Configuration Mode 
• Interface Mode 
router configuration 12/14/2014 
10
Cont…. 
Setup Mode 
• The router enters in to the setup mode if the NVRAM is empty. 
Continue with configuration dialog[yes/no] 
Answer with ‘Yes’ or ‘No’. 
User Mode 
• Only some basic monitoring 
• Limited show commands ping, trace, 
• Router> 
router configuration 12/14/2014 
11
Cont… 
Privileged Mode 
• Monitoring and some troubleshooting. 
• All show commands, ping trace, copy and erase 
• Router# 
Global Configuration Mode 
• To make any change that affect the router like 
hostname, routing configuration. 
• Router(config)# 
router configuration 12/14/2014 
12
Cont… 
• Global Configuration Mode 
• Configurations done on the specific interface. 
• Router(config-if)# 
• Rommon Mode 
• Reverting Password 
router configuration 12/14/2014 
13
Basic Commands 
• Setup Mode 
• Continue with configuration dialog?[Yes/No] 
• Answer ‘Yes’ or ‘No’. 
• User Mode 
• Router> 
• Router>enable 
router configuration 12/14/2014 
14
Privileged Mode 
• Router#Show running-config 
• Router#Show start-config 
• Router#Show flash 
• Router#Show version 
• Router#Show ip interface brief 
router configuration 12/14/2014 
15
Global Configuration Mode 
• Router#Configure Terminal 
• Router(config)#Hostname R-1 
• R-1(config)#Show IP route 
• R-1(config)enable password<password> 
• R-1(config)enable secret <password> 
router configuration 12/14/2014 
16
Interface Mode 
• Router(config)# interface FastEthernet0/0 
• Router(config-if)#ip address <ip address> <Subnet 
Mask> 
• Rouetr(config)#interface Serial 0/0 
• Router(config-if)ip address <ip address> <Subnet 
Mask> 
router configuration 12/14/2014 
17
Routing 
• Forwarding the packets from one network to the 
other network choosing the best path from the 
routing table. 
• Routing makes possible for two or more networks 
to communicate with each other 
• Routing table only consist of only the best routes 
for each destination 
router configuration 12/14/2014 
18
Types of routing 
1. Static routing 
2. Dynamic routing 
router configuration 12/14/2014 
19
Static Routing 
• It is configured manually by the administrator. 
• Mandatory need for the destination network ID 
• Used for small organizations 
• In static routing the administrator decide the best path 
• Administrator should know that what is the destination 
ID and how many routes to reach that destination 
router configuration 12/14/2014 
20
Advantages 
• There is no overhead on the router CPU. 
• There is no bandwidth usage between the routers 
• It adds security because the administrator can choose to 
allow routing access to the certain networks only 
router configuration 12/14/2014 
21
Disadvantages 
• Used for small network(its not feasible in large 
networks) 
• Each and every network have to manually configured. 
• Any change in the network has to be update in all 
routers. 
router configuration 12/14/2014 
22
Configuring the Static Routing 
• Router(config)#ip route <Destination Network ID> 
• <Destination Subnet Mask> 
• <Next Hop IP address>. 
router configuration 12/14/2014 
23
Example: 
router configuration 12/14/2014 
24
Code of example: 
• For PC1: 
• IP address 10.0.0.2 Subnet mask 255.0.0.0 Default Gateway 
10.0.0.1 
• For PC2 : 
• 
• IP address 30.0.0.2 Subnet mask 255.0.0.0 Default Gateway 
30.0.0.1 
router configuration 12/14/2014 
25
Cli code: 
Continue with configuration dialog? [yes/no]: no 
Press RETURN to get started! 
Router> 
Set Hostname to R1 and assign 10.0.0.1 255.0.0.0 ip address to fast Ethernet 0/0. 
also set a message “ Unauthorized access is prohibited”. 
Router>enable 
Router#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z. 
Router(config)#hostname R1 
R1(config)#banner motd # Unauthorized access is prohibited # 
R1(config)#interface fastethernet 0/0 
R1(config-if)#ip address 10.0.0.1 255.0.0.0 
R1(config-if)#no shutdown 
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up 
R1(config-if)#exit 
R1(config)# 
router configuration 12/14/2014 
26
configure serial port 
When Serial connections are configured they need one more command that normal 
Ethernet connections do not. That command is theclock rate command. 
Establish a simple serial to serial connection between R1 Serial 0/0/0 and R2 Serial 
0/0/0. 
Now configure serial port on both router with ip address 20.0.0.1 255.0.0.0 on one and 
20.0.0.2 255.0.0.0 on two. 
On R1: 
R1(config)#interface serial 0/0/0 
R1(config-if)#ip address 20.0.0.1 255.0.0.0 
R1(config-if)#clock rate 64000 
R1(config-if)#bandwidth 64 
R1(config-if)#no shutdown 
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up 
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up 
R1(config-if)#exit 
R1(config)# 
router configuration 12/14/2014 
27
First tell R1 about to network of 30.0.0.0 
R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2 
R1(config)# 
In this command 30.0.0.0 is the destination network and 255.0.0.0 is the 
subnetmask on destination network and 20.0.0.2 is the ip address of next 
hope 
router configuration 12/14/2014 
28
Configure Router-2 :hostname R2 and 30.0.0.1 255.0.0.0 ip address on 
fast Ethernet 0/0. 
Router>enable 
Router# configure terminal 
Enter configuration commands, one per line. End with CNTL/Z. 
Router(config)#hostname R2 
R2(config)#interface fastEthernet 0/0 
R2(config-if)#ip address 30.0.0.1 255.0.0.0 
R2(config-if)#no shutdown 
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up 
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, 
changed state to up 
R2(config-if)#exit 
R2(config)# 
router configuration 12/14/2014 
29
Configure serial port 
On R2 
R2(config)#interface serial 0/0 
R2(config-if)#ip address 20.0.0.2 255.0.0.0 
R2(config-if)#no shutdown 
R2(config-if)#exit 
Say this way "To get to the destination network of 30.0.0.0, with a subnet 
mask of 255.0.0.0, send all packets to 20.0.0.2" 
Now tell R2 about to network of 10.0.0.0 
R2(config)#ip route 10.0.0.0 255.0.0.0 20.0.0.1 
R2(config)# 
router configuration 12/14/2014 
30
router configuration 12/14/2014 
31
router configuration 12/14/2014 
32

More Related Content

What's hot

Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
IT Tech
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
asimnawaz54
 

What's hot (20)

NAT Ccna
NAT CcnaNAT Ccna
NAT Ccna
 
CCNA Lab Guide
CCNA Lab GuideCCNA Lab Guide
CCNA Lab Guide
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGP
 
Eigrp.ppt
Eigrp.pptEigrp.ppt
Eigrp.ppt
 
Modes of router
Modes of routerModes of router
Modes of router
 
CCNA IP Addressing
CCNA IP AddressingCCNA IP Addressing
CCNA IP Addressing
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2
 
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccna
 
Routing Information Protocol (RIP)
Routing Information Protocol (RIP)Routing Information Protocol (RIP)
Routing Information Protocol (RIP)
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 
CCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTCCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPT
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
 
RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 

Viewers also liked (7)

Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2
 
Packet Tracer Tutorial # 1
Packet Tracer Tutorial # 1Packet Tracer Tutorial # 1
Packet Tracer Tutorial # 1
 
Step by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerStep by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet Tracer
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer)
 
Packet tracer practical guide
Packet tracer practical guidePacket tracer practical guide
Packet tracer practical guide
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guide
 

Similar to Router configuration in packet tracer

Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
97148881557
 
Uccn1003 -may10_-_lect04a_-_intro_to_routing_rules
Uccn1003  -may10_-_lect04a_-_intro_to_routing_rulesUccn1003  -may10_-_lect04a_-_intro_to_routing_rules
Uccn1003 -may10_-_lect04a_-_intro_to_routing_rules
Shu Shin
 
CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glance
Vikas Raut
 
Ccna2 mod3-configuring a-router
Ccna2 mod3-configuring a-routerCcna2 mod3-configuring a-router
Ccna2 mod3-configuring a-router
97148881557
 
Ccna 2 chapter 1 v4.0 answers 2011
Ccna 2 chapter 1 v4.0 answers 2011Ccna 2 chapter 1 v4.0 answers 2011
Ccna 2 chapter 1 v4.0 answers 2011
Dân Chơi
 

Similar to Router configuration in packet tracer (20)

Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
CCNA part 5 routing
CCNA part 5 routingCCNA part 5 routing
CCNA part 5 routing
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
presentation-140514125659-phpapp01.pdf
presentation-140514125659-phpapp01.pdfpresentation-140514125659-phpapp01.pdf
presentation-140514125659-phpapp01.pdf
 
Presentation CCNA
Presentation CCNAPresentation CCNA
Presentation CCNA
 
Ccna command
Ccna commandCcna command
Ccna command
 
Ducat
DucatDucat
Ducat
 
chapter 1 &2 RIPv1&2.ppt
chapter 1 &2 RIPv1&2.pptchapter 1 &2 RIPv1&2.ppt
chapter 1 &2 RIPv1&2.ppt
 
Uccn1003 -may10_-_lect04a_-_intro_to_routing_rules
Uccn1003  -may10_-_lect04a_-_intro_to_routing_rulesUccn1003  -may10_-_lect04a_-_intro_to_routing_rules
Uccn1003 -may10_-_lect04a_-_intro_to_routing_rules
 
Router and routing
Router  and routingRouter  and routing
Router and routing
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)
 
Ccna 4 Final 4 Version 4.0 Answers
Ccna 4 Final 4 Version 4.0 AnswersCcna 4 Final 4 Version 4.0 Answers
Ccna 4 Final 4 Version 4.0 Answers
 
CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glance
 
Labmannual
LabmannualLabmannual
Labmannual
 
Ccna2 mod3-configuring a-router
Ccna2 mod3-configuring a-routerCcna2 mod3-configuring a-router
Ccna2 mod3-configuring a-router
 
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksRIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme Networks
 
ccna project on topic company infrastructure
ccna project on topic company infrastructureccna project on topic company infrastructure
ccna project on topic company infrastructure
 
Ccnav5.org ccna 3-v50_final_exam_2014
Ccnav5.org ccna 3-v50_final_exam_2014Ccnav5.org ccna 3-v50_final_exam_2014
Ccnav5.org ccna 3-v50_final_exam_2014
 
Ccna 2 chapter 1 v4.0 answers 2011
Ccna 2 chapter 1 v4.0 answers 2011Ccna 2 chapter 1 v4.0 answers 2011
Ccna 2 chapter 1 v4.0 answers 2011
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4
 

Recently uploaded

一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
ydyuyu
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
galaxypingy
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Monica Sydney
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 

Recently uploaded (20)

一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
Power point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria IuzzolinoPower point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria Iuzzolino
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 

Router configuration in packet tracer

  • 1. Router Configuration in Packet Tracer 1 router configuration 12/14/2014
  • 2. Packet Tracer • Packet Tracer is a program used to illustrate at a basic level how networks work • At startup, you are in the Logical Workspace in Realtime Mode • You can build your network and see it run in real time in this configuration router configuration 12/14/2014 2
  • 4. Organization of Packet Tracer • Packet Tracer has two different views • Logical Workspace • Physical Workspace router configuration 12/14/2014 4
  • 5. Router •Router is a device which makes connection possible between two or more different networks present at same or different geographical locations. •It works on 3rd layer of OSI Model(i.e on network layer) •It does two basic things:. 1. Select the best path from the routing table. 2. Forward the packet on that path. router configuration 12/14/2014 5
  • 6. Router pictures router configuration 12/14/2014 6
  • 7. Vendors of Router Many companies are manufacturing routers • Cisco • Nortel • Multicom • Juniper • Dlink • 3com router configuration 12/14/2014 7
  • 8. Cont… • Cisco is the leading manufacturer of routers and switches . • It manufactures 70% of routers and switches of the market. router configuration 12/14/2014 8
  • 9. Ports on Router There are three types of ports on the router. 1. LAN ports 2. WAN ports 3. Administrative Ports router configuration 12/14/2014 9
  • 10. Modes of the Router • Here are different modes of the router • Setup Mode • User Mode • Privileged Mode • Global Configuration Mode • Interface Mode router configuration 12/14/2014 10
  • 11. Cont…. Setup Mode • The router enters in to the setup mode if the NVRAM is empty. Continue with configuration dialog[yes/no] Answer with ‘Yes’ or ‘No’. User Mode • Only some basic monitoring • Limited show commands ping, trace, • Router> router configuration 12/14/2014 11
  • 12. Cont… Privileged Mode • Monitoring and some troubleshooting. • All show commands, ping trace, copy and erase • Router# Global Configuration Mode • To make any change that affect the router like hostname, routing configuration. • Router(config)# router configuration 12/14/2014 12
  • 13. Cont… • Global Configuration Mode • Configurations done on the specific interface. • Router(config-if)# • Rommon Mode • Reverting Password router configuration 12/14/2014 13
  • 14. Basic Commands • Setup Mode • Continue with configuration dialog?[Yes/No] • Answer ‘Yes’ or ‘No’. • User Mode • Router> • Router>enable router configuration 12/14/2014 14
  • 15. Privileged Mode • Router#Show running-config • Router#Show start-config • Router#Show flash • Router#Show version • Router#Show ip interface brief router configuration 12/14/2014 15
  • 16. Global Configuration Mode • Router#Configure Terminal • Router(config)#Hostname R-1 • R-1(config)#Show IP route • R-1(config)enable password<password> • R-1(config)enable secret <password> router configuration 12/14/2014 16
  • 17. Interface Mode • Router(config)# interface FastEthernet0/0 • Router(config-if)#ip address <ip address> <Subnet Mask> • Rouetr(config)#interface Serial 0/0 • Router(config-if)ip address <ip address> <Subnet Mask> router configuration 12/14/2014 17
  • 18. Routing • Forwarding the packets from one network to the other network choosing the best path from the routing table. • Routing makes possible for two or more networks to communicate with each other • Routing table only consist of only the best routes for each destination router configuration 12/14/2014 18
  • 19. Types of routing 1. Static routing 2. Dynamic routing router configuration 12/14/2014 19
  • 20. Static Routing • It is configured manually by the administrator. • Mandatory need for the destination network ID • Used for small organizations • In static routing the administrator decide the best path • Administrator should know that what is the destination ID and how many routes to reach that destination router configuration 12/14/2014 20
  • 21. Advantages • There is no overhead on the router CPU. • There is no bandwidth usage between the routers • It adds security because the administrator can choose to allow routing access to the certain networks only router configuration 12/14/2014 21
  • 22. Disadvantages • Used for small network(its not feasible in large networks) • Each and every network have to manually configured. • Any change in the network has to be update in all routers. router configuration 12/14/2014 22
  • 23. Configuring the Static Routing • Router(config)#ip route <Destination Network ID> • <Destination Subnet Mask> • <Next Hop IP address>. router configuration 12/14/2014 23
  • 25. Code of example: • For PC1: • IP address 10.0.0.2 Subnet mask 255.0.0.0 Default Gateway 10.0.0.1 • For PC2 : • • IP address 30.0.0.2 Subnet mask 255.0.0.0 Default Gateway 30.0.0.1 router configuration 12/14/2014 25
  • 26. Cli code: Continue with configuration dialog? [yes/no]: no Press RETURN to get started! Router> Set Hostname to R1 and assign 10.0.0.1 255.0.0.0 ip address to fast Ethernet 0/0. also set a message “ Unauthorized access is prohibited”. Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#banner motd # Unauthorized access is prohibited # R1(config)#interface fastethernet 0/0 R1(config-if)#ip address 10.0.0.1 255.0.0.0 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up R1(config-if)#exit R1(config)# router configuration 12/14/2014 26
  • 27. configure serial port When Serial connections are configured they need one more command that normal Ethernet connections do not. That command is theclock rate command. Establish a simple serial to serial connection between R1 Serial 0/0/0 and R2 Serial 0/0/0. Now configure serial port on both router with ip address 20.0.0.1 255.0.0.0 on one and 20.0.0.2 255.0.0.0 on two. On R1: R1(config)#interface serial 0/0/0 R1(config-if)#ip address 20.0.0.1 255.0.0.0 R1(config-if)#clock rate 64000 R1(config-if)#bandwidth 64 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up R1(config-if)#exit R1(config)# router configuration 12/14/2014 27
  • 28. First tell R1 about to network of 30.0.0.0 R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2 R1(config)# In this command 30.0.0.0 is the destination network and 255.0.0.0 is the subnetmask on destination network and 20.0.0.2 is the ip address of next hope router configuration 12/14/2014 28
  • 29. Configure Router-2 :hostname R2 and 30.0.0.1 255.0.0.0 ip address on fast Ethernet 0/0. Router>enable Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2 R2(config)#interface fastEthernet 0/0 R2(config-if)#ip address 30.0.0.1 255.0.0.0 R2(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R2(config-if)#exit R2(config)# router configuration 12/14/2014 29
  • 30. Configure serial port On R2 R2(config)#interface serial 0/0 R2(config-if)#ip address 20.0.0.2 255.0.0.0 R2(config-if)#no shutdown R2(config-if)#exit Say this way "To get to the destination network of 30.0.0.0, with a subnet mask of 255.0.0.0, send all packets to 20.0.0.2" Now tell R2 about to network of 10.0.0.0 R2(config)#ip route 10.0.0.0 255.0.0.0 20.0.0.1 R2(config)# router configuration 12/14/2014 30