BIRD: Routing BGP dengan Bird di VPS VULTR

bird config file location "/etc/bird/bird.conf"


router id 45.77.38.109;

protocol bgp vultr
{
local as 123456;
source address 45.77.38.109;
import none;
export all;
graceful restart on;
multihop 2;
neighbor 169.254.169.254 as 64515;
password "123";
}

protocol static
{
route 103.103.103.0/24 via 45.77.38.109;
}

protocol device
{
scan time 5;
}
protocol direct
{
interface "dummy*";
import all;
}


    # bikin file/edit file di: /etc/rc.local dengan kode dibawah ini

#!/bin/sh -e
ip link add dev dummy1 type dummy
ip link set dummy1 up
ip addr add dev dummy1 103.103.103.254/32
exit 0

    # lalu permission dirubah dengan command: chmod +x /etc/rc.local