[quagga-users 14998] Re: filter gateway only

Tom Samplonius <[email protected]> Fri, 23 Nov 2018 21:37:47 -0800
Newsgroups gmane.network.quagga.user
Message-ID <[email protected]>
--===============2230822835708265218==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_DDBE5353-7575-4892-9421-CA191DCC0065"


--Apple-Mail=_DDBE5353-7575-4892-9421-CA191DCC0065
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

n Nov 23, 2018, at 1:20 PM, alpha_one_x86 =
<alpha_one_x86-wgedcoYCNW3/[email protected]> wrote:
>=20
> Hi,
>=20
> I try change bgp from hurrican electric, AS6939, it import 59000 =
route, I wish try import only the gateway.
>=20
  It is not very clear what you mean by =E2=80=9Cgateway=E2=80=9D here, =
but I=E2=80=99ll assume you mean default route.


> See my attached file.
>=20
  As far as your config file, your prefix list is only matched for =
outgoing routes (you to HE, not HE to you):

>  neighbor 2001:470:10:31::1 prefix-list PEER-GW-PREFIXES out

>  neighbor 2001:470:10:31::1 prefix-list PEER-GW-PREFIXES out




  Also, you should check that HE is actually sending a default route as =
well.  Usually, a full route table is announced, a default route is not, =
because it isn=E2=80=99t needed.


> Cheers,
>=20
> --=20
> alpha_one_x86/BRULE Herman <alpha_one_x86-wgedcoYCNW3/[email protected]> =
<mailto:alpha_one_x86-wgedcoYCNW3/[email protected]>
> Main developer of Supercopier/Ultracopier/CatchChallenger, Esourcing =
and server management
> IT, OS, technologies, research & development, security and business =
department
> <bgpd.conf>_______________________________________________
> Quagga-users mailing list
> Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected]
> https://lists.quagga.net/mailman/listinfo/quagga-users



Tom=

--Apple-Mail=_DDBE5353-7575-4892-9421-CA191DCC0065
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">n =
Nov 23, 2018, at 1:20 PM, alpha_one_x86 &lt;<a =
href=3D"mailto:alpha_one_x86-wgedcoYCNW3/[email protected]" =
class=3D"">alpha_one_x86-wgedcoYCNW3/[email protected]</a>&gt; wrote:<br =
class=3D""><div><blockquote type=3D"cite" class=3D""><br =
class=3D"Apple-interchange-newline"><div class=3D"">
 =20

    <meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8" class=3D"">
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF" class=3D""><p class=3D""><font=
 face=3D"Helvetica, Arial, sans-serif" class=3D"">Hi,</font></p><p =
class=3D""><font face=3D"Helvetica, Arial, sans-serif" class=3D"">I try =
change bgp from
        hurrican electric, AS6939, it import 59000 route, I wish try
        import only the =
gateway.</font></p></div></div></blockquote><div>&nbsp; It is not very =
clear what you mean by =E2=80=9Cgateway=E2=80=9D here, but I=E2=80=99ll =
assume you mean default route.</div><div><br class=3D""></div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
text=3D"#000000" bgcolor=3D"#FFFFFF" class=3D""><p class=3D""><font =
face=3D"Helvetica, Arial, sans-serif" class=3D"">See my attached =
file.</font></p></div></div></blockquote><div>&nbsp; As far as your =
config file, your prefix list is only matched for outgoing routes (you =
to HE, not HE to you):</div><div><br class=3D""></div><div><blockquote =
type=3D"cite" class=3D"">&nbsp;neighbor 2001:470:10:31::1 prefix-list =
PEER-GW-PREFIXES out</blockquote><br class=3D""></div><div><blockquote =
type=3D"cite" class=3D"">&nbsp;neighbor 2001:470:10:31::1 prefix-list =
PEER-GW-PREFIXES out</blockquote></div><div><br class=3D""></div><div><br =
class=3D""></div><div><br class=3D""></div><div>&nbsp; Also, you should =
check that HE is actually sending a default route as well. =
&nbsp;Usually, a full route table is announced, a default route is not, =
because it isn=E2=80=99t needed.</div><div><br class=3D""></div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
text=3D"#000000" bgcolor=3D"#FFFFFF" class=3D""><p class=3D""><font =
face=3D"Helvetica, Arial, sans-serif" class=3D"">Cheers,</font><br =
class=3D"">
    </p>
    <pre class=3D"moz-signature" cols=3D"72">--=20
alpha_one_x86/BRULE Herman <a class=3D"moz-txt-link-rfc2396E" =
href=3D"mailto:alpha_one_x86-wgedcoYCNW3/[email protected]">&lt;alpha_one_x86@first-wor=
ld.info&gt;</a>
Main developer of Supercopier/Ultracopier/CatchChallenger, Esourcing and =
server management
IT, OS, technologies, research &amp; development, security and business =
department</pre>
  </div>

<span =
id=3D"cid:B0E1B459-4C66-476C-AB87-9A36AC67A7B1-PB4qWPN2RQVmnt1bOYXNAg@public.gmane.org">&lt;bgpd.c=
onf&gt;</span>_______________________________________________<br =
class=3D"">Quagga-users mailing list<br class=3D""><a =
href=3D"mailto:Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected]" =
class=3D"">Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected]</a><br =
class=3D"">https://lists.quagga.net/mailman/listinfo/quagga-users<br =
class=3D""></div></blockquote></div><br class=3D""><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Tom</div></body></html>=

--Apple-Mail=_DDBE5353-7575-4892-9421-CA191DCC0065--

--===============2230822835708265218==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Quagga-users mailing list
Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users

--===============2230822835708265218==--