Início
Conheça mais
Enviar pesquisa
Carregar
Entrar
Cadastre-se
Anúncio
CCNA RS_NB - Chapter 6
Denunciar
Irsandi Hasan
Seguir
IT Network Administrator em Freelancer
24 de Sep de 2014
•
0 gostou
4 gostaram
×
Seja o primeiro a gostar disto
mostrar mais
•
1,577 visualizações
visualizações
×
Vistos totais
0
No Slideshare
0
De incorporações
0
Número de incorporações
0
Check these out next
CCNA RS_ITN - Chapter 7
Irsandi Hasan
CCNA RS_ITN - Chapter 3
Irsandi Hasan
Ccna v5-S1-Chapter 7
Hamza Malik
CCNA 1 Routing and Switching v5.0 Chapter 1
Nil Menon
CCNA 2 Routing and Switching v5.0 Chapter 11
Nil Menon
CCNA 1 Routing and Switching v5.0 Chapter 6
Nil Menon
CCNA 1 Routing and Switching v5.0 Chapter 3
Nil Menon
CCNA 1 Routing and Switching v5.0 Chapter 2
Nil Menon
1
de
53
Top clipped slide
CCNA RS_NB - Chapter 6
24 de Sep de 2014
•
0 gostou
4 gostaram
×
Seja o primeiro a gostar disto
mostrar mais
•
1,577 visualizações
visualizações
×
Vistos totais
0
No Slideshare
0
De incorporações
0
Número de incorporações
0
Denunciar
Tecnologia
CCNA RS_NB - Chapter 6
Irsandi Hasan
Seguir
IT Network Administrator em Freelancer
Anúncio
Anúncio
Anúncio
Recomendados
CCNA RS_ITN - Chapter 6
Irsandi Hasan
1.9K visualizações
•
54 slides
CCNA RS_ITN - Chapter 8
Irsandi Hasan
1.4K visualizações
•
88 slides
Ccna v5-S1-Chapter 10
Hamza Malik
214 visualizações
•
44 slides
CCNAv5 - S1: Chapter 10 Application Layer
Vuz Dở Hơi
4.4K visualizações
•
50 slides
Ccna v5-S1-Chapter 6
Hamza Malik
750 visualizações
•
54 slides
Ccna v5-S1-Chapter 4
Hamza Malik
426 visualizações
•
66 slides
Mais conteúdo relacionado
Apresentações para você
(20)
CCNA RS_ITN - Chapter 7
Irsandi Hasan
•
1.2K visualizações
CCNA RS_ITN - Chapter 3
Irsandi Hasan
•
1.2K visualizações
Ccna v5-S1-Chapter 7
Hamza Malik
•
226 visualizações
CCNA 1 Routing and Switching v5.0 Chapter 1
Nil Menon
•
62K visualizações
CCNA 2 Routing and Switching v5.0 Chapter 11
Nil Menon
•
13.5K visualizações
CCNA 1 Routing and Switching v5.0 Chapter 6
Nil Menon
•
22.5K visualizações
CCNA 1 Routing and Switching v5.0 Chapter 3
Nil Menon
•
22.8K visualizações
CCNA 1 Routing and Switching v5.0 Chapter 2
Nil Menon
•
25.4K visualizações
CCNA RS_ITN - Chapter 10
Irsandi Hasan
•
990 visualizações
CCNA RS_NB - Chapter 5
Irsandi Hasan
•
1.2K visualizações
CCNA 1 Routing and Switching v5.0 Chapter 11
Nil Menon
•
11.5K visualizações
CCNAv5 - S4: Chapter8 monitoring the network
Vuz Dở Hơi
•
5.3K visualizações
CCNA RS_NB - Chapter 11
Irsandi Hasan
•
2.1K visualizações
CCNA RS_ITN - Chapter 2
Irsandi Hasan
•
1.1K visualizações
CCNA RS_ITN - Chapter 4
Irsandi Hasan
•
2.4K visualizações
CCNA 1 Routing and Switching v5.0 Chapter 8
Nil Menon
•
18.3K visualizações
CCNAv5 - S1: Chapter 1 Exploring The Network
Vuz Dở Hơi
•
7.1K visualizações
Chapter 02 - Configuring a Network Operating System
Yaser Rahmati
•
288 visualizações
CCNAv5 - S1: Chapter 7 - Transport Layer
Vuz Dở Hơi
•
4.2K visualizações
CCNA 1 Routing and Switching v5.0 Chapter 10
Nil Menon
•
10.9K visualizações
Similar a CCNA RS_NB - Chapter 6
(20)
Itn instructor ppt_chapter6_network_layer
Universitas Teknokrat Indonesia
•
248 visualizações
57798_Lectures1415.pptx
SheerazAli55
•
2 visualizações
CCNAv5 - S1: Chapter 6 - Network Layer
Vuz Dở Hơi
•
4.9K visualizações
Chapter 6 : Network layer
teknetir
•
987 visualizações
Chapter 06 - Network Layer
Yaser Rahmati
•
736 visualizações
06 tk 1073 network layer
Setia Juli Irzal Ismail
•
1.3K visualizações
Chapter 19 : single-area ospf
teknetir
•
526 visualizações
CCNAv5 - S2: Chapter 8 single area ospf
Vuz Dở Hơi
•
5.7K visualizações
Chapter 08 - Single-Area OSPF
Yaser Rahmati
•
1.2K visualizações
Chapter 04 - Routing Concepts
Yaser Rahmati
•
545 visualizações
KPUCC-Rs instructor ppt_chapter4_final
Fisal Anwari
•
39 visualizações
CCNAv5 - S2: Chapter4 Routing Concepts
Vuz Dở Hơi
•
4.4K visualizações
Chapter 15 : routing concepts
teknetir
•
593 visualizações
CCNA 2 Routing and Switching v5.0 Chapter 8
Nil Menon
•
11K visualizações
RS_InstructorPPT_Chapter8.pptx
jagali
•
1 visão
CCNA 2 Routing and Switching v5.0 Chapter 4
Nil Menon
•
18.8K visualizações
CCNA2 Verson6 Chapter1
Chaing Ravuth
•
3.5K visualizações
Chapter 18 : routing dynamically
teknetir
•
372 visualizações
Chapter 07 - Routing Dynamically
Yaser Rahmati
•
967 visualizações
CCNAv5 - S2: Chapter 7 Routing Dynamically
Vuz Dở Hơi
•
2.9K visualizações
Anúncio
Mais de Irsandi Hasan
(20)
CCNA v6.0 ITN - Chapter 11
Irsandi Hasan
•
8.6K visualizações
CCNA v6.0 ITN - Chapter 10
Irsandi Hasan
•
4.3K visualizações
CCNA v6.0 ITN - Chapter 09
Irsandi Hasan
•
3.7K visualizações
CCNA v6.0 ITN - Chapter 08
Irsandi Hasan
•
4.4K visualizações
CCNA v6.0 ITN - Chapter 07
Irsandi Hasan
•
4.1K visualizações
CCNA v6.0 ITN - Chapter 06
Irsandi Hasan
•
4.7K visualizações
CCNA v6.0 ITN - Chapter 05
Irsandi Hasan
•
4.8K visualizações
CCNA v6.0 ITN - Chapter 04
Irsandi Hasan
•
6.6K visualizações
CCNA v6.0 ITN - Chapter 03
Irsandi Hasan
•
5.8K visualizações
CCNA v6.0 ITN - Chapter 02
Irsandi Hasan
•
6.3K visualizações
CCNA v6.0 ITN - Chapter 01
Irsandi Hasan
•
18.8K visualizações
VMware vShield - Overview
Irsandi Hasan
•
3.8K visualizações
CCNA RS_NB - Chapter 10
Irsandi Hasan
•
1.6K visualizações
CCNA RS_NB - Chapter 9
Irsandi Hasan
•
1.4K visualizações
CCNA RS_NB - Chapter 8
Irsandi Hasan
•
1.7K visualizações
CCNA RS_NB - Chapter 7
Irsandi Hasan
•
3.5K visualizações
CCNA RS_NB - Chapter 4
Irsandi Hasan
•
1.3K visualizações
CCNA RS_NB - Chapter 3
Irsandi Hasan
•
2K visualizações
CCNA RS_NB - Chapter 2
Irsandi Hasan
•
1.5K visualizações
CCNA RS_NB - Chapter 1
Irsandi Hasan
•
2.1K visualizações
Último
(20)
different-os.pptx
leilibarekatin
•
0 visão
拉筹伯大学毕业证办理|La Trobe文凭购买
eunha17
•
0 visão
Innovation to startup.pptx
ravikumark42
•
0 visão
PLG Assignment 1_Sourabh Pal.pptx
SourabhPAL42
•
0 visão
Biological Neural Network.pptx
Abdul Rehman
•
0 visão
DIMT 2023 SG - Hands-on Workshop_ Getting started with Confluent Cloud.pdf
confluent
•
4 visualizações
plantilla-cv-animado (2).pptx
LeidyMungua
•
3 visualizações
NahamConEU2022.pdf
seed4mexyz
•
1 visão
Good Regulatory Practices.pptx
Sudipta Roy
•
0 visão
Blockchain Technology
Aryan Chaudhary
•
0 visão
M. L. Boas-Mathematical Methods in the Physical Sciences - John Wiley.pdf
ngurahayuketutumiati1
•
2 visualizações
Why should your startup outsource software development.pdf
MaryLogan11
•
0 visão
d9f0992b5cb6478fa0dfff092cccc2d2.pdf
ThnhNguynVn97
•
0 visão
Storybook, the best friend we all need
AnnaSala22
•
0 visão
Angiography Imaging Systems.pdf
RushiDalve
•
0 visão
Medical Termination of Pregnancy Act.pptx
Sudipta Roy
•
0 visão
ServeDocs - User Guide.pdf
VivekPatil607881
•
0 visão
PLG Assignment Week 2_Sourabh_Pal.pptx
SourabhPAL42
•
0 visão
smart packaging technology.pdf
Ennoventure
•
0 visão
Photoshop Tools.pptx
yelnatz
•
2 visualizações
Anúncio
CCNA RS_NB - Chapter 6
Chapter 6: Network
Layer Network Basics © 2008 Cisco Systems, Inc. All Presentation_ID rights reserved. Cisco Confidential 1
Chapter 6: Objectives
Students will be able to: Explain how network layer protocols and services support communications across data networks. Explain how routers enable end-to-end connectivity in a small to medium-sized business network. Determine the appropriate device to route traffic in a small to medium-sized business network. Configure a router with basic configurations. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 2
Chapter 6 6.1
Network Layer Protocols 6.2 Routing 6.3 Routers 6.4 Configuring a Cisco Router 6.5 Summary Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
Network Layer Network
Layer Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4
Network Layer Protocols
Network Layer in Communication Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
Network Layer in
Communication The Network Layer End to End Transport processes Addressing end devices Encapsulation Routing De-encapsulating Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6
Network Layer in
Communication Network Layer Protocols Common Network Layer Protocols Internet Protocol version 4 (IPv4) Internet Protocol version 6 (IPv6) Legacy Network Layer Protocols Novell Internetwork Packet Exchange (IPX) AppleTalk Connectionless Network Service (CLNS/DECNet) Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
Characteristics of the
IP protocol Characteristics of IP Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 8
Characteristics of the
IP protocol IP - Connectionless Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9
Characteristics of the
IP protocol IP – Best Effort Delivery Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10
Characteristics of the
IP protocol IP – Media Independent Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11
IPv4 Packet Encapsulating
IP Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 12
IPv4 Packet IPv4
Packet Header Version, Differentiated Services (DS), Time-to-Live (TTL),Protocol, Source IP Address, Destination IP Address Byte 1 Byte 2 Byte 3 Byte 4 Version IP Header Length Differentiated Services Total Length DSCP ECN Identification Flag Fragment Offset Time To Live Protocol Header Checksum Source IP Address Destination IP Address Options (optional) Padding Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 13
IPv4 Packet IPv4
Header Fields Internet Header Length (IHL), Total Length, Header Checksum, Identification, Flags, Fragment Offset Byte 1 Byte 2 Byte 3 Byte 4 Version IP Header Length Differentiated Services Total Length DSCP ECN Identification Flag Fragment Offset Time To Live Protocol Header Checksum Source IP Address Destination IP Address Options (optional) Padding Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 14
IPv4 Packet Sample
IPv4 Headers Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 15
Network Layer in
Communication Limitations of IPv4 IP Address depletion Internet routing table expansion Lack of end-to-end connectivity Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 16
Network Layer in
Communication Introducing IPv6 Increased address space Improved packet handling Eliminates the need for NAT Integrated security 4 billion IPv4 addresses 4,000,000,000 340 undecillion IPv6 addresses 340,000,000,000,000,000,000,000,000,000,000,000,000 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 17
IPv6 Packet Encapsulating
IPv6 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 18
IPv6 Packet IPv6
Packet Header Byte 1 Byte 2 Byte 3 Byte 4 Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source IP Address Destination IP Address Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 19
IPv6 Packet Sample
IPv6 Header Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 20
Routing Host Routing
Tables Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 21
Host Routing Tables
Host Packet Forwarding Decision Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 22
Host Routing Tables
IPv4 Host Routing Table Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 23
Host Routing Tables
Sample IPv4 Host Routing Table Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 24
Host Routing Tables
Sample IPv6 Host Routing Table Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 25
Router Routing Tables
Router Packet Forwarding Decision Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 26
Router Routing Tables
IPv4 Router Routing Table 192.168.10.0/24 R2 192.168.11.0/24 10.1.1.0/24 10.1.2.0/24 209.165.200.224 /30 .226 .10 .10 .1 .225 S0/0/0 G0/0 .1 R1 .1 .1 G0/1 R1#show ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks D 10.1.1.0/24 [90/2170112] via 209.165.200.226, 00:00:05, Serial0/0/0 D 10.1.2.0/24 [90/2170112] via 209.165.200.226, 00:00:05, Serial0/0/0 192.168.10.0/24 is variably subnetted, 2 subnets, 3 masks C 192.168.10.0/24 is directly connected, GigabitEthernet0/0 L 192.168.10.1/32 is directly connected, GigabitEthernet0/0 192.168.11.0/24 is variably subnetted, 2 subnets, 3 masks C 192.168.11.0/24 is directly connected, GigabitEthernet0/1 L 192.168.11.1/32 is directly connected, GigabitEthernet0/1 209.165.200.0/24 is variably subnetted, 2 subnets, 3 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R1# .10 .10 PC1 PC2 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 27
Router Routing Tables
Directly Connected Routing Table Entries 192.168.10.0/24 64.100.0.1 R2 192.168.11.0/24 10.1.1.0/24 10.1.2.0/24 209.165.200.224 /30 .226 .10 .10 .1 .1 G0/0 .1 .1 G0/1 .225 S0/0/0 R1 A B C .10 .10 C 192.168.10.0/24 is directly connected, GigabitEthernet0/0 L 192.168.10.1/32 is directly connected, GigabitEthernet0/0 A Identifies how the network was learned by the router. B Identifies the destination network and how it is connected. C Identifies the interface on the router connected to the destination network. PC1 PC2 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 28
Router Routing Tables
Remote Network Routing Table Entries 192.168.10.0/24 64.100.0.1 R2 192.168.11.0/24 10.1.1.0/24 10.1.2.0/24 209.165.200.224 /30 .226 .10 .10 .10 .10 .1 .1 G0/0 .1 .1 G0/1 .225 S0/0/0 R1 PC1 PC2 D 10.1.1.0/24 [90/2170112] via 209.165.200.226, 00:00:05, Serial0/0/0 A Identifies how the network was learned by the router. B Identifies the destination network. C Identifies the administrative distance (trustworthiness) of the route source. D Identifies the metric to reach the remote network. E Identifies the next hop IP address to reach the remote network. F Identifies the amount of elapsed time since the network was discovered. G Identifies the outgoing interface on the router to reach the destination network. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 29
Router Routing Tables
Next-Hop Address 192.168.10.0/24 64.100.0.1 R2 192.168.11.0/24 10.1.1.0/24 10.1.2.0/24 209.165.200.224 /30 .226 .10 .10 .1 .1 G0/0 .1 .1 G0/1 .225 S0/0/0 R1 R1#show ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks D 10.1.1.0/24 [90/2170112] via 209.165.200.226, 00:00:05, Serial0/0/0 D 10.1.2.0/24 [90/2170112] via 209.165.200.226, 00:00:05, Serial0/0/0 192.168.10.0/24 is variably subnetted, 2 subnets, 3 masks C 192.168.10.0/24 is directly connected, GigabitEthernet0/0 L 192.168.10.1/32 is directly connected, GigabitEthernet0/0 192.168.11.0/24 is variably subnetted, 2 subnets, 3 masks C 192.168.11.0/24 is directly connected, GigabitEthernet0/1 L 192.168.11.1/32 is directly connected, GigabitEthernet0/1 209.165.200.0/24 is variably subnetted, 2 subnets, 3 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R1# .10 .10 PC1 PC2 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 30
Routers Anatomy of
a Router Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 31
Anatomy of a
Router A Router is a Computer Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 32
Anatomy of a
Router Router CPU and OS Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 33
Anatomy of a
Router Router Memory Memory Volatile / Non-Volatile Stores RAM Volatile • Running IOS • Running configuration file • IP routing and ARP tables • Packet buffer ROM Non-Volatile • Bootup instructions • Basic diagnostic software • Limited IOS NVRAM Non-Volatile • Startup configuration file Flash Non-Volatile • IOS • Other system files Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 34
Anatomy of a
Router Inside a Router Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 35
Anatomy of a
Router Router Backplane Double-wide eHWIC slots eHWIC 0 AUX Two 4 GB flash card slots port LAN interfaces USB Ports Console RJ45 Console USB Type B Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 36
Anatomy of a
Router Connecting to a Router WAN Interface AUX port LAN interfaces Console RJ45 Console USB Type B Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 37
Anatomy of a
Router LAN and WAN Interfaces Serial interfaces LAN interfaces Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 38
Router Boot-up Cisco
IOS Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 39
Router Boot-up Bootset
Files Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 40
Router Boot-up Router
Bootup Process 1.Perform the POST bootstrap program 2.Locate and load the Cisco IOS software 3.Locate and load the startup configuration System Bootstrap, Version 15.0(1r)M15, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport <output omitted> and load the file or enter setup mode Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 41
Router Boot-up Show
Versions Output Router# show version Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.2(4)M1, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2012 by Cisco Systems, Inc. Compiled Thu 26-Jul-12 19:34 by prod_rel_team ROM: System Bootstrap, Version 15.0(1r)M15, RELEASE SOFTWARE (fc1) Router uptime is 10 hours, 9 minutes System returned to ROM by power-on System image file is "flash0:c1900-universalk9-mz.SPA.152-4.M1.bin" Last reload type: Normal Reload Last reload reason: power-on <Output omitted> Cisco CISCO1941/K9 (revision 1.0) with 446464K/77824K bytes of memory. Processor board ID FTX1636848Z 2 Gigabit Ethernet interfaces 2 Serial(sync/async) interfaces 1 terminal line DRAM configuration is 64 bits wide with parity disabled. 255K bytes of non-volatile configuration memory. 250880K bytes of ATA System CompactFlash 0 (Read/Write) <Output omitted> Technology Package License Information for Module:'c1900' ----------------------------------------------------------------- Technology Technology-package Technology-package Current Type Next reboot ------------------------------------------------------------------ ipbase ipbasek9 Permanent ipbasek9 security None None None data None None None Configuration register is 0x2142 (will be 0x2102 at next reload) Router# Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 42
Network Layer Configuring
a Cisco Router Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 43
Configure Initial Settings
Router Configuration Steps 192.168.10.0/24 192.168.11.0/24 209.165.200.224 /30 .10 .10 .225 S0/0/0 G0/0 .1 R1 .1 .1 G0/1 PC1 PC2 Router> enable Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# hostname R1 R1(config)# R2 10.1.1.0/24 10.1.2.0/24 .226 .10 .10 .1 Router> en Router# conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)# ho R1 R2(config)# OR R1(config)# enable secret class R1(config)# R1(config)# line console 0 R1(config-line)# password cisco R1(config-line)# login R1(config-line)# exit R1(config)# R1(config)# line vty 0 4 R1(config-line)# password cisco R1(config-line)# login R1(config-line)# exit R1(config)# R1(config)# service password-encryption R1(config)# R1(config)# banner motd # Enter TEXT message. End with the character '#'. *********************************************** WARNING: Unauthorized access is prohibited! *********************************************** # R1(config)# R1# copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] R1# Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 44
Configure Interfaces Configure
LAN Interfaces 192.168.10.0/24 R2 192.168.11.0/24 10.1.1.0/24 10.1.2.0/24 209.165.200.224 /30 .226 .10 .10 .10 .10 .1 .225 S0/0/0 G0/0 .1 R1 .1 .1 G0/1 PC1 PC2 R1# conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)# R1(config)# interface gigabitethernet 0/0 R1(config-if)# ip address 192.168.10.1 255.255.255.0 R1(config-if)# description Link to LAN-10 R1(config-if)# no shutdown %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up R1(config-if)# exit R1(config)# R1(config)# int g0/1 R1(config-if)# ip add 192.168.11.1 255.255.255.0 R1(config-if)# des Link to LAN-11 R1(config-if)# no shut %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up R1(config-if)# exit R1(config)# Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 45
Configure Interfaces Verify
Interface Configuration 192.168.10.0/24 R2 192.168.11.0/24 10.1.1.0/24 10.1.2.0/24 209.165.200.224 /30 .226 .10 .10 .10 .10 .1 .225 S0/0/0 G0/0 .1 R1 .1 .1 G0/1 PC1 PC2 R1# show ip interface brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 192.168.10.1 YES manual up up GigabitEthernet0/1 192.168.11.1 YES manual up up Serial0/0/0 209.165.200.225 YES manual up up Serial0/0/1 unassigned YES NVRAM administratively down down Vlan1 unassigned YES NVRAM administratively down down R1# R1# ping 209.165.200.226 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 209.165.200.226, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms R1# Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 46
Configuring a Cisco
Router Configuring the Default Gateway Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 47
Configuring the Default
Gateway Default Gateway on a Host 192.168.10.0/24 192.168.11.0/24 .1 G0/0 R1 G0/1 .1 .10 PC1 .10 PC2 .10 .10 PC3 PC4 192.168.10.0/24 192.168.11.0/24 .1 G0/0 R1 G0/1 .1 .10 PC1 .11 PC2 .10 .11 PC3 PC4 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 48
Configuring the Default
Gateway Default Gateway on a Switch 192.168.11.0/24 .1 G0/1 .1 192.168.10.0/24 G0/0 R1 .10 PC1 .11 PC2 S1#show running-config Building configuration... ! <output omitted> service password-encryption ! hostname S1 ! Interface Vlan1 ip address 192.168.10.50 ! ip default-gateway 192.168.10.1 <output omitted> S1 S2 .50 If the default gateway were not configured on S1, response packets from S1 would not be able to reach the administrator at 192.168.11.10. The administrator would not be able to mange the device remotely. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 49
Network Layer Summary
In this chapter, you learned: The network layer, or OSI Layer 3, provides services to allow end devices to exchange data across the network. The network layer uses four basic processes: IP addressing for end devices, encapsulation, routing, and de-encapsulation. The Internet is largely based on IPv4, which is still the most widely-used network layer protocol. An IPv4 packet contains the IP header and the payload. The IPv6 simplified header offers several advantages over IPv4, including better routing efficiency, simplified extension headers, and capability for per-flow processing. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 50
Network Layer Summary
In this chapter, you learned: In addition to hierarchical addressing, the network layer is also responsible for routing. Hosts require a local routing table to ensure that packets are directed to the correct destination network. The local default route is the route to the default gateway. The default gateway is the IP address of a router interface connected to the local network. When a router, such as the default gateway, receives a packet, it examines the destination IP address to determine the destination network. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 51
Network Layer Summary
In this chapter, you learned: The routing table of a router stores information about directly-connected routes and remote routes to IP networks. If the router has an entry in its routing table for the destination network, the router forwards the packet. If no routing entry exists, the router may forward the packet to its own default route, if one is configured, or it will drop the packet. Routing table entries can be configured manually on each router to provide static routing or the routers may communicate route information dynamically between each other using a routing protocol. In order for routers to be reachable, the router interface must be configured. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 52
Presentation_ID © 2008
Cisco Systems, Inc. All rights reserved. Cisco Confidential 53
Anúncio