quiz image

Networking: Understanding Routing Tables

GuiltlessAshcanSchool avatar
GuiltlessAshcanSchool
·
·
Download

Start Quiz

Study Flashcards

5 Questions

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

-6

What is the purpose of the gw option in the route command?

To specify the gateway

What is the equivalent command to ip route add for the route command?

route -6 add

What is the result of not configuring a route to a destination network?

The packet will be dropped and a 'Network is unreachable' error will be returned

What is the purpose of the ip route del command?

To delete a route from the routing table

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.

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.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Unicast Routing Protocols Quiz
5 questions
Routing Tables and Dynamic Routing Protocols
38 questions
OSPF Database and Routing Table Quiz
12 questions
Routing Table Entries in IPv4 Networks
10 questions
Use Quizgecko on...
Browser
Browser