NetDefendOS, as standard, has one default routing table called main. In addition to the main table,
it is possible to define one or more, additional routing tables for policy-based routing. (these will
sometimes be referred to as alternate routng tables).
Alternate routing tables contain the same information for describing routes as main, except that
there is an extra property defined for each of them which is called ordering. The ordering property
decides how route lookup is done using alternate tables in conjunction with the main table. This is
described further below.
Example 4.4. Creating a Routing Table
In this example, a new routing table called MyPBRTable is created with the Ordering property set to First.
Command-Line Interface
To see the configured routing table:
gw-world:/> add RoutingTable MyPBRTable Ordering=First
Web Interface
1.
Go to: Routing > Routing Tables > Add > RoutingTable
2.
Now enter:
•
Name: MyPBRTable
•
For Ordering select one of:
•
First - the named routing table is consulted first of all. If this lookup fails, the lookup will continue in the
main routing table.
•
Default - the main routing table will be consulted first. If the only match is the default route (in other
words the all-nets route), the named routing table will be consulted. If the lookup in the named routing
table fails, the lookup as a whole is considered to have failed.
•
Only - the named routing table is the only one consulted. If this lookup fails, the lookup will not
continue in the main routing table.
3.
If Remove Interface IP Routes is enabled, the default interface routes are removed, that is to say routes to
the core interface (which are routes to NetDefendOS itself).
4.
Click OK
Example 4.5. Adding Routes
After defining the routing table MyPBRTable, routes can be added to the table. Assume that the route to a
network my_network is to be defined for the lan interface.
Command-Line Interface
Change the context to the routing table:
gw-world:/> cc RoutingTable MyPBRTable
Add a route
gw-world:/main> add Route Interface=lan Network=my_network
Web Interface
4.3. Policy-based Routing
Chapter 4. Routing
187
Summary of Contents for NetDefend DFL-1660
Page 28: ...1 3 NetDefendOS State Engine Packet Flow Chapter 1 NetDefendOS Overview 28 ...
Page 88: ...2 6 3 Restore to Factory Defaults Chapter 2 Management and Maintenance 88 ...
Page 166: ...3 10 DNS Chapter 3 Fundamentals 166 ...
Page 254: ...4 7 5 Advanced Settings for Transparent Mode Chapter 4 Routing 254 ...
Page 268: ...5 4 IP Pools Chapter 5 DHCP Services 268 ...
Page 368: ...6 7 Blacklisting Hosts and Networks Chapter 6 Security Mechanisms 368 ...
Page 390: ...7 4 7 SAT and FwdFast Rules Chapter 7 Address Translation 390 ...
Page 414: ...8 3 Customizing Authentication HTML Pages Chapter 8 User Authentication 414 ...
Page 490: ...9 8 6 Specific Symptoms Chapter 9 VPN 490 ...
Page 528: ...10 4 6 Setting Up SLB_SAT Rules Chapter 10 Traffic Management 528 ...
Page 544: ...11 7 HA Advanced Settings Chapter 11 High Availability 544 ...
Page 551: ...12 3 5 Limitations Chapter 12 ZoneDefense 551 ...
Page 574: ...Default 512 13 9 Miscellaneous Settings Chapter 13 Advanced Settings 574 ...
Page 575: ...13 9 Miscellaneous Settings Chapter 13 Advanced Settings 575 ...