Displaying The Routing Table - D-Link DFL-1660 User Manual

Network security firewall
Hide thumbs Also See for DFL-1660:
Table of Contents

Advertisement

4.2.2. Static Routing
10.4.2.143
10.255.255.255
85.11.194.33
127.0.0.0
192.168.0.0
192.168.0.10
192.168.0.255
224.0.0.0
224.0.0.0
255.255.255.255
255.255.255.255
Default Gateway:
====================================================================
Persistent Routes:
None
The corresponding routing table in NetDefendOS is similar to this:
Flags Network
----- ------------------ -------- -------------- --------- ------
192.168.0.0/24
10.0.0.0/8
0.0.0.0/0
The NetDefendOS way of describing the routes is easier to read and understand. Another advantage
with this form of notation is that you can specify a gateway for a particular route without having a
route that covers the gateway's IP address or despite the fact that the route covers the gateway's IP
address is normally routed via another interface.
It is also worth mentioning that NetDefendOS allows you to specify routes for destinations that are
not aligned with traditional subnet masks. In other words, it is perfectly legal to specify one route
for the destination address range 192.168.0.5 to 192.168.0.17 and another route for addresses
192.168.0.18 to 192.168.0.254. This is a feature that makes NetDefendOS highly suitable for
routing in highly complex network topologies.

Displaying the Routing Table

It is important to distinguish between the routing table that is active in the system, and the routing
table that you configure. The routing table that you configure contains only the routes that you have
added manually (in other words, the static routes). The content of the active routing table, however,
will vary depending on several factors. For instance, if dynamic routing has been enabled, the
routing table will be populated with routes learned by communicating with other routers in the
network. Also, features such as route fail-over will cause the active routing table to look different
from time to time.
Example 4.1. Displaying the Routing Table
This example illustrates how to display the contents of the configured routing table as well as the active routing
table.
CLI
To see the configured routing table:
gw-world:/> cc RoutingTable main
0.0.0.0
10.0.0.0
255.0.0.0
255.255.255.255
255.255.255.255
255.255.255.255
255.0.0.0
255.255.255.0 192.168.0.10
255.255.255.255
255.255.255.255 192.168.0.10
240.0.0.0
240.0.0.0 192.168.0.10
255.255.255.255
255.255.255.255 192.168.0.10
192.168.0.1
Iface
lan
wan
wan
0.0.0.0
192.168.0.1
10.4.2.143
127.0.0.1
10.4.2.143
192.168.0.1
127.0.0.1
127.0.0.1
10.4.2.143
10.4.2.143
Gateway
192.168.0.1
134
Chapter 4. Routing
192.168.0.10
10.4.2.143
127.0.0.1
10.4.2.143
192.168.0.10
127.0.0.1
192.168.0.10
127.0.0.1
192.168.0.10
10.4.2.143
192.168.0.10
10.4.2.143
192.168.0.10
Local IP
Metric
20
1
20
20
1
50
50
20
1
20
20
20
50
20
1
1

Advertisement

Table of Contents
loading

Table of Contents