CCNA 1 v3.1 Module 10 Routing Fundamentals and Subnets: © 2004, Cisco Systems, Inc. All Rights Reserved
CCNA 1 v3.1 Module 10 Routing Fundamentals and Subnets: © 2004, Cisco Systems, Inc. All Rights Reserved
1 Module 10
Routing Fundamentals and
Subnets
• A routed protocol
1. defines the end to end addressing and the
packet format of a packet that is forwarded
between nodes on different networks.
Internet Protocol (IP) is a routed protocol
• A routing protocol
1. exchanges topology information with adjacent
routers to update and maintain their routing tables.
2. selects the best path through a network
RIP is a routing protocol
Routed Protocol
• A protocol is a set of rules
• As a frame is received at a
router interface.
• The MAC address is checked
to see if the frame is directly
addressed to the router
interface, or a broadcast.
• The frame header and trailer
are removed and the packet is
passed up to Layer 3.
• The destination IP address is
compared to the routing table
to find a match.
• The packet (datagram) is
placed in a new frame with the
If a match is found or there is a default
MAC address of the next hop
route, the packet will be sent to the
interface.
interface specified in the matched routing
• The frame is then transmitted. table statement otherwise packet is
discarded
Packets Travel Across Links in a Frame
• Packets NEVER travel through the network – they are carried within frames
• A new frame MUST be created to carry the packet over each individual link
• Routers provide the IP address of the next hop interface (router or host)
• The ARP table provides the MAC address of this IP address for the frame destination
Connectionless vs. Connection-Oriented
• The Internet is a huge network where packets are routed according to their
IP addresses.
• IP is unreliable and best-effort as IP does not verify that the data reached its
destination and therefore does not resend missing packets.
• Reliability and resending of packets is handled by the upper layer protocols.
• IP may be used in conjunction with TCP to add a Layer 4, connection-
oriented service that checks for missing segments and resends them to
provide reliability.
The IPv4 Packet Header
Time-to-live (TTL)
• A Routing Protocol:
– Provides processes for sharing route information. Exchange topology info.
To determining the best routing paths and transporting packets through an
internetwork
– Also allows routers to communicate with other routers to update and
maintain the routing tables.
– Routing Information Protocol (RIP), Interior Gateway Routing Protocol
(IGRP), Open Shortest Path First (OSPF), Border Gateway Protocol (BGP),
and Enhanced IGRP (EIGRP).
Back to Routing
Path Determination
Path Determination
Routing Tables
• Routing tables contain the best routes to all known
networks.
Optimization
Simplicity and low overhead
Robustness and stability
Flexibility
Rapid convergence
Routing Algorithms and Metrics
Interior and Exterior Gateway Protocols
Interior and Exterior Gateway Protocols
• Note that the first and last subnets are not used (the first can be)
• Also the first and last host address in each subnet are not used
Example Host IP Address from Subnet 2