Skip to content

Instantly share code, notes, and snippets.

@wizardishungry
Created September 26, 2018 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wizardishungry/a8d31432c26c977c4605e37e4d32752e to your computer and use it in GitHub Desktop.
Save wizardishungry/a8d31432c26c977c4605e37e4d32752e to your computer and use it in GitHub Desktop.
checkpoint jesse's vm bgp conf
# global configuration
AS 64986
router-id 10.70.145.196
#holdtime 15
#keepalive 5
# listen on 127.0.0.1
# listen on ::1
fib-update yes
# route-collector no
log updates
network 10.70.116.192/27
nexthop qualify via bgp
group "nycmesh" {
neighbor 10.70.145.193 {
remote-as 65009
descr "kibble"
announce all
enforce local-as no
enforce neighbor-as no
#tcp md6sig password mekmitasdigoat
multihop 3
}
}
# restricted socket for bgplg(8)
# socket "/var/www/run/bgpd.rsock" restricted
# neighbors and peers
# do not send or use routes from EBGP neighbors without
# further explicit configuratio maybe you need announce all on your side?
# i got that hmmmmmmmmmmm well can we just comment out all these stock filters?n
#deny from ebgp
#deny to ebgp
allow from group nycmesh
allow to group nycmesh
match from any set nexthop self
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment