Route Redistribution

Route redistribution on the firewall is the process of making routes that the firewall learned from one routing protocol (or a static or connected route) available to a different routing protocol, thereby increasing accessibility of network traffic. Without route redistribution, a router or virtual router advertises and shares routes only with other routers that run the same routing protocol. You can redistribute IPv4 or IPv6 BGP, connected, or static routes into the OSPF RIB and redistribute OSPFv3, connected, or static routes into the BGP RIB.
This means, for example, you can make specific networks that were once available only by manual static route configuration on specific routers available to BGP autonomous systems or OSPF areas. You can also advertise locally connected routes, such as routes to a private lab network, into BGP autonomous systems or OSPF areas.
You might want to give users on your internal OSPFv3 network access to BGP so they can access devices on the internet. In this case you would redistribute BGP routes into the OSPFv3 RIB.
Conversely, you might want to give your external users access to some parts of your internal network, so you make internal OSPFv3 networks available through BGP by redistributing OSPFv3 routes into the BGP RIB.
  1. Create a redistribution profile.
    1. Select NetworkVirtual Routers and select a virtual router.
    2. Select Redistribution Profile and IPv4 or IPv6 and Add a profile.
    3. Enter a Name for the profile, which must start with an alphanumeric character and can contain zero or more underscores (_), hyphens (-), dots (.), or spaces (up to 16 characters).
    4. Enter a Priority for the profile in the range 1 to 255. The firewall matches routes to profiles in order using the profile with the highest priority (lowest priority value) first. Higher priority rules take precedence over lower priority rules.
    5. For Redistribute, select one of the following:
      • Redist—Select for redistribution the routes that match this filter.
      • No Redist—Select for redistribution routes that match the redistribution profiles except the routes that match this filter. This selection treats the profile as a blacklist that specifies which routes not to select for redistribution. For example, if you have multiple redistribution profiles for BGP, you can create a No Redist profile to exclude several prefixes, and then a general redistribution profile with a lower priority (higher priority value) after it. The two profiles combine and the higher priority profile takes precedence. You can’t have only No Redist profiles; you would always need at least one Redist profile to redistribute routes.
    6. On the General Filter tab, for Source Type, select one or more types of route to redistribute:
      • bgp—Redistribute BGP routes that match the profile.
      • connect—Redistribute connected routes that match the profile.
      • ospf(IPv4 only)—Redistribute OSPF routes that match the profile.
      • rip (IPv4 only)—Redistribute RIP routes that match the profile.
      • ospfv3 (IPv6 only)—Redistribute OSPFv3 routes that match the profile.
      • static—Redistribute static routes that match the profile.
    7. (Optional) For Interface, Add one or more egress interfaces of associated routes to match for redistribution. To remove an entry, click Delete.
    8. (Optional) For Destination, Add one or more IPv4 or IPv6 destinations of routes to match for redistribution. To remove an entry, click Delete.
    9. (Optional) For Next Hop, Add one or more next hop IPv4 or IPv6 addresses of routes to match for redistribution. To remove an entry, click Delete.
    10. Click OK.
  2. (Optional—When General Filter includes ospf or ospfv3) Create an OSPF filter to further specify which OSPF or OSPFv3 routes to redistribute.
    1. Select NetworkVirtual Routers and select the virtual router.
    2. Select Redistribution Profile and IPv4 or IPv6 and select the profile you created.
    3. Select OSPF Filter.
    4. For Path Type, select one or more of the following types of OSPF path to redistribute: ext-1, ext-2, inter-area, or intra-area.
    5. To specify an Area from which to redistribute OSPF or OSPFv3 routes, Add an area in IP address format.
    6. To specify a Tag, Add a tag in IP address format.
    7. Click OK.
  3. (Optional—When General Filter includes bgp) Create a BGP filter to further specify which BGP routes to redistribute.
    1. Select NetworkVirtual Routers and select the virtual router.
    2. Select Redistribution Profile and IPv4 or IPv6 and select the profile you created.
    3. Select BGP Filter.
    4. For Community, Add to select from the list of communities, such as well-known communities: local-as, no-advertise, no-export, or nopeer. You can also enter a 32-bit value in decimal or hexadecimal or in AS:VAL format, where AS and VAL are each in the range 0 to 65,535. Enter a maximum of 10 entries.
    5. For Extended Community, Add an extended community as a 64-bit value in hexadecimal or in TYPE:AS:VAL or TYPE:IP:VAL format. TYPE is 16 bits; AS or IP is 16 bits; VAL is 32 bits. Enter a maximum of five entries.
    6. Click OK.
  4. Select the protocol into which you are redistributing routes, and set the attributes for those routes.
    This task illustrates redistributing routes into BGP.
    1. Select NetworkVirtual Routers and select the virtual router.
    2. Select BGPRedist Rules.
    3. Select Allow Redistribute Default Route to allow the firewall to redistribute the default route.
    4. Click Add.
    5. Select Address Family Type: IPv4 or IPv6 to specify in which route table the redistributed routes will be put.
    6. Select the Name of the Redistribution profile you created, which selects the routes to redistribute.
    7. Enable the redistribution rule.
    8. (Optional) Enter any of the following values, which the firewall applies to the routes being redistributed:
      • Metric in the range 1 to 65,535.
      • Set Origin—Origin of the route: igp, egp, or incomplete.
      • Set MED—MED value in the range 0 to 4,294,967,295.
      • Set Local Preference—Local preference value in the range 0 to 4,294,967,295.
      • Set AS Path Limit—Maximum number of autonomous systems in the AS_PATH in the range 1 to 255.
      • Set Community—Select or enter a 32-bit value in decimal or hexadecimal, or enter a value in AS:VAL format, where AS and VAL are each in the range 0 to 65,525. Enter a maximum of 10 entries.
      • Set Extended Community—Select or enter an extended community as a 64-bit value in hexadecimal or in TYPE:AS:VAL or TYPE:IP:VAL format. TYPE is 16 bits; AS or IP is 16 bits; VAL is 32 bits. Enter a maximum of five entries.
    9. Click OK.
  5. Commit.
    Click Commit.

Related Documentation