CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets
0 Module 10
Routing Fundamentals and
Subnets
Objectives
Routed protocol
IP routing protocols
The mechanics of subnetting
Routed Protocol
Routable and Routed
Protocols
A routed protocol allows the router to forward
data between nodes on different networks.
In order for a protocol to be routable, it must
provide the ability to assign a network number
and a host number to each individual device.
These protocols also require a network mask
in order to differentiate the two numbers.
The reason that a network mask is used is to
allow groups of sequential IP addresses to be
treated as a single unit.
IP as a Routed Protocol
IP is a connectionless,
unreliable, best-effort
delivery protocol.
As information flows
down the layers of
the OSI model; the
data is processed at
each layer.
IP accepts whatever
data is passed down
to it from the upper
layers.
Packet Propagation and
Switching Within a Router
Packet Propagation and
Switching Within a Router
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 is switched to the outgoing
interface and given the proper frame header.
The frame is then transmitted.
Internet Protocol (IP):
Connectionless
The Internet is a gigantic, connectionless network
in which all packet deliveries are handled by IP.
TCP adds Layer 4, connection-oriented reliability
services to IP.
Telephone Calls: Connection-
oriented
Destination/next-hop associations
Routing metric
Outbound interfaces
Routing Algorithms and
Metrics
Routing protocols have one or more of the
following design goals:
Optimization
Flexibility
Rapid convergence
IGP and EGP
IGPs route data within an autonomous system.
RIP, RIPv2, IGRP, EIGRP, OSPF, IS-IS
the leftmost
host bit.
12 bits borrowed allows 212-2 or 4094 subnets
Reasons for Subnetting
Provides addressing flexibility for the
network administrator.
Each LAN must have its own network or
subnetwork address.
Provides broadcast containment and low-
level security on the LAN.
Provides some security since access to
other subnets is only available through the
services of a router.
Establishing the Subnet Mask
Address
Determines which part of an IP address is the network
field and which part is the host field.
Follow these steps to determine the subnet mask:
1. Express the subnetwork IP address in binary form.
2. Replace the network and subnet portion of the address
with all 1s.
3. Replace the host portion of the address with all 0s.
4. Convert the binary expression back to dotted-decimal
notation.
Establishing the Subnet Mask
Address
To determine the number of bits to be used, the
network designer needs to calculate how many
hosts the largest subnetwork requires and the
number of subnetworks needed.
The “slash format” is a shorter way of representing
the subnet mask:
/25 represents the 25 one bits in the subnet mask
255.255.255.128
Establishing the Subnet Mask
Address
Subnetting Class A and B
Networks
The available bits for assignment to the
subnet field in a Class A address is 22 bits
while a Class B address has 14 bits.
Calculating the Subnetwork With
ANDing
ANDing is a binary process by which the router
calculates the subnetwork ID for an incoming
packet.
1 AND 1 = 1; 1 AND 0 = 0; 0 AND 0 = 0
The router then uses that information to forward
the packet across the correct interface.
11000000.10101000.00001010.0
Packet Address 192.168.10.65 00001
10
11111111.11111111.11111111.1
Subnet Mask 255.255.255.224 00000
11
11000000.10101000.00001010.0
Subnetwork Address 192.168.10.64 00000
10