IDNIC RPKI Hands On Lab v2: Environment
IDNIC RPKI Hands On Lab v2: Environment
IDNIC RPKI Hands On Lab v2: Environment
Environment
Install & Buka Software GNS3 v2.2.3
• VM Bird
• Upstream Provider
Memulai Lab
Buka GNS 3.
Klik “IDNIC”
Klik “Duplicate”
Setup Network
Klik kanan pada icon Server RPKI Validator -> Edit Configuration lalu masukkan konfigurasi
berikut
auto eth0
iface eth0 inet static
address 192.168.30.[3 - 50]
netmask 255.255.255.0
gateway 192.168.30.2
up echo nameserver 8.8.8.8 > /etc/resolv.conf
Berikut ini adalah cara instalasi bird. Di dalam VM ini sudah terinstall bird. Jadi tidak perlu dijalankan
lagi.
Step 1
Install library-library pendukung
apk add make gcc g++ linux-headers readline-dev libssh flex bison ncurses-dev libssh-
dev musl ncurses-libs
Step 2
Install Bird Routing Daemon
wget ftp://bird.network.cz/pub/bird/bird-2.0.6.tar.gz
tar zxf bird-2.0.6.tar.gz
cd bird-2.0.6/
./configure --prefix=/usr --sysconfdir=/etc
make -j2
make install
echo “” > /etc/bird.conf
Konfigurasi Bird
filter peer_in_v4 {
if (roa_check(ROA4, net, bgp_path.last) = ROA_INVALID) then
{
print "Ignore invalid ROA ", net, " for ASN ", bgp_path.last;
reject;
}
accept;
}
filter accept_all {
accept;
}
protocol bgp {
debug all;
local as <3 - 55>;
neighbor 192.168.3.55;
ipv4 {
import keep filtered;
import filter peer_in_v4;
export filter accept_all;
};
}