mirror of
https://git.burble.com/burble.dn42/grc.git
synced 2024-05-12 03:55:05 +00:00
Updated configs and README
This commit is contained in:
15
README.md
15
README.md
@ -19,10 +19,23 @@ Users are encouraged to configure the [BGP Add-Path](https://tools.ietf.org/html
|
||||
|
||||
## Route Collector Services
|
||||
|
||||
### Website
|
||||
|
||||
[http://collector.dn42/](http://collector.dn42/) (DN42 link)
|
||||
[https://grc.burble.com/](https://grc.burble.com/) (public internet link)
|
||||
|
||||
In progress - the website will provide stats and a network map of the DN42 network.
|
||||
|
||||
### birdc shell
|
||||
|
||||
*ssh shell@collector.dn42*
|
||||
|
||||
For command line interrogation of the route collector bird daemon via a birdc shell.
|
||||
|
||||
### Looking Glass
|
||||
|
||||
[http://collector.dn42:5001/](http://collector.dn42:5001/) (DN42 link)
|
||||
[https://grc.burble.com/](https://grc.burble.com/) (public internet link)
|
||||
[https://lg-grc.burble.com/](https://lg-grc.burble.com/) (public internet link)
|
||||
|
||||
The burble.dn42 looking glass is based on [bird-lg](https://github.com/sileht/bird-lg) with
|
||||
patches by [Zhaofeng](https://github.com/zhaofengli/bird-lg) and [Burble](https://github.com/sesa-me/bird-lg)
|
||||
|
@ -1,40 +0,0 @@
|
||||
##########################################################################
|
||||
#
|
||||
# Bird1 Route Collector Client Example
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
# IPv4
|
||||
protocol bgp ROUTE_COLLECTOR4
|
||||
{
|
||||
local as ***YOUR_AS***;
|
||||
|
||||
neighbor 172.20.129.165 as 4242422602;
|
||||
multihop;
|
||||
|
||||
# import nothing, export everything
|
||||
import none;
|
||||
export all;
|
||||
|
||||
# export multiple paths to same destination
|
||||
add paths tx;
|
||||
}
|
||||
|
||||
# IPv6
|
||||
protocol bgp ROUTE_COLLECTOR6
|
||||
{
|
||||
local as ***YOUR_AS***;
|
||||
|
||||
neighbor fd42:4242:2601:ac12::1 as 4242422602;
|
||||
multihop;
|
||||
|
||||
# import nothing, export everything
|
||||
import none;
|
||||
export all;
|
||||
|
||||
# export multiple paths to same destination
|
||||
add paths tx;
|
||||
}
|
||||
|
||||
##########################################################################
|
||||
# end of file
|
35
examples/bird1/client4.conf
Normal file
35
examples/bird1/client4.conf
Normal file
@ -0,0 +1,35 @@
|
||||
##########################################################################
|
||||
#
|
||||
# Bird1 Route Collector Client Example (IPv4)
|
||||
#
|
||||
# Based on the bird1 examples in the DN42 wiki
|
||||
# https://wiki.dn42.us/howto/Bird
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
protocol bgp ROUTE_COLLECTOR4
|
||||
{
|
||||
local as ***YOUR_ASN***;
|
||||
neighbor 172.20.129.165 as 4242422602;
|
||||
|
||||
# enable multihop as the collector is not locally connected
|
||||
multihop;
|
||||
|
||||
# export all available paths to the collector
|
||||
add paths tx;
|
||||
|
||||
# import/export filters
|
||||
import none;
|
||||
export filter {
|
||||
# export all valid routes
|
||||
if ( is_valid_network() && source ~ [ RTS_STATIC, RTS_BGP ] )
|
||||
then {
|
||||
accept;
|
||||
}
|
||||
reject;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
##########################################################################
|
||||
# end of file
|
35
examples/bird1/client6.conf
Normal file
35
examples/bird1/client6.conf
Normal file
@ -0,0 +1,35 @@
|
||||
##########################################################################
|
||||
#
|
||||
# Bird1 Route Collector Client Example (IPv6)
|
||||
#
|
||||
# Based on the bird1 examples in the DN42 wiki
|
||||
# https://wiki.dn42.us/howto/Bird
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
protocol bgp ROUTE_COLLECTOR6
|
||||
{
|
||||
local as ***YOUR_ASN***;
|
||||
neighbor fd42:4242:2601:ac12::1 as 4242422602;
|
||||
|
||||
# enable multihop as the collector is not locally connected
|
||||
multihop;
|
||||
|
||||
# export all available paths to the collector
|
||||
add paths tx;
|
||||
|
||||
# import/export filters
|
||||
import none;
|
||||
export filter {
|
||||
# export all valid routes
|
||||
if ( is_valid_network() && source ~ [ RTS_STATIC, RTS_BGP ] )
|
||||
then {
|
||||
accept;
|
||||
}
|
||||
reject;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
##########################################################################
|
||||
# end of file
|
@ -2,33 +2,49 @@
|
||||
#
|
||||
# Bird2 Multiprotocol Route Collector Client Example
|
||||
#
|
||||
# Based on the bird2 examples in the DN42 wiki
|
||||
# https://wiki.dn42.us/howto/Bird2
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
protocol bgp ROUTE_COLLECTOR
|
||||
{
|
||||
local as ***YOUR_AS***;
|
||||
|
||||
local as ***YOUR_ASN***;
|
||||
neighbor fd42:4242:2601:ac12::1 as 4242422602;
|
||||
|
||||
# enable multihop as the collector is not locally connected
|
||||
multihop;
|
||||
|
||||
ipv4 {
|
||||
|
||||
# import nothing, export everything
|
||||
import none;
|
||||
export all;
|
||||
|
||||
# export multiple paths to same destination
|
||||
# export all available paths to the collector
|
||||
add paths tx;
|
||||
|
||||
# import/export filters
|
||||
import none;
|
||||
export filter {
|
||||
# export all valid routes
|
||||
if ( is_valid_network() && source ~ [ RTS_STATIC, RTS_BGP ] )
|
||||
then {
|
||||
accept;
|
||||
}
|
||||
reject;
|
||||
};
|
||||
};
|
||||
|
||||
ipv6 {
|
||||
|
||||
# import nothing, export everything
|
||||
import none;
|
||||
export all;
|
||||
|
||||
# export multiple paths to same destination
|
||||
# export all available paths to the collector
|
||||
add paths tx;
|
||||
|
||||
# import/export filters
|
||||
import none;
|
||||
export filter {
|
||||
# export all valid routes
|
||||
if ( is_valid_network_v6() && source ~ [ RTS_STATIC, RTS_BGP ] )
|
||||
then {
|
||||
accept;
|
||||
}
|
||||
reject;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user