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

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

Advertisement

4.5.6. An OSPF Example
Web Interface
1.
Go to: 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.12. 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 witrh 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
1.
Go to: Routing > Dynamic Routing Rules > Add > Dynamic Routing Policy Rule
2.
Specify a suitable name for the rule. For example, ImportOSPFRoutes.
3.
Select the option From OSPF Process
4.
Move as_0 from Available to Selected
5.
Choose all-nets in the ...Or is within filter option for Destination Interface
6.
Click OK
Now, create a Dynamic Routing Action that will import routes into the routing table. The destination routing table
that the routes should be added to is main.
Command-Line Interface
First, change the CLI context to be the DynamicRoutingRule just added for import:
gw-world:/> cc DynamicRoutingRule ImportOSPFRoutes
Next, add a DynamicRoutingRuleAddRoute object:
OSPFProcess=as_0
Name=ImportOSPFRoutes
DestinationNetworkIn=all-nets
222
Chapter 4. Routing

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dfl-2560Dfl-2560gDfl-260eDfl-860e

Table of Contents