CCNA - Routing

  1. To be able to route packets, a router must know, at a minimum, the following: (give 3)
    • destination address
    • neighbor routers from which it can learn about remote networks
    • possible routes to all remote networks
    • the best route to each remote network
    • how to maintain and verify routing information
  2. If a router receives a ICMP packet that is destined for an IP address that is not in it's routing table, what will the router do with the packet and how will ICMP respond?
    the router will discard the packet and send an ICMP destination unreachable message back out the interface that the source LAN packet originated from.
  3. How does the router learn about remote networks?
    a. ping
    b. traceroute
    c. neighbors
    d. administrator
    e. telnet
    c, d. the router learns about remote networks from neigbors (cdp neighbors) OR from an administrator
  4. In this type of routing, a protocol on one router communicates with the same protocol running on the neighbors routers. The routers then update each other about all the networks they know about and place it in the routing table.
    dynamic routing
  5. In this type of routing, the administrator is responsible for updating all changes by hand into all routers.
    static routing
  6. The "C" in the routing table output means that the networks listed are?
    directly Connected
  7. Sends broadcast every 30 seconds
  8. What are the 3 classes of routing protocols?
    • distance vector
    • link state
    • hybrid
  9. This routing protocol finds the best path to a remote network by judging distance.
    distance vector
  10. True or False: MAC addresses are always local on the LAN and always go through past a router.
    False. MAC addresses NEVER go through past a router
  11. True or False: IP runs a complete CRC as the Data Link layer does.
    False. IP does NOT run a complete CRC - it only checks the header for errors
  12. What's the first step in the IP Routing Process?
    Internet Control Message Protocol (ICMP) creates an echo request payload which is just the alphabet in the data field.
  13. What's the 2nd step in IP routing process?
    ICMP hands the payload to the IP, and creates a packet.
  14. At minimum, what does a packet contain?
    • IP source address
    • IP destination address
    • Protocol field with 01h (or 0x01)
  15. What is the 3rd step in the IP routing process?
    Once the packet is created, IP determines whether the destination IP address is on the local network or a remote one.
  16. What is the 4th step in the IP Routing Process?
    After it determines if the IP is local or remote, it sends the packet to the default gateway.
  17. What is the 5th step in the IP Routing Process?
    The packet is handed down to the Data Link layer, framed and sent to the router's interface that's connected to that network.
  18. What is the 6th step in the IP routing process?
    ARP - Address Resolution Protocol cache of the host is checked to see if the IP address of the default gateway has already been resolved to the hardware address.
  19. What happens if the hardware address isn't already in the ARP cache of a host?
    An ARP broadcast is sent to out onto the local network to search for the hardware address. the router responds to the request and provides the hardware address of the interface and the host caches this address.
  20. What command do you use to check the ARP table?
    arp -a
  21. What is CRC?
    Cyclic Redundancy Check
  22. What happens in the 7th step of the IP Routing Process?
    • the LAN driver is used to provide media access via the type of LAN being used.
    • a frame is then generated, encapsulating the packet with control information.
  23. What is contained within the frame?
    • hardware destination and source addresses
    • ether-type field
    • packet
    • frame check sequences (FCS) that houses the results of the cyclic redundancy check (CRC)
  24. What happens in the 8th step of the IP routing process?
    when the frame is completed, it is handed down to the physical layer (L1) to be put on the physical medium one bit at a time.
  25. What is the 9th step of the IP Routing Process?
    Every device in the collision domain receives the bits and builds the frame and each run a CRC and check the answers in the FCS field.
  26. During a CRC, what happens if the answers in the FCS field don't match?
    the frame is discarded
  27. What happens during the 10th step of the IP Routing Process?
    • the packet is pulled from the frame, and what is left of the frame is discarded.
    • the packet is handed¬† to the protocol listed in the Ether-Type field, it's given to IP.
  28. What happens at the 11th step of the IP Routing Process?
    IP receives the package and checks the IP destination address
  29. In step 12 of the IP Routing process what must the routing table have?
    - the routing table must have an entry for the network
  30. What happens if there is no entry in the routing tables?
    - the packet will be discarded immediately and an ICMP message will be sent back to the originating device with an a destination network unreachable message.
  31. What will the destination MAC address be if your packets are destined for outside the LAN?
    - the destination MAC addess will always be the router's interface
  32. What are some of the benefits of static routing?
    • no overhead on the router cpu
    • no bandwidth usage between routers
    • adds security to allow routing access to certain networks only
  33. What are some disadvantages of static routing?
    • admin must really understand the internetwork and how each router is connected to configure routers correctly
    • if a network is added to the internetwork, the admin has to add a route to it on all routers-by hand.
    • not feasible in larger networks due to maintaining it
  34. What is the command syntax to add a static route to a routing table?
    ip route [destination_network] [mask] [next-hop_address or exitinterface] [administrative_distance] [permanent]
  35. What command do you use to create a static route?
    ip route
  36. Describe the routing when protocols are used to find networks and update routing tables on routers.
    Dynamic Routing
  37. On what type of networks should you only use default routing?
    stub networks - those with only one exit path out of the network
  38. What type of protocols use aspects of both distance vector and link state?
    Hybrid protocols, like EIGRP
  39. True or False: If a network is directly connected, the router will always use the interface connected to the network.
  40. What happens in the 13th step of IP Routing Process?
    if the router finds an entry for the destination network in its table, the packet is switched to the exit interface
  41. What happens during the 14th & 15th step of the IP Routing Process?
    • 14th - the router packet-switches the packet to the interface buffer.
    • 15th - the interface buffer needs to know the hardware address of the destination host and first checks the ARP cache
  42. Name the two types of routing protocols used in internetworks:
    • IGPs - interior gateway protocols
    • EGPs - exterior gateway protocols
  43. True of False: Dynamic routing is when protocols are used to find networks and update routing tables on routers.
  44. What is used to rate the trustworthiness of routing information received on a router from a neighbor router?
    AD - Administrative Distance
  45. An administrative distance is an integer from 0 to?

    A. 255
  46. What integer is the most trusted and which means no traffic will be passed via this route?

    A. 0 is the most trusted and 255 means no traffic will be passed
  47. What is the first thing the router checks if it receives two updates listing the same network?
    it checks the AD
  48. True or False: If an advertised route has a lower AD than the other, then the route with the lowest AD will be placed in the routing table.
  49. What is the default administrative distance for a static route?
  50. What is the default administrative distance for EIGRP?
  51. What is the default administrative distance for IGRP?
  52. What is the default administrative distance for OSPF?
  53. What is the default administrative distance for RIP?
  54. What is the default administrative distance for External EIGRP?
  55. What happens at the 16th step of the IP Routing process?
    The Data Link layer creates a frame with the destination and source hardware address, Ether-Type field, and FCS field at the end and then handed to the Physical layer to be sent out one bit at a time
  56. Which statement about RIPng is true?
    A. RIPng allows for routes with up to 30 hops.
    B. RIPng is enabled on each interface separately.
    C. RIPng uses broadcasts to exchange routes.
    D. There can be only one RIPng process per router.
    B. - RIPng is similar to RIPv2 but is used for IPv6. But unlike RIPv1 and RIPv2, RIPng is enabled on each interface separately.
  57. What are two characteristics of RIPv2? (Choose two)
    A. classful routing protocol
    B. variable-length subnet masks
    C. broadcast addressing
    D. manual route summarization
    E. uses SPF algorithm to compute path
    B and D
  58. Which (config-router) command will allow the network represented on the interface to be advertised by RIP?
    router rip
    version 2
    no auto summary
    interface ethernet0
    ip address

    A. redistribute ethernet0
    B. network ethernet0
    C. redistribute
    D. network
  59. Describe the following command in the string:
    • destination_network - the network you are placing in the routing table
    • mask - the subnet mask being used on the network
    • next-hop_address - the address of the next-hop router that will receive the packet and forward it to the remote network
    • exitinterface - used in place of the next-hop address or directly connected route
    • administrative_distance - used to rate the trustworthiness of routing information received on a router from a neighbor router
    • permanent - keeps the entry in the routing table no matter what happens
  60. Describe routing by rumor
    a router receiving an update from a neighbors router believes the information about the remote networks without actually finding out for itself.
  61. What is checked first if you have a network that has multiple links to the same remote network? And what happens if the AD is the same?
    • the administrative distance of each received update is checked first
    • the protocols will use other metrics to determine the best path to use to that remote network
  62. What does RIP use to determine the best path to a network?
    hop count
  63. What happens if RIP finds more than one link with the same hop count to the same remote network?
    it automatically performs a round-robin load balancing
  64. How many equal-cost links can RIP perform load balancing for? And what is the default?
    up to six and four by default
  65. How does distance-vector routing protocols keep track of any changes to the internetwork?
    by broadcasting periodic routing updates out all active interfaces
  66. What do the broadcast's include?
    the complete routing table
  67. Why do routing loops occur?
    because every router isn't updated simultaneously
  68. What causes counting to infinity?
    when wrong information being communicated and propagated throughout the internetwork, or gossip broadcasts
  69. What is the maximum hop count that RIP permits?
    15, anything more than 15 is deemed unreachable
  70. Reducing incorrect routing information and routing overhead in a distance-vector network by enforcing the rule that routing information cannot be sent back in the direction from which it was received is known as what?
    a split horizon
  71. What is a split horizon?
    not advertising the route back out the same interface that it was learned on
  72. What is a holddown?
    preventing regular update messages from reinstating a route that is going up and down or flapping
  73. Which routing protocol is considered a true distance-vector routing protocol? And why?
    Routing Information Protocol (RIP) because it sends the complete routing table out to all active interfaces every 30 seconds and only uses hop count to determine the best way to a remote network.
  74. What type of routing does RIPv1 use? Explain.
    It uses classful routing meaning all devices in the network must use the same subnet mask.
  75. What type of routing does RIPv2 use? Explain.
    It uses classless routing, and unlike RIPv1 it sends subnet mask information with route updates
  76. What is the command sequence to configure rip on a router?
    • config t
    • router rip
    • network
  77. What happens if a router receives a routing update that contains a higher-cost path to  a network that's already in its routing table?
    the update will be ignored
  78. What command would you use to prevent RIP update broadcasts from being sent out a specific interface but still receive RIP updates on that same interface?
    use the passive-interface command and specify the interface
  79. What command sequence do you use to configure RIPv2 on a router?
    • config t
    • router rip
    • network [network_address]
    • version 2
  80. What must your routers be, in order to use IGRP in your network? Explain.
    all routers on your network must be Cisco routers because IGRP is a Cisco-proprietary distance-vector routing protocol
  81. What is the main difference between RIP and IGRP configuration?
    When you configure IGRP you supply the autonomous system number.
  82. Describe some advantages of using IGRP over RIP.
    • can be used in large internetworks
    • uses an autonomous system number for activation
    • gives full route table update every 90 seconds
    • administrative distance of 100 instead of 120
    • uses bandwidth and delay of the line as metric, with a max houp count of 255 (15 for RIP)
Card Set
CCNA - Routing
ccna study guide - routing