[FUG-BR] bgpd.conf
Levi Lins
levitlins em hotmail.com
Quarta Outubro 24 02:29:48 BRST 2012
# 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
Mais detalhes sobre a lista de discussão freebsd