Valeu Luiz. Agora sim http://tny.cz/5f1647dc
> Date: Wed, 24 Oct 2012 02:54:46 -0200 > From: luizgust...@luizgustavo.pro.br > To: freebsd@fug.com.br > Subject: Re: [FUG-BR] bgpd.conf > > Sugestão: > > http://tny.cz/ > > 2012/10/24 Levi Lins <levitl...@hotmail.com>: > > > > > > # global configurationAS 26XXXXrouter-id 186.XX.XX.1#holdtime 180#holdtime > > min 3#listen on 127.0.0.1# listen on ::1fib-update yes# route-collector no# > > log updates#transparent-as yes > > #Bloco IPv4 > > network 186.XX.XX.0/21#network 186.XX.XX.0/22 BGP Carpinanetwork > > 186.XX.XX.0/22 > > > > #Neighbors Conectoway (1TELECOM)neighbor 177.XX.XX.1 { descr > > "1TELECOM" remote-as 52XXX announce self multihop 3 > > } > > #Neighbors Intelig Telecomneighbor 186.XX.XX.65 { descr > > "INTELIG" remote-as 26615 announce self set > > prepend-self 2} > > > > > > # filter out prefixes longer than 24 or shorter than 8 bits for IPv4# and > > longer than 48 or shorter than 16 bits for IPv6.deny from anyallow from any > > inet prefixlen 8 - 24allow from any inet6 prefixlen 16 - 48 > > > > #Rota para BGP 1TELECOMmatch from 177.XX.XX.1 set nexthop 177.XX.YY.174 > > # deny a default route (since the previous rule blocks this)deny from any > > prefix 0.0.0.0/0 > > # filter bogus networks according to RFC5735deny from any prefix 0.0.0.0/8 > > prefixlen >= 8deny from any prefix 10.0.0.0/8 prefixlen >= 8deny from any > > prefix 127.0.0.0/8 prefixlen >= 8deny from any prefix 169.254.0.0/16 > > prefixlen >= 16deny from any prefix 172.16.0.0/12 prefixlen >= 12deny from > > any prefix 192.0.2.0/24 prefixlen >= 24deny from any prefix 192.168.0.0/16 > > prefixlen >= 16deny from any prefix 198.18.0.0/15 prefixlen >= 15deny from > > any prefix 198.51.100.0/24 prefixlen >= 24deny from any prefix > > 203.0.113.0/24 prefixlen >= 24deny from any prefix 224.0.0.0/4 prefixlen >= > > 4deny from any prefix 240.0.0.0/4 prefixlen >= 4 > > ------------------------- > > Histórico: http://www.fug.com.br/historico/html/freebsd/ > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > > > -- > Luiz Gustavo Costa (Powered by BSD) > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > mundoUnix - Consultoria em Software Livre > http://www.mundounix.com.br > ICQ: 2890831 / MSN: cont...@mundounix.com.br > Tel: 55 (21) 4063-7110 / 8194-1905 / (11) 4063-0407 > Blog: http://www.luizgustavo.pro.br > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd