Networking: Understanding Routing Tables
5 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What option is required when using the route command for IPv6 routing?

  • -4
  • -c
  • -n
  • -6 (correct)
  • What is the purpose of the gw option in the route command?

  • To specify the IP address
  • To specify the network interface
  • To specify the gateway (correct)
  • To specify the subnet mask
  • What is the equivalent command to ip route add for the route command?

  • route add
  • route -6 add (correct)
  • route add gw
  • route -n add
  • What is the result of not configuring a route to a destination network?

    <p>The packet will be dropped and a 'Network is unreachable' error will be returned</p> Signup and view all the answers

    What is the purpose of the ip route del command?

    <p>To delete a route from the routing table</p> Signup and view all the answers

    Study Notes

    Viewing Routing Table

    • The netstat -r command displays the routing table, including the destination, gateway, netmask, and interface.
    • The ip route command shows the routing table in a similar format, with additional information about the protocol and scope.
    • The route command is similar to netstat -r, but with additional information about the metric and reference count.

    IPv6 Routing Table

    • The route -6, netstat -6r, and ip -6 route commands display the IPv6 routing table.
    • The IPv6 routing table includes information about the destination, next hop, flag, metric, reference count, and use.

    Flags in Routing Table

    • The U flag indicates that a route is up.
    • The ! flag indicates a rejected route.
    • The n flag indicates that the route has not been cached.
    • The G flag indicates a gateway.

    Adding and Deleting Routes

    • The route -6 add command adds a new route to the IPv6 routing table.
    • The ip route add command adds a new route to the IPv6 routing table.
    • The route -6 del command deletes a route from the IPv6 routing table.
    • The ip route del command deletes a route from the IPv6 routing table.

    Ping Command

    • The ping6 command is used to test IPv6 connectivity.
    • The ping6 command can be used to test the reachability of an IPv6 address.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Description

    This quiz covers the basics of viewing and understanding routing tables in networking. Learn how to use the netstat command and interpret the output to troubleshoot network connectivity issues.

    More Like This

    Routing Table Entries in IPv4 Networks
    10 questions
    Networking Packet Forwarding
    10 questions
    Use Quizgecko on...
    Browser
    Browser