<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proper protocol to advertise a netblock to a BGP peer in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/233939#M45302</link>
    <description>&lt;P&gt;NAT pools should also be available via CLISH per:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_Gaia_Advanced_Routing_AdminGuide/Content/Topics-GARG/NAT-Pools-Configuring-in-Gaia-Clish.htm?Highlight=Nat%20pool" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_Gaia_Advanced_Routing_AdminGuide/Content/Topics-GARG/NAT-Pools-Configuring-in-Gaia-Clish.htm?Highlight=Nat%20pool&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This discussion may also be helpful for your future endeavors:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/Security-Gateways/AS-Path-prepending-to-two-different-peers-in-the-same-AS/td-p/132851" target="_blank"&gt;https://community.checkpoint.com/t5/Security-Gateways/AS-Path-prepending-to-two-different-peers-in-the-same-AS/td-p/132851&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2024 14:08:55 GMT</pubDate>
    <dc:creator>Chris_Atkinson</dc:creator>
    <dc:date>2024-11-27T14:08:55Z</dc:date>
    <item>
      <title>Proper protocol to advertise a netblock to a BGP peer</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/233935#M45299</link>
      <description>&lt;P&gt;I have a cluster running R81.10 and the latest HFA. It has 2 external interfaces that terminate to two different POPs at the same service provider for some internet redundancy. This service provider has given us a /27 block that we use to NAT various applications. I am currently in the process of configuring BGP so that we can get just default gateways and advertise the /27 for redundancy.&lt;/P&gt;&lt;P&gt;As it sits right now, I have one of the external connections configured with BGP and am currently peering with our service provider. I have an import routemap configured to change the local pref of the default gateway we receive to ensure it's preferred over the other I expect to get once it's set up. I also have an export routemap set up to advertise the /27 to the peer using protocol static. And this is where my issue is.&lt;/P&gt;&lt;P&gt;Most of the examples I have seen advertising a netblock to a peer show using protocol static. But, this requires a static route in the routing table for the netblock to be advertised, otherwise it won't work. However, this just doesn't "feel" right. I have looked over the documentation and other examples and it seems like "NAT Pools" is what I need, but I only see a way to use those in the Gaia WebUI. Unfortunately, this doesn't work for me since I need to advertise to two different peers in the same AS, so that means only routemaps work, and I see no way of using "NAT Pools" in routemaps. I have also tested using protocol direct in my routemap, but that doesn't work either.&lt;/P&gt;&lt;P&gt;What am I missing here? Am I doing this right and I'm just forced to keep the /27 in the static routing table for advertisement?&lt;/P&gt;&lt;P&gt;Here is an example of the routemap I am using and how I am applying it to the peer:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;set routemap mymap id 10 on
set routemap mymap id 10 allow
set routemap mymap id 10 match network 1.1.1.1/27 all
set routemap mymap id 10 match protocol static

set bgp external remote-as 1234 peer 2.2.2.2 export-routemap mymap preference 1 on&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 17:18:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/233935#M45299</guid>
      <dc:creator>JoeBandura</dc:creator>
      <dc:date>2024-11-27T17:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proper protocol to advertise a netblock to a BGP peer</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/233939#M45302</link>
      <description>&lt;P&gt;NAT pools should also be available via CLISH per:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_Gaia_Advanced_Routing_AdminGuide/Content/Topics-GARG/NAT-Pools-Configuring-in-Gaia-Clish.htm?Highlight=Nat%20pool" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_Gaia_Advanced_Routing_AdminGuide/Content/Topics-GARG/NAT-Pools-Configuring-in-Gaia-Clish.htm?Highlight=Nat%20pool&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This discussion may also be helpful for your future endeavors:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/Security-Gateways/AS-Path-prepending-to-two-different-peers-in-the-same-AS/td-p/132851" target="_blank"&gt;https://community.checkpoint.com/t5/Security-Gateways/AS-Path-prepending-to-two-different-peers-in-the-same-AS/td-p/132851&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 14:08:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/233939#M45302</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2024-11-27T14:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proper protocol to advertise a netblock to a BGP peer</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/233940#M45303</link>
      <description>&lt;P&gt;This documentation shows how to configure NAT Pools via clish, but not how to use them in a routemap. Do you have documentation or an example of that somewhere?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 14:10:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/233940#M45303</guid>
      <dc:creator>JoeBandura</dc:creator>
      <dc:date>2024-11-27T14:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proper protocol to advertise a netblock to a BGP peer</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/233946#M45307</link>
      <description>&lt;P&gt;The NAT pools documentation otherwise indicates you can also use route redistribution statements as an alternative which would potentially negate the need for the match protocol portion of your route-map.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generally routemaps assigned to a protocol for import or export override corresponding filters and route redistribution rules.&lt;/P&gt;
&lt;P&gt;I'm not currently in a position to test their use simultaneously with respect to this scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 00:56:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/233946#M45307</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2024-11-28T00:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proper protocol to advertise a netblock to a BGP peer</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/234003#M45325</link>
      <description>&lt;P&gt;You should have nat-pools as a protocol match criteria option for use in your route-map e.g.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nat-pool.jpg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/28578i5EFAEA68563E94D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="nat-pool.jpg" alt="nat-pool.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 00:57:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/234003#M45325</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2024-11-28T00:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proper protocol to advertise a netblock to a BGP peer</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/234007#M45326</link>
      <description>&lt;P&gt;That's it. Exactly what I needed. The documentation doesn't show it, but pressing tab a few times in the clish clearly does.&lt;/P&gt;&lt;P&gt;Configured, tested and working.&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 02:26:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Proper-protocol-to-advertise-a-netblock-to-a-BGP-peer/m-p/234007#M45326</guid>
      <dc:creator>JoeBandura</dc:creator>
      <dc:date>2024-11-28T02:26:43Z</dc:date>
    </item>
  </channel>
</rss>

