How configure BGP with tunnelbroker.net (Hurricane Electric, AS 6939) with Quagga
Require public fixed IPv4
! hostname ourrouterbgpname password XXXXXXXXXXXXXXXXXXXXX log file /var/log/bgpd.log log stdout ! line vty !
! hostname ourrouterbgpname password XXXXXXXXXXXXXXXXX log file /var/log/bgpd.log log stdout ! router bgp 266671 bgp router-id [190.186.245.10 your public ip] neighbor [IPv6 Tunnel Endpoints, Server IPv6 Address] remote-as 6939 ! address-family ipv6 network 2803:1920::/32 neighbor [IPv6 Tunnel Endpoints, Server IPv6 Address] activate exit-address-family exit ! line vty !
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 190.186.245.10 netmask 255.255.255.0 broadcast 190.186.203.255 sit0: flags=193<UP,RUNNING,NOARP> mtu 1480 inet6 ::192.168.0.9 prefixlen 96 scopeid 0x80<compat,global> inet6 ::127.0.0.1 prefixlen 96 scopeid 0x90<compat,host> inet6 ::172.20.0.9 prefixlen 96 scopeid 0x80<compat,global> inet6 ::190.186.203.22 prefixlen 96 scopeid 0x80<compat,global> sit txqueuelen 1000 (IPv6-in-IPv4) sit1: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1480 inet6 2001:470:10:31::2 prefixlen 64 scopeid 0x0<global> inet6 fe80::beba:cb16 prefixlen 64 scopeid 0x20<link> inet6 fe80::c0a8:9 prefixlen 64 scopeid 0x20<link> inet6 fe80::ac14:9 prefixlen 64 scopeid 0x20<link> sit txqueuelen 1000 (IPv6-in-IPv4)
BGP router identifier 190.186.203.2, local AS number 266671 RIB entries 0, using 0 bytes of memory Peers 1, using 4944 bytes of memory Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 2001:470:1 4 6939 219827 2721 0 0 0 1d21h10m 0 Total number of neighbors 1 Total num. Established sessions 1 Total num. of routes received 0