beautypg.com

Displaying the core routes, Core routes, Static routing chapter 4. routing 93 – D-Link DFL-2500 User Manual

Page 93

background image

213.124.165.0/24

wan

0

0.0.0.0/0

wan

213.124.165.1

0

Web Interface

To see the configured routing table:

1.

Go to Routing > Routing Tables

2.

Select and right-click the main routing table in the grid

3.

Choose Edit in the menu

The main window will list the configured routes

To see the active routing table, select the Routes item in the Status dropdown menu in the menu bar - the main
window will list the active routing table

Core Routes

NetDefendOS automatically populates the active routing table with Core Routes. These routes are
present for the system to understand where to route traffic that is destined for the system itself.
There is one route added for each interface in the system. In other words, two interfaces named lan
and wan, and with IP addresses 192.168.0.10 and 193.55.66.77, respectively, will result in the
following routes:

Route #

Interface

Destination

Gateway

1

core

192.168.0.10

2

core

193.55.66.77

When the system receives an IP packet whose destination address is one of the interface IPs, the
packet will be routed to the core interface. In other words, it is processed by NetDefendOS itself.

There is also a core route added for all multicast addresses:

Route #

Interface

Destination

Gateway

1

core

224.0.0.0/4

To include the core routes when you display the active routing table, you have to specify an option
to the routing command.

Example 4.2. Displaying the Core Routes

This example illustrates how to display the core routes in the active routing table.

CLI

gw-world:/> routes -all

Flags Network

Iface

Gateway

Local IP

Metric

----- ------------------ -------------- --------------- --------------- ------

127.0.0.1

core

(Shared IP)

0

192.168.0.1

core

(Iface IP)

0

213.124.165.181

core

(Iface IP)

0

127.0.3.1

core

(Iface IP)

0

127.0.4.1

core

(Iface IP)

0

192.168.0.0/24

lan

0

213.124.165.0/24

wan

0

224.0.0.0/4

core

(Iface IP)

0

0.0.0.0/0

wan

213.124.165.1

0

4.2.2. Static Routing

Chapter 4. Routing

93