08 RouterConfig
08 RouterConfig
• Router Fundamentals
• Connecting to the Console Port
• Router Modes -- User EXEC
• Router Modes -- Privileged EXEC
• Lab #9 Goals
Router Fundamentals
• Here, we will examine two types of networks: flat vs routed.
• Devices in a local area network (LAN) tend to be connected at
Layers 1 (Physical) and 2 (Data Link), by devices like hubs and
switches.
• Smaller LANs can be interconnected into a larger LAN, with the
aid of an additional switch.
o If the number of networked hosts is not too large, then it should not be
problematic.
o However, as the number of hosts increases, it can become a problem
because all the hosts will be part of a common broadcast domain.
Router Fundamentals
• A broadcast domain is the set of hosts that will receive a
broadcast sent out on a network.
o Layer 2 switches create a common broadcast domain.
o If there are many hosts, slowdowns can happen because every
computer will have to look at a broadcast to decide whether or
not to respond
• When smaller LANs are combined into a larger LAN --
where all have the same broadcast domain -- you have a
flat network. These should usually be avoided because
of the increased network delays.
Router Fundamentals
• A better option is a routed network, where Layer 3
addresses are used to determine where data packets
should be sent.
o For this reason, it is also known as a Layer 3 network.
o One such example is Figure 7-2. (Where have you seen this
figure before?)
• Figure 7-2 depicts a routed network, consisting of
o Four LANs: A, B, C, and D
o Three routers: A, B, and C
Router Fundamentals
• Each LAN has a switch that interconnects
o The local hosts
o ...and one of the routers
• The network is divided into segments, such that a
segment is indicated by a connection
o From a router to a switch (one of the LANs)
o From a router to another router
• Each segment has an address, so it may also be called a
NET or a subnet.
Router Fundamentals
• Unlike a flat network -- where the switches do not separate
broadcast domains -- the routers partition a Layer 3 network
into separate broadcast domains.
• The router has multiple Ethernet ports, each of which is
connected to one of the segments/subnets.
o Each LAN is its own subnet, where hosts IPs start at X.X.X.1, and IP for
router/gateway is X.X.X.250
LAN A: 10.10.20.0
LAN B: 10.10.10.0
LAN C: 10.10.1.0
LAN D: 10.10.5.0
Router Fundamentals
o Each router-to-router connection is its own subnet, where
router local IPs start at X.X.X.1
A-to-B: 10.10.200.0
B-to-C: 10.10.150.0
C-to-A: 10.10.100.0