- How Can I Read the Route Table?
- How Can I Modify the Route Table?
- How Can I Modify the Route Table to Block Traffic to an Internet Site?
- Recommendations, Caveats, and Other Notes
How Can I Modify the Route Table?
A number of ways exist for modifying the route table. There are a variety of GUIs, such as the Microsoft Routing and Remote Access control, for example, but our preference is to use the basic route command from a standard command prompt. It is the standard method for accomplishing routing tasks, and it tends to remain very similar across most operating systems and platforms.
The most common modifiers are shown in Table 1.
Table 1 route Command Modifiers
|
Prints a route |
ADD |
Adds a route |
DELETE |
Deletes a route |
CHANGE |
Modifies an existing route |
route print
You've already used the route print command to display the route table information. This is where you start to use that information to meet your purpose.
route add
The route add command enables you to add network destinations that are not on your default route table. This is the command that you use to help block unwanted Internet traffic.