![]() |
Using Management Center for Firewalls 1.2
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuring Routing Rules
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsConfiguring Routing RulesLearn More About Routing Configuring Static Routes Adding or Editing a Static Route
Configuring RIPDeleting a Static Route Static Route Field-Level Elements and Descriptions RIP Version 2 Important Notes
Configuring Proxy ARP SettingsAdding or Editing a RIP Rule Deleting a RIP Rule RIP Field-Level Elements and Descriptions Configuring Routing RulesRouting refers to the delivery of network packets to their destinations over a network. To communicate with a gateway, every network object must have a routing rule defined that permits the network object to reach the gateway, must use the default route, or must use the Address Resolution Protocol (ARP) to find the MAC address of the gateway on the network segment. In addition, the gateway must have a rule defined that permits it to reach the network on which the network object resides or to select the next gateway object in the path. The firewall devices managed by Firewall MC accomplish routing by using one or more of the following:
As the administrator of firewall devices, you must determine which method you prefer to use to obtain routing information on your network. Learn More About RoutingTo define rules properly, you must understand how routing works. This section is a high-level discussion about routing network packets and how a gateway selects which routing rule to apply for a specific communication.
Before any network packet can traverse the network from NetObject A to NetObject B, for example, routes must exist for NetObject B on every gateway along the path from NetObject A to NetObject B. Each gateway moves the network packet one step farther down the path, using routing rules to determine the next gateway. The address of the next gateway is the hop IP address. For a network session to occur between NetObject A and NetObject B, the inverse routes must exist on every gateway along the path from NetObject B to NetObject A. The two paths do not have to be symmetric. Just because a computer exists on your internal networks does not mean that gateways have a routing rule defined for it. If a computer cannot communicate with a gateway, most likely no routing rule is defined to reach that computer (or the computer does not have a routing rule to reach the gateway). Even when the computer resides on your trusted networks, a gateway drops all network packets destined for that computer if a route is not defined directly to that computer or the network on which that computer resides. Defining routing rules is similar to charting a course of travel. When you look at a map, you can plan an optimal route to a specific destination. When a gateway determines what route to use, it selects the most specific routing rule (based on the highest netmask). To understand how netmasks are used, consider a gateway that is attached to the 10.0.0.0 network. Example: Consider two routing rules: 1. address: 10.1.2.0 netmask: 255.255.255.0 gateway: 10.0.0.4 2. address: 10.1.0.0 netmask: 255.255.0.0 gateway: 10.0.0.5 Rule 1 applies for network packets that are destined for the more exclusive 10.1.2.* subnetwork, whereas Rule 2 applies to those network packets destined to the 10.1.*.* subnetwork, but not to the 10.1.2.* subnetwork. For example, Rule 2 would apply to network packets destined for 10.1.3.13, and Rule 1 would apply to network packets destined for 10.1.2.13. In this example, the most specific netmask value determines which rule to use. This value is selected from the list of available rules that are applicable to the destination address of a network packet. Because the netmask value in Rule 1 is 255.255.255.0, we know that the first three octets in the address must match when determining whether to apply this routing rule. In Rule 2, we know that only the first two octets must match when determining whether to apply it. Because Rule 1 has three significant octets, it has the highest netmask value. When the gateway receives a network packet destined for a host on the 10.1.2 network, Rule 1 is always applied instead of Rule 2. Rule 1 applies because it is a valid rule for routing the network packet (as is Rule 2) and Rule 1 has a larger netmask value than Rule 2. Currently, gateways support the concept of classless networks, or Classless Inter-Domain Routing (CIDR). For more information about CIDR, review the Request for Comment (RFC) documents 1517, 1518, and 1519 at http://www.rfc-editor.org/rfc-index2.html . Each gateway actually maintains two sets of routing rules: one set is dynamic and the other is static. The dynamic routing rules are updated by router-to-router communications if such protocols are enabled. Configuring Static RoutesA static route is a routing rule that is configured explicitly and entered into the routing table of the firewall device. The Static Route feature allows you to define static routes for a specified interface. To enter a default route, set the destination IP address and mask to 0.0.0.0.
Adding or Editing a Static RouteUnless one of the following criteria is met, you should define a static route to ensure that the firewall device correctly forwards network packets it receives:
You can also use a static route to override any dynamic routes that are discovered for this host or network by specifying a static route with a lower metric than the discovered dynamic routes. To create a static route for a host or network, you must define the IP address and metric for the hop gateway to which the firewall will forward packets destined to the selected host or network. You can also define multiple static routes for a host or network. Step 1 Select Configuration > Device Settings > Routing > Static Route. The Static Route page appears. Step 2 Do one of the following: Step 3 In the Interface Name list, select the interface that is expected to receive the traffic that you want to route. The wizard displays a list of all interfaces defined at the current scope. Step 4 Enter the address of the network or host to which you are routing in the Destination IP Address field. Because routes to all directly connected networks are derived automatically, this value identifies an address of a network that is not directly connected to one of the firewall device's network interfaces. Use 0.0.0.0 to specify a default route. The default route is used when a packet is destined for a network that is unknown to the firewall device receiving that packet. In this case, all traffic is forwarded to the gateway IP address that is specified in Step 6. Step 5 To specify the network mask that corresponds to the object specified in the Destination IP Address field, enter that value in the Destination IP Mask field. Use 0.0.0.0 to specify a default route mask. Step 6 To specify the default gateway (or the next hop gateway) that forwards any network packets destined to this network or host, enter the new IP address in the Gateway IP Address field. If the static route uses the IP address from one of the firewall device's interfaces as the gateway IP address, the firewall uses ARP to locate the destination IP address in the packet instead of using ARP to locate the gateway IP address. In this case, the firewall device is the last hop. Step 7 Verify the metric setting is correct. The metric setting identifies the expense of the route. Values are 1-15. The default is 1. Step 8 Click Next. The static route summary page appears. Settings enabled during the configuration process are displayed as true in the summary page. Step 9 Verify the information is correct, then click Finish. Changes are applied to the assigned firewall device configuration files when the files are generated. The configuration files are then downloaded to the firewall devices at deployment. Deleting a Static RouteIf you enable dynamic routing or chose to use another solution, such as proxy ARP, you might find it necessary to delete a previously defined static route. However, before you delete a static route, ensure that the traffic is addressed using another routing solution or via a more general routing rule, such as a default route. Otherwise, network traffic will be interrupted. Step 1 Select Configuration > Device Settings > Routing > Static Route. The Static Route table appears. Step 2 Select the check box for the row, then click Delete. You are prompted to confirm the delete request. Step 3 Click OK. The row is removed from the table, and the information is removed from the assigned firewall device configuration files when the files are deployed. Static Route Field-Level Elements and Descriptions
|
|
Routing Information Protocol (RIP) is a distance-vector, intradomain routing protocol. When this feature is enabled, the firewall devices exchange RIP broadcasts with neighbor devices to learn about and advertise route updates. In other words, dynamic routing is enabled on the firewall.
RIP works well in small, homogeneous networks. However, in larger, more complex internetworks it has many limitations. These limitations include a maximum hop count of 15, lack of support for variable-length subnet masks (VLSMs), inefficient use of bandwidth, and slow convergence. The default configuration enables IP routing table updates from RIP broadcast packets received from neighbor routers and other devices; however, the firewall device cannot pass RIP updates between its own interfaces.
The firewall devices support both RIP version 1 and version 2. Version 2 supports VLSMs, and it enables neighbor authentication and can protect the RIP packets using MD5-based encryption. When configured, neighbor authentication occurs whenever routing updates are exchanged between neighboring devices. This authentication ensures that the device receives reliable routing information from a trusted source.
You should configure any firewall device for neighbor authentication if that device meets all of these conditions:
For each interface in a firewall device, you can define one or more RIP rules.
Step 2 Do one of the following:
The Create RIP Rule page appears.
The Create RIP Rule page appears.
Step 3 Select the interface name from the list.
Step 4 Select the action for each interface. Options are:
Step 5 Select the version of RIP (1 or 2) enabled for this interface.
![]() |
Note |
Step 6 Click Next.
Step 7 To configure RIP authentication:
![]() |
Note Although supported, plain text authentication is not recommended for use as part of your security strategy. Its primary use is to avoid accidental changes to the routing infrastructure. Using MD-5 authentication, however, is a recommended security practice. |
b. Enter the authentication key shared with routers and other RIP version 2 devices communicating with a firewall device. The key is an encrypted text string with a maximum of 16 characters.
![]() |
Tip As with all keys, passwords, and other security secrets, it is imperative that you closely guard authentication keys used in neighbor authentication. The security benefits of this feature rely on your keeping all authenticating keys confidential. |
c. Enter the key identification number that must be shared with routers and other version 2 devices communicating with a firewall device. Values are 1-255.
The RIP summary page appears. Settings enabled during configuration are displayed as true in the summary page.
Step 8 Verify the information is correct, then click Finish.
Changes are applied to the assigned firewall device configuration files when the files are generated. The configuration files are then downloaded to the firewall devices at deployment.
If you prefer to use static routes or another solution, such as proxy ARP, you might find it necessary to delete a previously defined RIP route. However, before you delete a RIP route, ensure that the traffic is addressed using another routing solution or via a more general routing rule, such as a default route. Otherwise, network traffic will be interrupted.
Step 2 Select the check box for the row, then click Delete.
You are prompted to confirm the delete.
Step 3 Click OK.
The row is removed from the table, and the information is removed from the assigned firewall device configuration files when the files are deployed.
|
When the proxy Address Resolution Protocol (ARP) feature is enabled, a firewall device answers ARP requests intended for another host. By assuming the identity of the destination, the gateway accepts responsibility for routing packets to the actual destination. When proxy ARP is enabled, hosts on a subnet can reach remote subnets without configuring routing or a default gateway.
The main advantage of using proxy ARP is that firewall devices can enable it and be inserted into the network without disturbing the routing tables of other routers. In addition, you should enable proxy ARP when network hosts are not configured with default gateway information or have no routing intelligence, such as that provided by standard DHCP or WINS configurations.
When proxy ARP is enabled, hosts are unaware of the network and assume that any destination can be reached by sending an ARP request. Therefore, proxy ARP has the following disadvantages:
For each interface in a firewall device, you can enable or disable proxy ARP. By default, all interfaces have proxy ARP enabled.
Step 2 Select the check box(es) if you want to disable the Proxy ARP feature for the inside or outside interface at the current scope.
Step 3 Click Apply.
Changes are applied to the assigned firewall device configuration files when the files are generated. The configuration files are then downloaded to the firewall devices at deployment.
|