<?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-Route Host Address To Different Next Hop? in ExtremeSwitching (VSP/Fabric Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/re-route-host-address-to-different-next-hop/m-p/68948#M829</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have the following route map in EOS config that is basically re-routing only the host IP address 10.119.200.158 to a 10.119.0.35 for internet access only.&lt;/P&gt;&lt;P&gt;The deny entries are all the internal subnets, which means when going to an internal address follow the usual route.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;nbsp;ip access-list extended WebTraffic&lt;BR /&gt;&amp;nbsp; deny ip any 10.119.0.0 0.0.255.255&lt;BR /&gt;&amp;nbsp; deny ip any 172.16.0.0 0.15.255.255&lt;BR /&gt;&amp;nbsp; deny ip any 192.168.0.0 0.0.255.255&lt;BR /&gt;&amp;nbsp; permit ip host 10.119.200.158 any&lt;BR /&gt;&amp;nbsp; exit&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;route-map policy traffic permit 15&lt;BR /&gt;&amp;nbsp; match ip address WebTraffic&lt;BR /&gt;&amp;nbsp; set next-hop 10.119.0.35&lt;BR /&gt;&amp;nbsp; exit&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;interface vlan.0.1020&lt;BR /&gt;&amp;nbsp; ip address 10.119.200.2 255.255.254.0 primary&lt;BR /&gt;&amp;nbsp; ip policy route-map traffic&lt;BR /&gt;&amp;nbsp; vrrp create 2 v2-IPv4&lt;BR /&gt;&amp;nbsp; vrrp address 2 10.119.200.1&amp;nbsp;&lt;BR /&gt;&amp;nbsp; vrrp accept-mode 2&lt;BR /&gt;&amp;nbsp; vrrp enable 2&lt;BR /&gt;&amp;nbsp; no shutdown&lt;BR /&gt;&amp;nbsp; exit&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I’m not sure if this is the best way to do it, but as far as I have got is below that would route the host address for all routes not just internet routes&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;filter acl 102 type inVLAN &lt;BR /&gt;filter acl ace 102 1&lt;BR /&gt;filter acl ace ip 102 1 src-ip eq 10.119.200.158&lt;BR /&gt;filter acl ace action 102 1 permit redirect-next-hop 10.119.0.35&lt;BR /&gt;filter acl ace 102 1 enable&lt;BR /&gt;filter acl vlan 102 1020&lt;BR /&gt;&lt;BR /&gt;######################### &lt;BR /&gt;&lt;BR /&gt;filter acl &amp;lt;acl-id&amp;gt; type inVLAN &lt;BR /&gt;filter acl ace &amp;lt;acl-id&amp;gt; &amp;lt;ace-id&amp;gt;&lt;BR /&gt;filter acl ace ip &amp;lt;acl-id&amp;gt; &amp;lt;ace-id&amp;gt; src-ip eq 10.119.200.158&lt;BR /&gt;filter acl ace action &amp;lt;acl-id&amp;gt; &amp;lt;ace-id&amp;gt; permit redirect-next-hop 10.119.0.35&lt;BR /&gt;filter acl ace &amp;lt;acl-id&amp;gt; &amp;lt;ace-id&amp;gt; enable&lt;BR /&gt;filter acl vlan &amp;lt;acl-id&amp;gt; 1020&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I will maybe need to introduce&amp;nbsp;a not equal list to RFC 1918 address?&lt;/P&gt;&lt;P&gt;This would equal all RFC1918 addresses:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;filter acl ace ip 120 1 dst-ip mask 10.0.0.0 0.255.255.255&lt;BR /&gt;filter acl ace ip 120 1 dst-ip mask 172.16.0.0 0.15.255.255&lt;BR /&gt;filter acl ace ip 120 1 dst-ip mask 192.168.0.0 0.0.255.255&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This would be not equal to all RFC1918 addresses, and maybe what I need to add?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;filter acl ace ip 120 1 dst-ip mask 10.0.0.0 255.0.0.0&lt;BR /&gt;filter acl ace ip 120 1 dst-ip mask 172.16.0.0 255.224.0.0&lt;BR /&gt;filter acl ace ip 120 1 dst-ip mask 192.168.0.0 255.255.0.0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 12 Mar 2021 00:12:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-03-12T00:12:59Z</dc:date>
    <item>
      <title>Re-Route Host Address To Different Next Hop?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/re-route-host-address-to-different-next-hop/m-p/68948#M829</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have the following route map in EOS config that is basically re-routing only the host IP address 10.119.200.158 to a 10.119.0.35 for internet access only.&lt;/P&gt;&lt;P&gt;The deny entries are all the internal subnets, which means when going to an internal address follow the usual route.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;nbsp;ip access-list extended WebTraffic&lt;BR /&gt;&amp;nbsp; deny ip any 10.119.0.0 0.0.255.255&lt;BR /&gt;&amp;nbsp; deny ip any 172.16.0.0 0.15.255.255&lt;BR /&gt;&amp;nbsp; deny ip any 192.168.0.0 0.0.255.255&lt;BR /&gt;&amp;nbsp; permit ip host 10.119.200.158 any&lt;BR /&gt;&amp;nbsp; exit&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;route-map policy traffic permit 15&lt;BR /&gt;&amp;nbsp; match ip address WebTraffic&lt;BR /&gt;&amp;nbsp; set next-hop 10.119.0.35&lt;BR /&gt;&amp;nbsp; exit&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;interface vlan.0.1020&lt;BR /&gt;&amp;nbsp; ip address 10.119.200.2 255.255.254.0 primary&lt;BR /&gt;&amp;nbsp; ip policy route-map traffic&lt;BR /&gt;&amp;nbsp; vrrp create 2 v2-IPv4&lt;BR /&gt;&amp;nbsp; vrrp address 2 10.119.200.1&amp;nbsp;&lt;BR /&gt;&amp;nbsp; vrrp accept-mode 2&lt;BR /&gt;&amp;nbsp; vrrp enable 2&lt;BR /&gt;&amp;nbsp; no shutdown&lt;BR /&gt;&amp;nbsp; exit&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I’m not sure if this is the best way to do it, but as far as I have got is below that would route the host address for all routes not just internet routes&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;filter acl 102 type inVLAN &lt;BR /&gt;filter acl ace 102 1&lt;BR /&gt;filter acl ace ip 102 1 src-ip eq 10.119.200.158&lt;BR /&gt;filter acl ace action 102 1 permit redirect-next-hop 10.119.0.35&lt;BR /&gt;filter acl ace 102 1 enable&lt;BR /&gt;filter acl vlan 102 1020&lt;BR /&gt;&lt;BR /&gt;######################### &lt;BR /&gt;&lt;BR /&gt;filter acl &amp;lt;acl-id&amp;gt; type inVLAN &lt;BR /&gt;filter acl ace &amp;lt;acl-id&amp;gt; &amp;lt;ace-id&amp;gt;&lt;BR /&gt;filter acl ace ip &amp;lt;acl-id&amp;gt; &amp;lt;ace-id&amp;gt; src-ip eq 10.119.200.158&lt;BR /&gt;filter acl ace action &amp;lt;acl-id&amp;gt; &amp;lt;ace-id&amp;gt; permit redirect-next-hop 10.119.0.35&lt;BR /&gt;filter acl ace &amp;lt;acl-id&amp;gt; &amp;lt;ace-id&amp;gt; enable&lt;BR /&gt;filter acl vlan &amp;lt;acl-id&amp;gt; 1020&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I will maybe need to introduce&amp;nbsp;a not equal list to RFC 1918 address?&lt;/P&gt;&lt;P&gt;This would equal all RFC1918 addresses:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;filter acl ace ip 120 1 dst-ip mask 10.0.0.0 0.255.255.255&lt;BR /&gt;filter acl ace ip 120 1 dst-ip mask 172.16.0.0 0.15.255.255&lt;BR /&gt;filter acl ace ip 120 1 dst-ip mask 192.168.0.0 0.0.255.255&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This would be not equal to all RFC1918 addresses, and maybe what I need to add?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;filter acl ace ip 120 1 dst-ip mask 10.0.0.0 255.0.0.0&lt;BR /&gt;filter acl ace ip 120 1 dst-ip mask 172.16.0.0 255.224.0.0&lt;BR /&gt;filter acl ace ip 120 1 dst-ip mask 192.168.0.0 255.255.0.0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 00:12:59 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/re-route-host-address-to-different-next-hop/m-p/68948#M829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-12T00:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re-Route Host Address To Different Next Hop?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/re-route-host-address-to-different-next-hop/m-p/68949#M830</link>
      <description>&lt;P&gt;Martin, I don’t think your “&lt;EM&gt;not equal to all RFC1918 addresses&lt;/EM&gt;” match criteria will work.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;dst-ip mask 10.0.0.0 255.0.0.0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Will match any IP address like X.0.0.0. So 8.0.0.0, 9.0.0.0, 10.0.0.0, 11.0.0.0, etc..&lt;/P&gt;&lt;P&gt;So probably not what you want.&lt;/P&gt;&lt;P&gt;If you want the redirect-next-hop only for flows where the IP destination is not a private range, then 1st have 3 ACL ACEs which match those private ranges, with action permit. Then your 4th ACE will have action redirect-next-hop.&lt;/P&gt;&lt;P&gt;Be careful with ACL action redirect-next-hop. It will redirect any packet, including broadcasts and IP multicast (e.g. VRRP Hellos). So you can easily get loops if you apply the same config on 2 VSPs on the same VLAN. Make sure the ACE with the action redirect-next-hop matches ethertype IP. And before the redirect-next-hop ACE, insert an ACE which matches IP Multicast with action permit, so as to skip IP Multicast before you reach the redirect-next-hop ACE.&lt;/P&gt;&lt;P&gt;This is the template I normally use for PBR:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;filter acl ace          1 1 name "No-PBR-for-IPMC" &lt;BR /&gt;filter acl ace action   1 1 permit count&lt;BR /&gt;filter acl ace ethernet 1 1 ether-type eq ip&lt;BR /&gt;filter acl ace ip       1 1 dst-ip mask 224.0.0.0 31.255.255.255&lt;BR /&gt;filter acl ace          1 1 enable&lt;BR /&gt;&lt;BR /&gt;filter acl ace          1 999 name "Rest-force-PBR-to-FW"&lt;BR /&gt;filter acl ace action   1 999 permit redirect-next-hop 172.16.0.250 unreachable deny count&lt;BR /&gt;filter acl ace ethernet 1 999 ether-type eq ip&lt;BR /&gt;filter acl ace          1 999 enable&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In VOSS 8.4 there will be a new match criteria which will make things easier:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;filter acl ace ip &amp;lt;acl&amp;gt; &amp;lt;ace&amp;gt; routed-only &lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Mar 2021 03:43:09 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/re-route-host-address-to-different-next-hop/m-p/68949#M830</guid>
      <dc:creator>Ludovico_Steven</dc:creator>
      <dc:date>2021-03-27T03:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re-Route Host Address To Different Next Hop?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/re-route-host-address-to-different-next-hop/m-p/68950#M831</link>
      <description>&lt;P&gt;Thanks Ludovico, a lot of useful information in there, much appreciated.&lt;/P&gt;&lt;P&gt;When I get it working I will post back the results.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Mar 2021 04:44:13 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/re-route-host-address-to-different-next-hop/m-p/68950#M831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-27T04:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re-Route Host Address To Different Next Hop?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/re-route-host-address-to-different-next-hop/m-p/68951#M832</link>
      <description>&lt;P&gt;To share the config I ultimately used see below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;filter acl 1 type inVLAN&lt;BR /&gt;filter acl ace 1 5 name "No-PBR-for-IPMC" &lt;BR /&gt;filter acl ace action 1 5 permit count&lt;BR /&gt;filter acl ace ethernet 1 5 ether-type eq ip&lt;BR /&gt;filter acl ace ip 1 5 dst-ip mask 224.0.0.0 31.255.255.255&lt;BR /&gt;&lt;BR /&gt;filter acl ace 1 10 name "No-PBR-for-158.x.x.x" &lt;BR /&gt;filter acl ace action 1 10 permit count&lt;BR /&gt;filter acl ace ethernet 1 10 ether-type eq ip&lt;BR /&gt;filter acl ace ip 1 10 dst-ip mask 10.0.0.0 0.255.255.255&lt;BR /&gt;&lt;BR /&gt;filter acl ace 1 15 name "No-PBR-for-172.16.x.x" &lt;BR /&gt;filter acl ace action 1 15 permit count&lt;BR /&gt;filter acl ace ethernet 1 15 ether-type eq ip&lt;BR /&gt;filter acl ace ip 1 15 dst-ip mask 172.16.0.0 0.15.255.255&lt;BR /&gt;&lt;BR /&gt;filter acl ace 1 20 name "No-PBR-for-192.168.x.x" &lt;BR /&gt;filter acl ace action 1 20 permit count&lt;BR /&gt;filter acl ace ethernet 1 20 ether-type eq ip&lt;BR /&gt;filter acl ace ip 1 20 dst-ip mask 192.168.0.0 0.0.255.255&lt;BR /&gt;&lt;BR /&gt;filter acl ace 1 999 name "Rest-force-PBR-to-FW"&lt;BR /&gt;filter acl ace ethernet 1 999 ether-type eq ip&lt;BR /&gt;filter acl ace ip 1 999 src-ip eq 10.119.200.158&lt;BR /&gt;filter acl ace action 1 999 permit redirect-next-hop 10.119.0.35 unreachable deny count&lt;BR /&gt;filter acl ace action 1 999 permit count&lt;BR /&gt;&lt;BR /&gt;filter acl vlan 1 1020&lt;BR /&gt;&lt;BR /&gt;filter acl ace 1 5 enable&lt;BR /&gt;filter acl ace 1 10 enable&lt;BR /&gt;filter acl ace 1 15 enable&lt;BR /&gt;filter acl ace 1 20 enable&lt;BR /&gt;filter acl ace 1 999 enable&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And the following to view the counters:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;show filter acl statistics 1 5&lt;BR /&gt;show filter acl statistics 1 10&lt;BR /&gt;show filter acl statistics 1 15&lt;BR /&gt;show filter acl statistics 1 20&lt;BR /&gt;show filter acl statistics 1 999&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 04:57:53 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/re-route-host-address-to-different-next-hop/m-p/68951#M832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-09T04:57:53Z</dc:date>
    </item>
  </channel>
</rss>

