We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

This Firmware Version Is End-Of-Support

Documentation for this product is no longer updated. Please see End-of-Support for CloudGen Firewall Firmware for further information on our EoS policy.

Routing

  • Last updated on

Routing tables are used to store the best path to a remote network. Routing tables are processed from top to bottom. If the source of the outgoing packets matches, the routes in the route table are evaluated and the packet forwarded to the correct interface, next hop gateway, or VPN tunnel. Routes are evaluated first by the destination route metric (preference) of an IP packet and then by the scope (network size) to determine which routes matches. Two routes of the same scope (e.g., /24) and metric cannot be created. The Management network always uses a preference of 0.

  • If two routes with different preferences exist, the route with the lower preference is chosen. E.g., 10.0.10.0/25 (preference 10) is preferred over 10.0.10.0/25 (preference 100)
  • If two routes with the same preference exist to a destination, the route with the smaller subnet mask is used. E.g., 10.0.10.0/24 is preferred over 10.0.0.0/16
  • VPN routes are placed in a premain, source-based route table by default. If single routing table is enabled in the VPN settings, VPN routes are inserted into the main routing table with a preference of 10. For more information, see Authentication, Encryption, Transport, IP Version and VPN Routing.

Routing_Overview.png

Directly attached network routes (direct routing)

Define how to reach networks that are directly connected to an interface (virtual or physical) of the firewall. To define a directly attached network route, you must enter:

  • Target network in CIDR Format – E.g.,10.0.8.0/24 or 2001:db8::6299::/64
  • Interface  The network interface on the firewall the network is attached to. E.g., eth2 or port2

After you have introduced the directly attached route and activated the network configuration, the route is in a pending state. Pending routes are marked with the  route_pending.png  icon in CONTROL > Network and are not active. When a virtual server IP address from this network is introduced, the route becomes active and the route_active.png icon is displayed for the route.

In the diagram above, you must create a direct route for the ISP issued 62.99.0.0/24. To reach the Internet, a gateway route must be created. If you enter the optional gateway IP address when creating the directly attached route, the default gateway route is created automatically.

You do not need to create a directly attached route for the network the management IP address is in. This route is created automatically when the management IP address is configured.

Using additional local IPs to directly attach networks

Additional local IP addresses are a combination of a box level IP address and a direct attached route. The route becomes active when the network configuration is activated; the route is never pending because of the additional IP address. Add the Additional IP addresses (CONFIGURATION > Configuration Tree > Box > Network). IP addresses assigned on box level should not be used on the server layer of a high availability cluster. When using the IP address on box level, the route will remain active even if the virtual server is running on the other firewall in the HA cluster.

Gateway routes (next hop routing)

To reach networks that cannot be directly accessed, you must define gateway routes. A common gateway route is the default route (0.0.0.0/0), which will forward all packets not belonging to one of the directly attached networks to the remote gateway provided by the ISP. Before adding a gateway route, a direct route must be configured. Otherwise, you cannot contact the next hop IP address. If you are using multiple gateway routes for the same target network, you must give them different route metrics. Gateway routes automatically monitor the gateway IP address. When the gateway is no longer considered healthy 6535 is added to the metric of the route. Routes with a metric above 65535 are considered to be down. To define a gateway route, you must enter:

  • Target network – Target network in CIDR format. E.g., 0.0.0.0/0 or ::0/0 for the default route
  • Next hop address – IP address of the gateway device the traffic is sent to. E.g., 62.99.0.254 or 2001:db8:10::ffff

After adding the gateway route, you must initiate a Failsafe network activation for the route to become active (route_active.png in CONTROL > Network).

 For setup instructions, see How to Configure Gateway Routes and How to Configure IPv6 Gateway Routes.

Multipath routing

The Barracuda NextGen Firewall F-Series supports standard Linux multipath routing and Firewall-assisted multipath routing. Standard Linux multipath routing balances do not offer dead next hop detection or session packet balancing. Simple redundancy by next hop detection can be provided by adding multiple routing entries with different route preference numbers. Firewall-assisted multipath routing supports per-packet balancing between next hops and dead next peer detection and is configured in the Forwarding Firewall service.

For setup instructions, see:

Source-based routes (policy based routing)

Source-based routes can be created manually for static interfaces, or in the configuration for the dynamic interface (DHCP, xDSL, ...). For each route table, you define which source network and then create routes in the source-based route table. The routes can be one of three types:

  • unicast
  • multipath
  • throw – A throw route causes the table lookup to be terminated.

Source-based routes are automatically created for dynamic interfaces. Configure a DHCP, xDSL, or ISDN link. You can disable source-based routing per advanced configuration.

For setup instructions, see How to Configure Source-Based Routes.

Last updated on