<div dir="auto">Bom dia,<div dir="auto"><br></div><div dir="auto">Minha opinião é que fica muito mais simples e prático você apenas aplicar o next-hop... Criar uma nova tabela de roteamento seria desnecessário.<br><br><div data-smartmail="gmail_signature" dir="auto">Att.<br>Michael Henrique<br>Cel.: (19) 99310-8201</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex, 3 de jan de 2020 01:07, Bruno DataFibra Telecom <<a href="mailto:bruno@datafibra.com.br">bruno@datafibra.com.br</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="PT-BR" link="#0563C1" vlink="#954F72"><div class="m_8962986035274602276WordSection1"><p class="MsoNormal"><span style="color:#2a6ba6">Bom dia a todos <u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">Estava olhando na internet e existe várias formas de fazer o PBR para o CGNAT no juniper, gostaria de uma opinião dos amigos qual forma é a melhor <u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">Via filter com netx-ip<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set firewall family inet filter blocos-cgnat term cgnat from source-address <a href="http://100.64.0.0/19" target="_blank" rel="noreferrer">100.64.0.0/19</a><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set firewall family inet filter blocos-cgnat term cgnat then next-ip 100.64.255.254<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set firewall family inet filter blocos-cgnat term default then accept<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">ou via filter com routing-instance<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set routing-options rib-groups CGNAT-rib-group import-rib inet.0<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set routing-options rib-groups CGNAT-rib-group import-rib CGNAT.inet.0<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set firewall family inet filter blocos-cgnat term cgnat from source-address <a href="http://100.64.0.0/19" target="_blank" rel="noreferrer">100.64.0.0/19</a><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set firewall family inet filter blocos-cgnat term cgnat then routing-instance CGNAT<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set firewall family inet filter blocos-cgnat term default then accept<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set routing-instances CGNAT instance-type forwarding<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6">set routing-instances CGNAT routing-options static route <a href="http://0.0.0.0/0" target="_blank" rel="noreferrer">0.0.0.0/0</a> next-hop 100.64.255.254<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#2a6ba6"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:#2a6ba6">Atenciosamente,</span></b><span style="color:#2a6ba6"><u></u><u></u></span></p><table border="0" cellspacing="0" cellpadding="0" width="0" style="width:465.5pt;margin-left:1.8pt;border-collapse:collapse"><tr style="height:41.95pt"><td width="170" valign="top" style="width:123.75pt;border:none;border-right:solid #8dbae2 1.5pt;padding:0cm 1.4pt 0cm 1.4pt;height:41.95pt"><p class="MsoNormal" align="center" style="text-align:center;vertical-align:top"><sub><span style="color:#2a6ba6"><br><img width="160" height="53" style="width:1.6666in;height:.55in" id="m_8962986035274602276Imagem_x0020_1" alt="logo-n"><u></u><u></u></span></sub></p></td><td width="450" valign="top" style="width:327.0pt;padding:0cm 5.4pt 0cm 5.4pt;height:41.95pt"><p class="MsoNormal"><b><span style="color:#2a6ba6">Bruno Benatto Adacheski</span></b><span style="color:#2a6ba6"> <br>CIO Diretor TI <br>Rua Professor Amálio Pinheiro , 20 – Guarapuava/PR - 85015-440<br><a href="http://www.datafibra.com.br" target="_blank" rel="noreferrer">http://www.datafibra.com.br</a> <br>(42) 3036-6151 - (42) 3622-8199 <u></u><u></u></span></p></td></tr></table><p class="MsoNormal"><span style="color:#2a6ba6"><u></u> <u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
bpf mailing list<br>
<a href="mailto:bpf@listas.brasilpeeringforum.org" target="_blank" rel="noreferrer">bpf@listas.brasilpeeringforum.org</a><br>
<a href="https://listas.brasilpeeringforum.org/mailman/listinfo/bpf" rel="noreferrer noreferrer" target="_blank">https://listas.brasilpeeringforum.org/mailman/listinfo/bpf</a><br>
</blockquote></div>