www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / CompTIA / Network+ / Section IV: Network Management / Chapter 23: Software Troubleshooting Tools / Route

Route

Every Layer 3 device on the network has a routing table, even if it is not a router. This routing table, sometimes transparent to the user, decides where to send network traffic and on what interface based on the destination address. For workstations with a single NIC, this process is very simple, as every packet is sent out of the only interface available. However, if you have a server with multiple network interfaces, things get complicated because there are multiple ways to send traffic out to the network.

On most devices there is a command that allows the user to view the existing routing table or even to modify it. Most of the time you will use it only to view the routing table for troubleshooting purposes, but there might be situations in which you want to influence path selection decisions so you might want to edit the routing table. Caution must be taken in such situations because modifying the devices’ routing tables without knowing how the traffic flows can cause a lot of harm. In Windows and Linux environments, the route command is used to achieve this purpose.

 

Route on Windows

On Windows machines, if you type the route command you will see all the available options. To view the routing table (both for IPv4 and IPv6), you can issue the route print command, as shown in the screenshot below:

 23.22

Figure 23.22 – Routing Table in Windows

 

Some of the most important information you can see in the route print output include:

  • Network destinations and network mask
  • Gateway for each destination
  • Outgoing interface
  • Metric for each route

If you need to add a route in the routing table, can issue the route add <destination> mask <mask> <gateway> metric <metric> command. If you need to delete a route in the routing table, you can issue the route delete <prefix> command.

 

Route on Linux

On Linux machines, you can use the same command used on Windows machines to show the routing table, as shown in the screenshot below:

 23.23

Figure 23.23 – Routing Table in Linux

 

Some of the most important information you can see in the output above includes:

  • Destination network
  • Gateway
  • Network mask
  • Flags
  • Route metric
  • Outgoing interface

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.