Afenioux's Blog page

3am; darkness; Maintenance window closing. Safety net: rollback.

OpenBGPd

Written by Arnaud no comments

pkg install openbgpd
touch /usr/local/etc/bgpd.conf
chmod 0600 /usr/local/etc/bgpd.conf

echo 'bgpd_flags=""' >> /etc/rc.conf

edit your config :
vi /usr/local/etc/bgpd.conf

service bgpd start

Some useful commands :

List the sessions and states :
bgpctl show summary

Detailed informations on your neighbors:
bgpctl show neighbor

Your configured/announced net :
bgpctl show network

List of routes for a prefix:
bgpctl show rib <network> all

Classified in : BGP, UNIX Tags : none

BGP references

Written by Arnaud no comments
 
I have put here lots of links I use for my presentations, and that could be interresting for anyone :
 
PDF Slides of my BGP workshops (in French)
 
What is Peering?
 
BGP Convergence explained (very nice post)
 
Wonderful cheat sheet (not only BGP!)
 
BGP Best Path Selection Algorithm
 
Examples conf BGP
 
BGP syntaxe and attributs
 
Sample BGP Commands for Cisco Systems
 
Performances routing cisco
 
 
Cisco Feature Navigator
 
Stats transits AS
 
peering DB
 
RIPE DB
 
simulator router cisco
 
looking glass
 
BGPlay
 
ANSSI  (French):
 
Draft IETF BCP BGP:
 
PEVAL  :"peval as199422" or "peval afi ipv6 AS199422"
 
BGP well-known communities RFC 1997 &3765:
65535:65281 NO_EXPORT
65535:65282 NO_ADVERTISE
65535:65283 NO_EXPORT_SUBCONFED
65535:65284 NOPEER
 
IANA ASN allocation :
 
Lolz :
Video IPv6
The IT Crowd
 
Classified in : BGP Tags : none
Rss feed of the category