D-Link NetDefend DFL-210 User Manual page 138

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

Advertisement

4.2.2. Static Routing
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
213.124.165.0/24
0.0.0.0/0
Web Interface
To see the configured routing table:
1.
Go to Routing > Routing Tables
2.
Select the main routing table
The main window will list the configured routes
To see the active routing table in the Web Interface, select the Routes item in the Status dropdown menu in the
menu bar - the main window will list the active routing table
Default Static Routes are Added Automatically for Each Interface
When the NetDefend Firewall is started for the first time, NetDefendOS will automatically add a
route in the main routing table for each physical interface. These routes are assigned a default IP
address object in the address book and these IP objects must have their addresses changed to the
appropriate range for traffic to flow.
These automatically added routes cannot be removed manually by deleting them one at a time
from a routing table. Instead, the properties of the interface must be selected and the advanced
option Automatically add a route for this interface using the given network must be disabled.
This will remove any route that was added automatically at startup. This option has no other purpose
but to delete the automatically added routes.
The all-nets Route
The most important route that should be defined is the route to all-nets which usually corresponds to
Network
Gateway
--------
-------------
all-nets
213.124.165.1
lannet
(none)
wannet
(none)
Iface
lan
wan
wan
Tip: The CLI cc command may be needed first
In the CLI example above, it was necessary to first select the name of a specific
routing table with the cc command (meaning change category or change context)
before manipulating individual routes. This is necessary for any category that could
contain more than one named group of objects.
Note: The metric for default routes is 100
The metric assigned to the default routes automatically created for the physical
interfaces is always 100.
Local IP
--------
(none)
(none)
(none)
Gateway
Local IP Metric
213.124.165.1
138
Chapter 4. Routing
0
0
0

Advertisement

Table of Contents
loading

Table of Contents