Chapter 04 - Reading Organizer Version

advertisement
Chapter 4
Reading Organizer
Instructor Version
Note: the Reading Organizer has weighted scoring. Any question with the word explain or define in it is
expected to have a longer answer and is worth two points each.
After completion of this chapter, you should be able to:







Configure a router to route between multiple directly connected networks
Describe the primary functions and features of a router.
Explain how routers use information in data packets to make forwarding decisions in a small to mediumsized business network.
Explain the encapsulation and de-encapsulation process used by routers when switching packets
between interfaces
Compare ways in which a router builds a routing table when operating in a small to medium-sized
business network.
Explain routing table entries for directly connected networks.
Explain how a router builds a routing table of directly connected networks.
4.0 Routing Concepts
1. When the source IP and destination IP addresses are on different networks, what device is required
to deliver the Ethernet frame?
A router
4.1 Initial Configuration of a Router
2. Define the following terms:
a. Physical topology –
Is the arrangement of the cables, network devices, and end systems. It describes how the
network devices are actually interconnected with wires and cables.
b. Logical topology –
Is the path over which the data is transferred in a network. It describes how the network
devices appear connected to network users.
c. Speed –
Speed is a measure of the data rate in bits per second (b/s) of a given link in the network.
Cisco Semester 2 – Routing and Switching Essentials 5.0
1
Robb Jones
Chapter 4
Frederick County Career & Tech Center, MD
d. Cost –
Cost indicates the general expense for purchasing of network components, and installation and
maintenance of the network.
e. Security –
Security indicates how protected the network is, including the information that is transmitted
over the network. The subject of security is important, and techniques and practices are
constantly evolving. Consider security whenever actions are taken that affect the network.
f. Availability –
Availability is a measure of the probability that the network is available for use when it is
required.
g. Scalability –
Scalability indicates how easily the network can accommodate more users and data
transmission requirements. If a network design is optimized to only meet current requirements,
it can be very difficult and expensive to meet new needs when the network grows.
h. Reliability –
Reliability indicates the dependability of the components that make up the network, such as the
routers, switches, PCs, and servers. Reliability is often measured as a probability of failure or as
the mean time between failures (MTBF).
3. Communication between networks would not be possible without a router determining the best
path to the destination and forwarding traffic to the next router along that path.
4. Explain the four different types of router memory, the volatility, and examples of what is stored in
each.
a. Random Access Memory (RAM) –
Provides temporary storage for various applications and processes including the running IOS,
the running configuration file, various tables (i.e., IP routing table, Ethernet ARP table) and
buffers for packet processing. RAM is referred to as volatile because it loses its contents when
power is turned off.
b. Read-Only Memory (ROM) –
Provides permanent storage for bootup instructions, basic diagnostic software and a limited IOS
in case the router cannot load the full featured IOS. ROM is firmware and referred to as nonvolatile because it does not lose its contents when power is turned off.
c. Non-Volatile Random Access Memory (NVRAM) –
Provides permanent storage for the startup configuration file (startup-config). NVRAM is nonvolatile and does not lose its contents when power is turned off.
2
d. Flash –
Provides permanent storage for the IOS and other system-related files. The IOS is copied from
flash into RAM during the bootup process. Flash is non-volatile and does not lose its contents
when power is turned off.
5. Label the router components.
6. A router receives an IP packet on one interface. What happens next?
It determines which interface to use to forward the packet to the destination.
7. The primary functions of a router are to:
a. Determine the best path to send packets
b. Forward packets toward their destination
8. What does a router use to determine the best path to use to forward a packet?
Routing table
9. Explain in excruciating detail what happens when a router receives a packet.
Cisco Semester 2 – Routing and Switching Essentials 5.0
3
Robb Jones
Chapter 4
Frederick County Career & Tech Center, MD
It examines the destination address of the packet and uses the routing table to search for the
best path to that network. The routing table also includes the interface to be used to forward
packets for each known network. When a match is found, the router encapsulates the packet
into the data link frame of the outgoing or exit interface, and the packet is forwarded toward its
destination.
10. Routers support three packet-forwarding mechanisms. List and fully explain each.
a. Process switching –
An older packet forwarding mechanism still available for Cisco routers. When a packet arrives on an
interface, it is forwarded to the control plane where the CPU matches the destination address with an
entry in its routing table, and then determines the exit interface and forwards the packet.
b. Fast switching –
This is a common packet forwarding mechanism which uses a fast-switching cache to store next-hop
information. When a packet arrives on an interface, it is forwarded to the control plane where the CPU
searches for a match in the fast-switching cache. If it is not there, it is process-switched and forwarded
to the exit interface. The flow information for the packet is also stored in the fast-switching cache. If
another packet going to the same destination arrives on an interface, the next-hop information in the
cache is re-used without CPU intervention.
c. Cisco Express Forwarding (CEF) –
CEF is the most recent and preferred Cisco IOS packet-forwarding mechanism. Like fast switching, CEF
builds a Forwarding Information Base (FIB), and an adjacency table. However, the table entries are not
packet-triggered like fast switching but change-triggered such as when something changes in the
network topology. Therefore, when a network has converged, the FIB and adjacency tables contain all
the information a router would have to consider when forwarding a packet. The FIB contains precomputed reverse lookups, next hop information for routes including the interface and Layer 2
information. Cisco Express Forwarding is the fastest forwarding mechanism and the preferred choice on
Cisco routers
11. Match the following router memory types with the correct functions.
IOS and System Files
NVRAM
Running Configuration
Flash
Startup Configuration
ROM
Diagnostics and Boot Instructions
RAM
12. To enable network access, devices must be configured with IP address information. List and define
the three components that are necessary to connect to a network.
a. IP address –
4
Identifies a unique host on a local network.
b. Subnet mask –
Identifies with which network subnet the host can communicate.
c. Default gateway –
Identifies the router to send a packet to when the destination is not on the same local network
subnet.
13. What happens when a host sends a packet to a device that is on the same IP network?
The packet is simply forwarded out of the host interface to the destination device.
14. What happens when a host sends a packet to a device on a different IP network?
The packet is forwarded to the default gateway, because a host device cannot communicate
directly with devices outside of the local network.
15. Where is the default gateway usually located?
The default gateway is usually the address of the interface on the router connected to the local
network.
16. What is the Gateway of Last Resort?
A router is also usually configured with its own default gateway.
17. When designing a new network or mapping an existing network, what should the documentation
identify?
a. Device names
b. Interfaces used in the design
c. IP addresses and subnet masks
d. Default gateway addresses
18. Two useful network documents are listed below explain what each document should include.
a. Topology diagram –
Cisco Semester 2 – Routing and Switching Essentials 5.0
5
Robb Jones
Chapter 4
Frederick County Career & Tech Center, MD
Provides a visual reference that indicates the physical connectivity and logical Layer 3
addressing. Often created using software, such as Microsoft Visio.
b. Addressing table –
A table that captures device names, interfaces, IPv4 addresses, subnet masks, and default
gateway addresses.
19. A host can be assigned IP address information two ways. List and explain each.
a. Statically –
The host is manually assigned the correct IP address, subnet mask, and default gateway. The
DNS server IP address can also be configured.
b. Dynamically –
IP address information is provided by a server using the Dynamic Host Configuration Protocol
(DHCP). The DHCP server provides a valid IP address, subnet mask, and default gateway for end
devices. Other information may be provided by the server.
20. Most network interfaces have one or two LED link indicators next to the interface. What do the
following scenarios indicate?
a. Green LED - means a good connection
b. Blinking green LED - indicates network activity
c. The link light is not on - then there may be a problem with either the network cable or the
network itself
21. What is indicated by an amber light on a switch?
Amber indicates there is a malfunction
22. What are three Terminal emulation software’s you can use to access a router?
a. Tera Term
b. PuTTY
c. HyperTerminal
23. What type of cable is required to connect with a router if you are using the computers USB port to
connect with the router’s console port?
A special USB-to-RS-232 compatible serial port adapter is required.
24. How many console connections will a Cisco router support at one time?
One
6
25. Using the routers IP address, what remote management tools can the network administrator use to connect to
the device?
a. Telnet
b. SSH
c. HTTP
d. HTTPS
26. Based on the information supplied fill in the correct addresses for each device.
27. When configuring a Cisco switch or router, What are the basic tasks should be performed first?
a. Name the device
b. Secure management access
c. Configure a banner
28. How many characters can a port description be?
Text is limited to 240 characters
29. IPv6 interfaces will typically have more than one IPv6 address. What addresses will this include?
a. IPv6 link-local address
b. IPv6 global unicast address
30. Explain in detail what happens when the router is configured using the ipv6 unicastrouting global configuration command.
Cisco Semester 2 – Routing and Switching Essentials 5.0
7
Robb Jones
Chapter 4
Frederick County Career & Tech Center, MD
The router begins sending ICMPv6 Router Advertisement messages out the interface. This
enables a PC connected to the interface to automatically configure an IPv6 address and to set a
default gateway without needing the services of a DHCPv6 server.
31. Why is the loopback interface useful in testing and managing a Cisco IOS device?
Because it ensures that at least one interface will always be available.
32. There are several show commands that can be used to verify the operation and configuration of an
interface. List and explain three commands that are especially useful to quickly identify an interface
status.
a. show ip interface brief –
Displays a summary for all interfaces including the IPv4 address of the interface and current
operational status.
b. show ip route –
Displays the contents of the IPv4 routing table stored in RAM. In Cisco IOS 15, active interfaces
should appear in the routing table with two related entries identified by the code ‘C’
(Connected) or ‘L’ (Local). In previous IOS versions, only a single entry with the code ‘C’ will
appear.
c. show running-config interface interface-id –
Displays the commands configured on the specified interface.
33. List two commands that are used to gather more detailed interface information.
a. show interfaces
b. show ip interface
34. List the IPv6 commands used to verify interface configuration.
a. show ipv6 interface brief
b. show ipv6 interface gigabitethernet 0/0
c. show ipv6 route
d. ping
35. Use the terminal length number command to specify the number of lines to be displayed.
A value of 0 (zero) prevents the router from pausing between screens of output.
36. Filtering commands can be used to display specific sections of output. Explain how this is
accomplished.
To enable the filtering command, enter a pipe (|) character after the show command and
then enter a filtering parameter and a filtering expression.
8
37. List and explain the filtering parameters that can be configured after the pipe.
a. section - Shows entire section that starts with the filtering expression
b. include - Includes all output lines that match the filtering expression
c. exclude - Excludes all output lines that match the filtering expression
d. begin - Shows all the output lines from a certain point, starting with the line that matches the
filtering expression
38. By default, command history is enabled and the system captures the last _10_ command lines in its
history buffer.
39. Which command can you use to increase the number of command lines that the history buffer
records during the current terminal session only?
terminal history size
4.2 Routing Decisions
40. What are the three steps a router does with a packet received from one network and destined for
another network?
Step 1 –
De-encapsulates the Layer 3 packet by removing the Layer 2 frame header and trailer.
Step 2 –
Examines the destination IP address of the IP packet to find the best path in the routing table.
Step 3 –
If the router finds a path to the destination, it encapsulates the Layer 3 packet into a new Layer
2 frame and forwards the frame out the exit interface.
41. IPv4 uses an ARP request process to learn the MAC address of another host. What processes does IPv6
address resolution use?
a. ICMPv6 Neighbor Solicitation
b. Neighbor Advertisement messages
42. Write in the correct MAC and IP addresses.
Cisco Semester 2 – Routing and Switching Essentials 5.0
9
Robb Jones
Chapter 4
Frederick County Career & Tech Center, MD
43. Write in the correct MAC and IP
addresses.
44. The routing table search results in one of three path determinations. List and explain these.
10
a. Directly connected network –
If the destination IP address of the packet belongs to a device on a network that is directly
connected to one of the interfaces of the router, that packet is forwarded directly to the
destination device. This means that the destination IP address of the packet is a host address on
the same network as the interface of the router.
b. Remote network –
If the destination IP address of the packet belongs to a remote network, then the packet is
forwarded to another router. Remote networks can only be reached by forwarding packets to
another router.
c. No route determined –
If the destination IP address of the packet does not belong to either a connected or remote
network, the router determines if there is a Gateway of Last Resort available. A Gateway of Last
Resort is set when a default route is configured on a router. If there is a default route, the packet
is forwarded to the Gateway of Last Resort. If the router does not have a default route, then the
packet is discarded. If the packet is discarded, the router sends an ICMP unreachable message to
the source IP address of the packet.
45. The best path is selected by a routing protocol based on the value or metric it uses to determine the
distance to reach a network. What is a metric?
A metric is the quantitative value used to measure the distance to a given network.
46. Which is better, a high metric or a low metric?
Low metric
47. List the most common dynamic routing protocols.
a. Routing Information Protocol (RIP)
b. Open Shortest Path First (OSPF)
c. Enhanced Interior Gateway Routing Protocol (EIGRP)
48. What happens if a routing table has two or more paths with identical metrics to the same
destination network?
When a router has two or more paths to a destination with equal cost metrics, then the router
forwards the packets using both paths equally.
Cisco Semester 2 – Routing and Switching Essentials 5.0
11
Robb Jones
Chapter 4
Frederick County Career & Tech Center, MD
49. What is this load sharing process called?
Equal cost load balancing
50. Which routing protocol supports unequal cost load balancing?
Only EIGRP
51. Is it possible for a router to be configured with multiple routing protocols and static routes?
Yes
52. Cisco IOS uses what is known as the administrative distance (AD) to determine the route to install
into the IP routing table. Explain this.
The AD represents the "trustworthiness" of the route; the lower the AD, the more trustworthy
the route source
53. List the correct Administrative distance for each routing source.
Directly Connected
Static
EIGRP
OSPF
RIP
_____0_____
_____1_____
_____90____
_____110___
_____120___
4.3 Routing Operation
54. The routing table of a router stores information about two different types of routes. List and
explain each.
a. Directly connected routes –
These routes come from the active router interfaces. Routers add a directly connected route
when an interface is configured with an IP address and is activated.
b. Remote routes –
These are remote networks connected to other routers. Routes to these networks can either be
statically configured or dynamically configured using dynamic routing protocols.
55. What is a routing table?
It is a data file in RAM that is used to store route information about directly connected and
remote networks.
56. List the different types of entries in the routing table?
12
a. Local Route interfaces
b. Directly connected interfaces
c. Static routes
d. Dynamic routing protocol
57. The sources of the routing table entries are identified by a code. The code identifies how the route
was learned. Explain what the following codes identify.
L - Identifies the address assigned to a router’s interface. This allows the router to efficiently
determine when it receives a packet for the interface instead of being forwarded.
C - Identifies a directly connected network.
S - Identifies a static route created to reach a specific network.
D - Identifies a dynamically learned network from another router using EIGRP.
O - Identifies a dynamically learned network from another router using the OSPF routing
protocol.
58. Label the routing table entry below.
Cisco Semester 2 – Routing and Switching Essentials 5.0
13
Robb Jones
Chapter 4
Frederick County Career & Tech Center, MD
59. Based on the information below correctly assign the routing table entry.
60. Before the interface state is considered up/up and added to the IPv4 routing table, the interface
must:
a. Be assigned a valid IPv4 or IPv6 address
b. Be activated with the no shutdown command
c. Receive a carrier signal from another device (router, switch, host, etc.)
61. An active, properly configured, directly connected interface actually creates two routing table
entries. What does the C and L route source codes mean.
CL-
‘C’ identifies a directly connected network.
’L’ identifies the IPv4 address assigned to the router’s interface.
62. What is the purpose of the show ipv6 route command?
It is used to verify that IPv6 networks and specific IPv6 interface addresses have been installed
in the IPv6 routing table
63. Explain how do static routes differ from dynamically learned routes?
Static routes are manually configured. They define an explicit path between two networking
devices. Unlike a dynamic routing protocol, static routes are not automatically updated and
must be manually reconfigured if the network topology changes.
64. What are the benefits of using static routes?
a. Static routes use less bandwidth than dynamic routing protocols
b., No CPU cycles are used to calculate and communicate routes
65. What is the main disadvantage to using static routes?
14
The lack of automatic reconfiguration if the network topology changes.
66. What are the two common types of static routes in the routing table?
a. Static route to a specific network
b. Default static route
67. What is the purpose of a default static route?
It specifies the exit point to use when the routing table does not contain a path for the
destination network.
68. What is another name for a default route?
Gateway of Last Resort
69. Explain what Network Discovery is.
The ability of a routing protocol to share information about the networks that it knows about
with other routers that are also using the same routing protocol.
70. When are routers converged?
After they have finished exchanging and updating their routing tables.
71. How can you determine which routing protocols are supported by the IOS?
Use the router ? command in global configuration mode
72. What does an IP route entry beginning with D*EX mean?
The entry beginning with ‘D*EX’ identifies that the source of this entry was EIGRP (‘D’). The
route is a candidate to be a default route (‘*’), and the route is an external route (‘*EX’)
forwarded by EIGRP.
73. Support for dynamic IPv6 routing protocols is dependent on what two things?
a. hardware
b. IOS version
74. To enable IPv6 routers to forward traffic, what must you configure?
The ipv6 unicast-routing global configuration command.
Cisco Semester 2 – Routing and Switching Essentials 5.0
15
Robb Jones
Chapter 4
Frederick County Career & Tech Center, MD
Download
Study collections