Displaying The Routing Table - D-Link NetDefend DFL-210 User Manual

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

Advertisement

4.2.2. Static Routing
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 gateways'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-192.168.0.17 and another route for addresses
192.168.0.18-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
gw-world:/main> show
Route
#
Interface
-
---------
1
wan
2
lan
3
wan
To see the active routing table enter:
gw-world:/> routes
Flags Network
----- ------------------ -------------- --------------- --------------- ------
192.168.0.0/24
Iface
lan
wan
wan
Network
Gateway
--------
-------------
all-nets
213.124.165.1
lannet
(none)
wannet
(none)
Iface
lan
92
Gateway
192.168.0.1
Local IP
--------
(none)
(none)
(none)
Gateway
Local IP
Chapter 4. Routing
Local IP
Metric
20
1
20
Metric
0

Advertisement

Table of Contents
loading

Table of Contents