Module 7: Routing Between Networks: Networking Essentials (NETESS)
Module 7: Routing Between Networks: Networking Essentials (NETESS)
Module 7: Routing Between Networks: Networking Essentials (NETESS)
Between Networks
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
7.1 The Need for Routing
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
The Need for Routing
Video - Dividing the Local Network
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
The Need for Routing
Criteria for Dividing the Local Network
Broadcast Containment Security
Routers in the distribution layer can limit Routers in the distribution layer can separate
broadcasts to the local network where they and protect certain groups of computers
need to be heard. Although broadcasts are where confidential information resides.
necessary, too many hosts connected on the Routers can also hide the addresses of
same local network can generate excessive internal computers from the outside world to
broadcast traffic and slow down the network. help prevent attacks, and control who can get
into or out of the local network.
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
The Need for Routing
Criteria for Dividing the Local Network (Cont.)
Locations Logical Grouping
Routers in the distribution layer can be used Routers in the distribution layer can be used
to interconnect local networks at various to logically group users, such as departments
locations of an organization that are within a company, who have common needs
geographically separated. or for access to resources.
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
The Need for Routing
Now We Need Routing
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
The Need for Routing
Lab - IPv4 Addresses and Network Communication
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
7.2 The Routing Table
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
The Routing Table
Video - Router Packet Forwarding
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
The Routing Table
Path Selection
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
The Routing Table
Video - Messages Within and Between Networks - Part 1
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
The Routing Table
Video - Messages Within and Between Networks - Part 2
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
The Routing Table
Packet Forwarding
• The destination MAC address is used to forward the packet to either the router if the destination
IP address is for a different network or a specific network device on the local network.
• The ARP table shows a mapping of IP address to MAC address.
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
The Routing Table
Video - Messages Sent to Remote Networks
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
The Routing Table
Routing Table Entries
• A routing table contains network addresses
and the best path to reach a network.
• Two ways routes can be added to a routing
table
• Dynamically learned from other
routers
• Manually entered by a network
administrator
• A default route is the router interface used
Type Network Port
when forwarding packets to a destination
C 10.0.0.0/8 FastEthernet0/0
that is not in the routing table.
• If a packet is destined for a network that is C 172.16.0.0/16 FastEthernet0/0
not in the routing table and no default route
exists, the packet will be dropped.
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
The Routing Table
The Default Gateway
• When a host sends a message to a device
on the same network, it forwards the
message directly and uses ARP to
discover the MAC address.
• When a host sends a message to a device
on a remote network, the hosts uses the
MAC address of the router as the
destination, but still has the IP address of PC IPv4 Address Subnet Mask Default
the remote host as the Layer 3 destination. Gateway
• It is very important that each host has the H1 192.168.1.1 255.255.255.0 192.168.1.254
correct default gateway that is the IP H2 192.168.1.2 255.255.255.0 192.168.1.254
address of the router on the same network. H3 192.168.1.3 255.255.255.0 192.168.1.254
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
7.3 Create a LAN
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
Create a LAN
Local Area Networks
3 LANs
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
Create a LAN
Local and Remote Network Segments
Advantages of a single local segment:
• Appropriate for simpler networks
• Less complexity and lower network cost All Hosts in One Local Segment
• Allows devices to be "seen" by other devices
• Faster data transfer - more direct
communication
• Ease of device access
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
Create a LAN
Local and Remote Network Segments (Cont.)
Advantages of having hosts on a remote segment
• More appropriate for larger, more complex Hosts on a Remote Segment
networks
• Splits up broadcast domains and decreases
traffic
• Can improve performance on each segment
• Makes the machines invisible to those on other
local network segments
• Can provide increased security
• Can improve network organization
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
Create a LAN
Packet Tracer - Observe Data Flow in a LAN
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
Create a LAN
Lab - Connect to a Wireless Router
In this lab, you will complete the following objectives:
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
7.4 Routing Between Networks
Summary
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
Routing Between Networks Summary
What Did I Learn in this Module?
• Routers are needed to connect multiple Layer 3 IP networks.
• Switches make their forwarding decision based on the destination Layer 2 MAC address.
• Routers make their forwarding decision based on the destination Layer 3 IP address.
• Each router has a routing table.
• A routing table contains all locally connected networks and the interfaces that connect to the networks.
• A routing can contain remote networks learned dynamically from other routers or entered manually by a
network administrator.
• A default route in the routing table is the router interface used when forwarding packets to a destination
that is not in the routing table.
• If a packet is destined for a network that is not in the routing table and no default route exists, the
packet will be dropped.
• A local area network (LAN) is under the same administrative control and typically is wired Ethernet or
wireless.
• A simple network design keeps all hosts on a single local network.
• If a network design has multiple local networks, a router is needed for communication between
networks.
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
Routing Between Networks Summary
New Terms and Commands
• broadcast containment
• logical grouping
• routing table
• path selection
• default gateway
• default route
• local area network (LAN)
• local network
• remote network
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Confidential