Displaying The Main Routing Table - D-Link NetDefendOS User Manual

Network security firewall
Hide thumbs Also See for NetDefendOS:
Table of Contents

Advertisement

A separate route does not need to be defined that includes the gateway IP address.
It does not matter even if there is a separate route which includes the gateway IP address and
that routes traffic to a different interface.
Composite Subnets can be Specified
Another advantage with the NetDefendOS approach to route definition is that it allows the
administrator to specify routes for destinations that are not aligned with traditional subnet
masks.
For example, it is perfectly legal to define one route for the destination IP address range
192.168.0.5 to 192.168.0.17 and another route for IP 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 Routing Tables
It is important to note that routing tables that are initially configured by the administrator can
have routes added, deleted and changed automatically during live operation and these changes
will appear when the routing table contents are displayed.
These routing table changes can take place for different reasons. For example, if dynamic routing
with OSPF has been enabled then routing tables will become populated with new routes learned
from communicating with other OSPF routers in an OSPF network. Other events such as route
failover can also cause routing table contents to change over time.
Example 4.1. Displaying the main Routing Table
This example illustrates how to display the contents of the default main routing table.
Command-Line Interface
To see the routing table contents:
gw-world:/> cc RoutingTable main
gw-world:/main> show
Route
#
Interface
Network
-
---------
--------
1
wan
all-nets
2
lan
lannet
3
wan
wannet
To return the default CLI context:
gw-world:/main> cc
gw-world:/>
To see the active routing table enter:
gw-world:/> routes
Flags Network
----- ------------------ ------- --------------- -------- ------
Gateway
Local IP
-------------
--------
213.124.165.1
<empty>
<empty>
<empty>
<empty>
<empty>
Iface
Gateway
292
Chapter 4: Routing
Local IP Metric

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents