Import Routes From An Ospf As Into The Main Routing Table - D-Link NetDefendOS User Manual

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

Advertisement

Next, add the OSPFInterface object:
gw-world:/as_0/area_0> add OSPFInterface If1 Passive=Yes
Enabling the Passive option means that this interface is not connected to another OSPF router.
Finally, return to the default CLI context:
gw-world:/as_0/area_0> cc
gw-world:/>
Web Interface
1.
Go to: Network > Routing > OSPF > as_0 > area_0 > OSPF Interfaces
2.
Select Add > OSPF Interface
3.
Select the Interface. In this case, If1
4.
Select the Advanced tab
5.
Select No OSPF routers connected to this interface
6.
Click OK
Just selecting the Interface means that the Network defaults to the network bound to that
interface. In this case If1_net.
This should be repeated for all interfaces that will be part of the OSPF area. In this case, the
interface If3 must also be added as an OSPFInterface but the Passive property should be left at its
default value of enabled since this interface is connected to another router.
firewall B, should then be set up in the same way.
Example 4.13. Import Routes from an OSPF AS into the Main Routing Table
In this example, the routes received using OSPF will be added into the main routing table. To do
this, a Dynamic Routing Policy Rule first needs to be created. In this example, the rule is called
ImportOSPFRoutes.
The rule must specify from what OSPF AS the routes should be imported. In this example, the
OSPF AS configured above, with the name as_0, is used.
Depending on the routing topology, it may be preferable to just import certain routes using the
Destination Interface/Destination Network filters, but in this scenario all routes that are within the
all-nets network object are allowed.
The steps are first performed for firewall A.
Command-Line Interface
gw-world:/> add DynamicRoutingRule
Web Interface
OSPFProcess=as_0
Name=ImportOSPFRoutes
DestinationNetworkIn=all-nets
355
Chapter 4: Routing

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents