<?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 Error when creating PBF Policy - IP does not match subnet in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365405#M88555</link>
    <description>&lt;P&gt;I want to create a PBF Policy in order to route traffic from one zone/interface destined for the Internet to a transparent intercepting squid proxy in another zone/behind another interface. Using a destination nat policy seems to work, but some other problem occurs and I was advised to try a PBF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PBF is defined as follows:&lt;/P&gt;&lt;P&gt;Source:&lt;/P&gt;&lt;P&gt;Type: Interface (same with Zone)&lt;/P&gt;&lt;P&gt;Interface = ethernet1/3.300&lt;/P&gt;&lt;P&gt;Source Address: 192.168.2.66/32 (Just want to happen this for a single IP)&lt;/P&gt;&lt;P&gt;Source User: any&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Destination/Application Service:&lt;/P&gt;&lt;P&gt;Destination Address: any (normally destined for targets in the Internet)&lt;/P&gt;&lt;P&gt;Applications: Any&lt;/P&gt;&lt;P&gt;Service: service-http (tcp/80), service-https (tcp/443)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Forwarding:&lt;/P&gt;&lt;P&gt;Action: Forward&lt;/P&gt;&lt;P&gt;Egress Interface: etherner1/3.200&lt;/P&gt;&lt;P&gt;Next hop: 192.168.0.3/32&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On commit I get the error "Error: pbf rule 'Test PBF': IP 192.168.0.3 does not match subnets defined on pbf interface ethernet1/3.200.&amp;nbsp;Error: Failed to parse pbf policy" that I don't understand because the network 192.168.0.0/24 is the one assigned to that interface.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 22:45:55 GMT</pubDate>
    <dc:creator>daubsi</dc:creator>
    <dc:date>2020-11-24T22:45:55Z</dc:date>
    <item>
      <title>Error when creating PBF Policy - IP does not match subnet</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365405#M88555</link>
      <description>&lt;P&gt;I want to create a PBF Policy in order to route traffic from one zone/interface destined for the Internet to a transparent intercepting squid proxy in another zone/behind another interface. Using a destination nat policy seems to work, but some other problem occurs and I was advised to try a PBF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PBF is defined as follows:&lt;/P&gt;&lt;P&gt;Source:&lt;/P&gt;&lt;P&gt;Type: Interface (same with Zone)&lt;/P&gt;&lt;P&gt;Interface = ethernet1/3.300&lt;/P&gt;&lt;P&gt;Source Address: 192.168.2.66/32 (Just want to happen this for a single IP)&lt;/P&gt;&lt;P&gt;Source User: any&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Destination/Application Service:&lt;/P&gt;&lt;P&gt;Destination Address: any (normally destined for targets in the Internet)&lt;/P&gt;&lt;P&gt;Applications: Any&lt;/P&gt;&lt;P&gt;Service: service-http (tcp/80), service-https (tcp/443)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Forwarding:&lt;/P&gt;&lt;P&gt;Action: Forward&lt;/P&gt;&lt;P&gt;Egress Interface: etherner1/3.200&lt;/P&gt;&lt;P&gt;Next hop: 192.168.0.3/32&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On commit I get the error "Error: pbf rule 'Test PBF': IP 192.168.0.3 does not match subnets defined on pbf interface ethernet1/3.200.&amp;nbsp;Error: Failed to parse pbf policy" that I don't understand because the network 192.168.0.0/24 is the one assigned to that interface.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 22:45:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365405#M88555</guid>
      <dc:creator>daubsi</dc:creator>
      <dc:date>2020-11-24T22:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating PBF Policy - IP does not match subnet</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365440#M88560</link>
      <description>&lt;P&gt;Under PBF Rule for source choose source as zone instead of interface.&lt;/P&gt;
&lt;P&gt;Also for next hop type&amp;nbsp; this address for example if next hop&amp;nbsp; interface is ae1.100&amp;nbsp; and it has IP of 1.1.1.2&lt;/P&gt;
&lt;P&gt;and this interface if connects to switch or router and that has IP 1.1.1.1&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PA - eth&amp;nbsp; ae1.100 ---IP 1.1.1.2&amp;nbsp; ------------&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---IP 1.1.1.1 Vlan 100 on switch&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then Next Hop i will be 1.1.1.1 which is on other side of the PA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 04:08:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365440#M88560</guid>
      <dc:creator>MP18</dc:creator>
      <dc:date>2020-11-25T04:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating PBF Policy - IP does not match subnet</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365441#M88561</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/40179"&gt;@daubsi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please check subnet mask configured on the interface &lt;STRONG&gt;etherner1/3.200? &lt;/STRONG&gt;Is it 24 or 32 ?&lt;/P&gt;&lt;P&gt;Make sure it is /24 as per your design.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 04:14:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365441#M88561</guid>
      <dc:creator>SutareMayur</dc:creator>
      <dc:date>2020-11-25T04:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating PBF Policy - IP does not match subnet</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365450#M88567</link>
      <description>&lt;P&gt;Indeed! It seems this here was the problem! I only had 192.168.0.254 set as the IP address, not 192.168.0.254/24.&lt;/P&gt;&lt;P&gt;Is it then explicitly assumed to be /32? But why did everything else work? Just because I had the VirtualRouter configured correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-11-25_7-52-38.png" style="width: 575px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/28796iF74456E17DB6450B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2020-11-25_7-52-38.png" alt="2020-11-25_7-52-38.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 06:56:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365450#M88567</guid>
      <dc:creator>daubsi</dc:creator>
      <dc:date>2020-11-25T06:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating PBF Policy - IP does not match subnet</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365463#M88568</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/40179"&gt;@daubsi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, if IP address is configured w/o a subnet mask, it will consider it as /32 and firewall will add route for /32 host in its route table. If the same interface is configured with subnet mask let's say /24, firewall will add route for that host and also route for the whole network of 24.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now in your case, there are chances of having static route for network 192.168.0.0/24 under your VR and that's why everything is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mayur Sutare&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 07:36:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-when-creating-pbf-policy-ip-does-not-match-subnet/m-p/365463#M88568</guid>
      <dc:creator>SutareMayur</dc:creator>
      <dc:date>2020-11-25T07:36:25Z</dc:date>
    </item>
  </channel>
</rss>

