Welcome to CAVI, the Cisco Academy for the Vision Impaired. Course Fees Linux Wiki HTML Wiki Documentation Index PmWiki FAQ |
Main /
Chapter 6 - Network Layer6.0 Network Layer6.0.1 Introduction >6.0.1.1 IntroductionUpon completion of this chapter you will be able to:
6.0.1 Introduction >6.0.1.2 Activity – The Road Less TravelledFigure shows a user at a computer connected to a cloud made up of 5 routers. The cloud is connected to a server at the other end. This figure demonstrates how routers inspect the destination IP address to direct packets along the correct path:
The Network Layer uses four basic processes:
6.1 Network Layer Protocols6.1.1 The Network Layer in Communication >6.1.1.1 The Network LayerThe animation on this page demonstrates how data generated by an application on Host A is encapsulated into different PDU's as it travels down the OSI model to be transported across the network. Then it demonstrates the de-encapsulation process when it arrives at Host B. This process is explained in the page notes. 6.1.1 The Network Layer in Communication >6.1.1.2 Network Layer ProtocolsThe figure on this page shows the OSI model with layer 3, the Network Layer highlighted. Layer 3 has a callout showing the two primary protocols of this layer:
6.1.2 Characteristics of the IP Protocol >6.1.2.1 Characteristics of IPThe figure on this page shows 2 routers connected to a cloud. Each router has a layer 3 packet above it. The layer 3 packet is made up of the layer 4 segment and the layer 3 header. The description given for this figure is "IP packets flow through the internetwork.". 6.1.2 Characteristics of the IP Protocol >6.1.2.2 IP – connectionlessFigure 1 on this page shows a standard letter being placed into a mailbox with a truck delivering the letter to a house. This demonstrates the similarities between Internet communications and the postal service. The sender doesn't know:
The receiver doesn't know:
Figure 2 on this page shows two computers connected to a network and a layer 3 packet traversing the network. The sender doesn't know:
The receiver doesn't know:
6.1.2 Characteristics of the IP Protocol >6.1.2.3 IP – Best Effort DeliveryThe figure on this page shows two computers connected to a cloud. The sender is placing three packets on the wire, however, only two packets arrive at the destination:
The description given for this figure is "As an unreliable network protocol, IP does not guarantee that all sent packets will be received. Other protocols manage the process of tracking packets and ensuring their delivery.". 6.1.2 Characteristics of the IP Protocol >6.1.2.4 IP – Media IndependentThe figure on this page shows a network with different media at each hop:
An IP packet has no trouble with this because IP is media independent. The description given for this figure is "IP packets can travel over different media.". 6.1.2 Characteristics of the IP Protocol >6.1.2.5 Encapsulating IPFigure 1 on this page shows a Transport layer PDU, the segment, as the segment header and the data from the upper layers. The description given for this figure is, "The Transport layer adds a header so segments can be reassembled at the destination.". Figure 2 on this page shows how layer 3, the Network layer, encapsulates the transport layer PDU into a packet and adds the IP Header. The description given for this figure is, "The Network Layer adds a header so packets can be routed through complex networks and reach their destination. In TCP/IP based networks, the network layer PDU is the IP packet.". 6.1.2 Characteristics of the IP Protocol >6.1.2.6 Activity – IP CharacteristicsThe interactive activity on this page allows the learner to match several IP characteristics with the correct delivery method: Connectionless, Best Effort Delivery and Media Independent. The delivery methods are:
The characteristics are:
6.1.3 IPv4 Packet >6.1.3.1 IPv4 Packet HeaderThe figure on this page shows a sample IP Header with several fields Highlighted:
The highlighted fields as described in the page notes are:
6.1.3 IPv4 Packet >6.1.3.2 IPv4 Header FieldsThe figure on this page shows the same sample IP header as the previous page with several other fields highlighted. These fields are used for validation and reordering the packets at the destination. The highlighted fields as described in the page notes are:
6.1.3 IPv4 Packet >6.1.3.3 Sample IPv4 HeadersFigure 1 on this page displays the contents of packet number 2 in a sample Wireshark capture. Figure 2 on this page displays the contents of packet number 8 in a sample Wireshark capture. This is an HTTP packet. Figure 3 on this page displays the contents of packet number 16 in a sample Wireshark capture. The sample packet is a ping request from host 192.168.1.109 to host 192.168.1.1. All three figures are described in the page notes. 6.1.3 IPv4 Packet >6.1.3.4 Activity - IPv4 Header FieldsFigure 1 on this page is an interactive activity that allows the learner to match several IPv4 Header Functions with the correct IPv4 Header Field. The IPv4 Header Fields are:
The IPv4 Header Functions are:
Figure 2 on this page is an interactive activity that allows the learner to match several IPv4 Identification and Validation Header Descriptions with the correct IPv4 Header Field. The IPv4 Header Fields are:
The IPv4 Identification and Validation Header Descriptions are:
6.1.4 IPv6 Packet >6.1.4.1 Limitations of IPv4The image on this page shows a fuel gauge with the needle pointing to Empty to show that we are out of IPv4 addresses. 6.1.4 IPv6 Packet >6.4.1.2 Introducing IPv6The table on this page shows number names from One Thousand to One Undecillion. The table includes a column for the name, a column with scientific notation and a column showing a 1 with a number of zeros. Undecillion is a 1 with 36 zeros or ten raised to the 36th power:
The legend states that:
6.1.4 IPv6 Packet >6.1.4.3 Encapsulating IPv6Figure 1 on this page on this page shows an IPv4 header:
There are fields shaded in either:
Figure 2 on this page on this page shows an IPv6 header:
6.1.4 IPv6 Packet >6.1.4.4 IPv6 Packet HeaderFigure shows an I.P. version 6 header with the following fields: Version, Traffic Class, Flow Label, Payload Length, Next Header, Hop Limit, Source Address and Destination Address.
6.1.4 IPv6 Packet >6.1.4.5 Sample IPv6 HeaderFigure 1 on this page displays the contents of packet number 46 in a sample Wireshark capture. The packet contains the initial message of the TCP 3-way handshake between an IPv6 host and an IPv6 server. Figure 2 on this page displays the contents of packet number 49 in this sample Wireshark capture. The packet contains the initial HyperText Transfer Protocol (HTTP) GET message to the server. Figure 3 on this page displays the contents of packet number 1 in this sample capture. The sample packet is an ICMPv6 Neighbor Solicitation message. 6.1.4 IPv6 Packet >6.1.4.6 Activity – IPv6 Header FieldsThis interactive activity allows the learner to match the description with the names of the I.P. version 6 header fields. Figure 1 on this page is an interactive activity that allows the learner to match IPv6 Header Descriptions with the correct IPv6 Header Field. The Pv6 Header Field are:
The IPv6 Header Descriptions are:
6.2 Routing6.2.1 How a Host Routes >6.2.1.1 Host Forwarding DecisionThe figure on this page shows router R1 connected to a LAN with two hosts, PC1 and PC2, and the Internet with a remote server. There is an arrow from PC1 to PC2 on the same network. There is also an arrow from PC1 to the remote server. 6.2.1 How a Host Routes >6.2.1.2 Default GatewayThe figure on this page shows router R1 connected to a LAN with two hosts, PC1 and PC2, and the Internet with a remote server. Router R1 has a callout saying, "The IP address of the R1 interface is the default gateway address for PC1 and PC2.". 6.2.1 How a Host Routes >6.2.1.3 IPv4 Host Routing TableThe figure on this page shows a network with the output of C:\Users\PC1>netstat –r
6.2.1 How a Host Routes >6.2.1.4 IPv4 Host Routing EntriesThe figure on this page shows the same IPv4 routing table as the previous page with the network destinations grouped and highlighted with different colors:
6.2.1 How a Host Routes >6.2.1.5 Sample IPv4 Host Routing TableFigure 1 on this page shows the he same IPv4 routing table as the previous page and how the PC uses the routing table to determine how to forward a packet to a destination. The PC is trying to send a packet to a computer on the same LAN. The network address, row 5 is highlighted in the routing table. Since the destination IP address is on the same LAN as the PC, it determines that it will forward the packet out the LAN interface on the PC. Figure 2 on this page shows the he same IPv4 routing table as the previous page and how the PC uses the routing table to determine how to forward a packet to a destination. The PC is trying to send a packet to a computer on a different network. The PC is not aware of the destination so the default gateway, row 1 is highlighted. The packet will be forwarded to the router's LAN interface. 6.2.1 How a Host Routes >6.2.1.6 Sample Ipv6 Host Routing TableThe figure on this page shows a network with the output of C:\Users\PC1>netstat –r
6.2.1 How a Host Routes >6.2.1.7 Activity – Identify Elements of a Host routing Table EntryThis interactive activity on this page allows the learner to match the appropriate description of a column in the output of the IPv4 routing table with the column name. The following partial host routing table entry is shown. Each column of the table is identified by the column headings A - E: C:\Documents and Settings\cisco>netstat –r
Match the correct routing table entry column for each output statement below:
6.2.2 Router Routing Tables >6.2.2.1 Router Packet Forwarding DecisionThe figure on this page shows two routers, R1 and R2 connected by a serial connection. Each router has two LANs attached. This figure shows that a router has its own routing table to consult should a packet be destined for a remote network. The routing table consists of directly connected networks and remote networks. The network IP addresses connected to R1 are:
R1 has three directly connected networks: 192.168.10.0/24, 192.168.11.0/24, and 209.165.200.224/30. R1 also has two remote networks that it can learn about from R2: 10.1.1.0/24 and 10.1.2.0/24. 6.2.2 Router Routing Tables >6.2.2.2 IPv4 Router Routing TableThe figure on this page shows two routers connected by a serial connection. Each router has two LAN's attached. The following output from R1#show ip route
6.2.2 Router Routing Tables >6.2.2.3 Directly connected Routing Table EntriesThe figure on this page shows a network and the following small portion of the routing table from a router:
Legend:
6.2.2 Router Routing Tables >6.2.2.4 Remote Network Routing Table EntriesThe figure on this page shows a network and the following small portion of the routing table from a router:
Legend:
6.2.2 Router Routing Tables >6.2.2.5 Next-Hop AddressThe figure on this page shows two routers connected by a serial connection. Each router has two LANs attached. The output from 6.2.2 Router Routing Tables >6.2.2.6 Sample Router IPv4 Routing TableThe four figure on this page illustrate four examples, as described in the page notes, of how a host and a router make packet routing decisions by consulting their respective routing tables. Each figure shows two routers connected by a serial connection. Each router has two LANs attached. The output from 6.2.2 Router Routing Tables >6.2.2.7 Activity – Identify Elements of a Router Routing Table EntryThis interactive activity on this page allows the learner to match each column in the routing table with its description. The following partial router routing table entry is shown. Each section of the entry is identified by a letter above it:
The learner is asked to match the correct routing table entry section for each of the following outputs:
6.2.2 Router Routing Tables >6.2.2.8 Lab – View Host Routing TablesSee Lab Descriptions. 6.3 Routers6.3.1 Anatomy of a Router >6.3.1.1 A Router is a ComputerThe image on this page shows different types of routers. They include Branch routers, WAN routers and Service Provider routers. 6.3.1 Anatomy of a Router >6.3.1.2 Router CPU and OSThe image on this page shows a logic board of a 1941 router. The C.P.U. is highlighted. 6.3.1 Anatomy of a Router >6.3.1.3 Router MemoryThe table on this page describes the different storage components of a router:
6.3.1 Anatomy of a Router >6.3.1.4 Inside a RouterThis interactive activity on this page shows an image of the inside of a Cisco 1841 first generation ISR. Some of the components are highlighted and when you click them a brief description is displayed. The component locations and descriptions are as follows:
6.3.1 Anatomy of a Router >6.3.1.5 Router BackplaneThe image on this page shows a picture of the rear of a Cisco 1941 router with the ports highlighted as listed below:
6.3.1 Anatomy of a Router >6.3.1.6 Connecting to a RouterThe image on this page shows a picture of the rear of a Cisco 1941 router with the inband interfaces and management ports highlighted. The inband interfaces include:
The management ports include:
6.3.1 Anatomy of a Router >6.3.1.7 LAN and WAN Interfaces.The image on this page shows a picture of the rear of a Cisco 1941 router with the WAN and LAN interfaces highlighted. These interfaces are used for remote access via Telnet or SSH and are common ways of accessing CLI on a router. 6.3.1 Anatomy of a Router >6.3.1.8 Activity – Identify Router ComponentsThe interactive activity on this page allows the learner to match router components with their description. The learner is asked to match the router component name to its function/description. The router hardware parts are:
The router functions are:
6.3.1 Anatomy of a Router >6.3.1.9 Lab – Exploring Router Physical CharacteristicsSee Lab Descriptions. 6.3.1 Anatomy of a Router >6.3.1.10 Packet Tracer- Exploring Internetworking DevicesObjectivesPart 1: Identify Physical Characteristics of Internetworking Devices Part 2: Select Correct Modules for Connectivity Part 3: Connect Devices 6.3.2 Router Boot-up >6.3.2.1 Cisco IOSThe figure on this page displays the words Operating Systems with the following words extending from the two main words:
6.3.2 Router Boot-up >6.3.2.2 Bootset FilesThe figure on this page shows how a router has Flash and NV RAM and RAM. This figure demonstrates that the IOS image, originally found in flash loads into RAM on boot up. It also demonstrates that the startup-config, originally found in NV RAM, loads into RAM on boot up to become the running-config. 6.3.2 Router Boot-up >6.3.2.3 Router Bootup ProcessFigure 1 on this page shows the boot up process. First the router performs a P.O.S.T. and loads the bootstrap. Both are found in ROM. Secondly the router loads the I.O.S. found in flash or by T.F.T.P. Finally the router loads the startup configuration, found in N.V. Ram or by T.F.T.P. or console.
Figure 2 on this page highlights the POST section and shows the output directed to the console at CLI. A callout from the Bootstrap says, "Perform the POST and load the bootstrap program.". Figure 3 on this page highlights the loading of the IOS and shows the output directed to the console at CLI. A callout from the Cisco Internetwork Operating System says, "Locate and load the Cisco IOS software.". Figure 4 on this page highlights the loading of the startup configuration and shows the output directed to the console at CLI. A callout from the Configuration says, "Locate and load the startup configuration file or enter setup mode.". 6.3.2 Router Boot-up >6.3.2.4 Show Version OutputThe figure on this page shows the output of the 6.3.2 Router Boot-up >6.3.2.5 Video Demonstration – The Router Boot ProcessThe YouTube video on this page , titled " IOS Boot Process" demonstrates the boot up process on a Cisco router. It can be accessed via the following link: 6.3.2 Router Boot-up >6.3.2.6 Activity – The Router Boot ProcessThe interactive activity on this page allows the learner to match the description with the appropriate step in the boot up process. The learner is asked to arrange each of the following Router Boot Process steps in the correct order:
6.4 Configuring a Cisco Router6.4.1 configure Initial Settings >6.4.1.1 Router Configuration StepsFigures 1 - 4 on this page shows a network with the CLI of a router. Figure 1 shows the CLI and the commands to change the hostname of the router: Router>enablw
or Router>en
Figure 2 shows the CLI and the commands to configure a secure password for privileged exec mode, the commands to configure standard options on the console and VTY lines as well as the command to encrypt all clear text passwords in the configuration file: R1 (config) #enable secret class
Figure 3 shows the CLI and the commands to configure a banner message: R1 (config) #banner mtd #
#
Figure 4 shows the CLI and the commands to save the current running configuration to NV RAM: R1 #copy running-config startup-config
Figure 5 is an interactive activity allowing the learner to practice the basic configuration commands. Enter the commands to configure the name of the router as 'R1' Router> enable Configure 'class' as the secret password. R1 (config) # enable secret class Configure 'cisco' as the console line password and require users to login. Then exit line configuration mode. R1 (config) # line console 0 Configure 'cisco' as the VTY password for lines 0 through 4 and require users to login. R1 (config) # line v t y 0 4 Exit line configuration mode and encrypt all clear text passwords. R1 (config-line) # exit Enter the banner 'Authorised Access Only' and use # as the delimiting character. R1 (config) # banner motd #Authorised Access Only!# Exit global configuration mode and save the configuration. R1 (config) # exit You successfully configured R1 with initial settings. 6.4.1 configure Initial Settings >6.4.1.2 Packet Tracer – Configure Initial Router SettingsObjectivesPart 1: Verify the Default Router Configuration Part 2: Configure and Verify the Initial Router Configuration Part 3: Save the Running Configuration File 6.4.2 Configure Interfaces >6.4.2.1 Configure LAN InterfacesFigure 1 on this page shows a network with the CLI of a router. The CLI shows the commands to configure an ethernet interface with IP address, subnet mask and description. It also shows how to turn the interface on using the R1#conf t
Figure 2 on this page is an interactive activity allowing the learner to practice the basic interface configuration commands. Configure the GigabitEthernet 0/0 interface with the IP address '192.168.10.1' and subnet mask '255.255.255.0'. Describe the link as 'LAN-10' and activate the interface. R1 # configure terminal Configure the GigabitEthernet 0/1 interface with IP address '192.168.11.1' and subnet mask '255.255.255.0'. Describe the link as 'LAN-11' and activate the interface. R1 (config) # interface gigabitethernet 0/1 You successfully configured the R1 LAN interfaces. 6.4.2 Configure Interfaces >6.4.2.2 Verify Interface ConfigurationFigures 1 and 2 on this page show a network with the CLI of a router. Figure 1 shows the results of the command R1#show IP interface brief
R1#
Figure 2 shows the results of the command R1#show IP route M – mobile, B – BGP,
C 192.168.10.0/24 is directly connected, GigabitEthernet 0/0
192.168.11.0/24 is variably subnetted, 2 subnets, 3 masks
C 192.168.11.0/24 is directly connected, GigabitEthernet 0/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
6.4.3 Configuring the Default Gateway >6.4.3.1 Default gateway on a HostFigures 1 and 2 on this page show a router with two LANs. Each LAN has 2 PC's as follows:
Figure 1 shows how a host can communicate with another host on the same LAN without the use of the gateway as described in the page notes. Figure 2 shows how a host requires the gateway to communicate with a host on another LAN as described in the page notes. 6.4.3 Configuring the Default Gateway >6.4.3.2 Default Gateway on a switchFigure 1 on this page shows a network with a worker connected to a LAN. The figure demonstrates how to configure a switch with a management interface (v. LAN 1) and a default gateway so a network administrator can manage the switch remotely. Without these configured, you cannot connect to a switch remotely. The network consists of:
The console window shows: S1 #show running-config >
The description given for this figure is "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 manage the device remotely. " Figure 2 on this page is an interactive activity allowing the learner to practice configuring a management interface and default gateway on a switch. Enter global configuration and configure '192.168.10.1' as the default gateway for S1. S1# configure terminal You successfully configured the default gateway on S1 6.4.3 Configuring the Default Gateway >6.4.3.3 Packet Tracer – Connect a Router to a LANObjectivesPart 1: Display Router Information Part 2: Configure Router Interfaces Part 3: Verify the Configuration 6.4.3 Configuring the Default Gateway >6.4.3.4 Packet Tracer – Troubleshooting Default Gateway IssuesObjectivesPart 1: Verify Network Documentation and Isolate Problems Part 2: Implement, Verify, and Document Solutions 6.4.3 Configuring the Default Gateway >6.4.3.5 Lab – Initializing and Reloading a router and SwicthSee Lab Descriptions. 6.5 Summary6.5.1 Summary >6.5.1.1 Class Activity - Can You Read this MapObjectivesExplain how network devices use routing tables to direct packets to a destination network.
In this activity, given a scenario, you will determine whether high-reliability messaging should be used. You will focus on whether the final message is complete, correct, and delivered in a timely manner.
6.5.1 Summary >6.5.1.2 Packet TracerObjectives
6.5.1 Summary >6.5.1.3 SummaryThe figure on this page shows a network with two routers connected by a serial link. Each router has 2 LANs. There is a callout showing that router 1 has 3 directly connected networks and 2 remote networks in its routing table. R1 has three directly connected networks:
R1 also has two remote networks that it can learn about from R2:
End of Chapter 6: Network Layer. Next - Chapter 7: Transport Layer. |