Skip to main content

INSTALL BIRD 1

 Saya sudah cek: di Debian 12 paketnya bukan bird1, tapi bird versi 1.6.8; paket bird-bgp hanya paket transisi yang menarik ke bird. Jadi untuk BGP di Debian 12, target yang benar adalah bird atau bird-bgp dari repo Bookworm.

Bisa. Di Debian 12, untuk BIRD v1 paket yang dipakai adalah bird versi 1.6.8-2.1. Paket bird-bgp di Bookworm cuma paket transisi yang mengarah ke bird, dan birdc ikut terpasang dari paket bird. Paket bird mendukung BGP, OSPF, RIP, IPv4, dan IPv6.

Install manual dari URL .deb

Untuk amd64:

wget https://deb.debian.org/debian/pool/main/b/bird/bird_1.6.8-2.1_amd64.deb
sudo apt install ./bird_1.6.8-2.1_amd64.deb

Untuk arm64:

wget https://deb.debian.org/debian/pool/main/b/bird/bird_1.6.8-2.1_arm64.deb
sudo apt install ./bird_1.6.8-2.1_arm64.deb

Nama file .deb untuk amd64 dan arm64 itu memang tersedia di pool Debian mirror.

Kalau mau langsung dari URL tanpa simpan nama file:

wget -O /tmp/bird.deb https://deb.debian.org/debian/pool/main/b/bird/bird_1.6.8-2.1_amd64.deb
sudo apt install /tmp/bird.deb

Kalau dependency belum lengkap

sudo apt --fix-broken install

Cek bird dan birdc

bird --version
birdc show status
systemctl status bird

Start dan enable service

sudo systemctl enable --now bird

File konfigurasi utama

Biasanya:

/etc/bird/bird.conf

Setelah edit config:

sudo birdc configure

Contoh config BGP minimal

router id 1.1.1.1;

protocol device {
}

protocol direct {
interface "*";
}

protocol kernel {
persist;
scan time 20;
import none;
export all;
}

protocol static {
route 10.10.10.0/24 via "eth0";
}

protocol bgp my_upstream {
local as 65001;
neighbor 192.0.2.1 as 65002;
import all;
export where source ~ [ RTS_STATIC, RTS_BGP ];
}

Lalu reload:

sudo birdc configure
sudo birdc show protocols
sudo birdc show route

Catatan penting: di Debian 12 juga ada paket bird2, jadi jangan sampai salah install kalau memang yang Anda butuhkan BIRD v1 / birdc lama.

Kalau Anda mau, saya bisa lanjut buatkan langkah lengkap sampai peering eBGP/iBGP aktif untuk Debian 12.


KALAU ERROR LANJUTKAN 

Anda sudah login sebagai root, jadi tidak perlu sudo.

Jalankan saja:

apt install ./bird_1.6.8-2.1_amd64.deb

Karena ada 2 file, .deb dan .deb.1, yang dipakai cukup salah satu. Supaya rapi, hapus duplikat dulu:

rm -f bird_1.6.8-2.1_amd64.deb.1
apt install ./bird_1.6.8-2.1_amd64.deb

Kalau apt gagal karena dependency, pakai:

apt update
apt install -f
apt install ./bird_1.6.8-2.1_amd64.deb

Setelah terpasang, cek:

bird --version
birdc show status
systemctl status bird

Kalau servicenya belum jalan:

systemctl enable --now bird

Kalau muncul error setelah apt install, kirim outputnya saja.

Comments

Popular posts from this blog

CLI Populer di OLT GPON ZTE

  ## cek onu belum terdaftar ZTE C300 # show gpon onu uncfg interface gpon-olt_1/9/1 onu 1 type ZTE-F609 sn ZTEGC86CCB88 exit ## Config interface onu yang baru interface gpon-onu_1/9/1:1   name NAME   description DESCRIPTION   sn-bind enable sn   tcont 1 name HSI profile 100M   tcont 2 name HOT profile 100M   gemport 1 name HSI unicast tcont 1 dir both   gemport 1 traffic-limit upstream UP100M downstream DW100M   gemport 2 name HOT unicast tcont 2 dir both   gemport 2 traffic-limit upstream UP100M downstream DW100M   switchport mode hybrid vport 1   switchport mode hybrid vport 2   service-port 1 vport 1 user-vlan 1200 vlan 1200   pppoe-plus enable sport 1   pppoe-plus trust true replace sport 1 exit ## config onu pon-onu-mng gpon-onu_1/9/1:1   service HSI type internet gemport 1 cos 0 vlan 1200   wan-ip 1 mode pppoe username PPPoE_USERNAME password PPPoeE_PASSWORD vlan-profile PPPoE host 1   secur...

OLT ZTE C300/320 di ONT Mode Port: Vlan_Translate, QinQ, Trunk & Access

  Contoh Config  1. Vlan Translate QinQ To Access: OLT-ZTE-C320#show run interface gpon-onu_1/4/1:21 Building configuration... ! interface gpon-onu_1/4/1:21   name RSO0766   description Customer_Vlan-Translate   tcont 6 name Internet_Vlan-Translate profile UP-100M   gemport 6 name Internet_Vlan-Translate unicast tcont 6 dir both   switchport mode hybrid vport 6   service-port 6 vport 6 user-vlan 1490 vlan 1490 svlan 1479  ! end OLT-ZTE-C320#show onu running config gpon-onu_1/4/1:21 pon-onu-mng gpon-onu_1/4/1:21   service Internet_Vlan-Translate gemport 6 vlan 1490   vlan port eth_0/4 mode tag vlan 1490   dhcp-ip ethuni eth_0/4 from-internet ! 2. Vlan QinQ Access: OLT-ZTE-C320#show run interface gpon-onu_1/2/5:22 Building configuration... ! interface gpon-onu_1/2/5:22   name Internet-QinQ-Access   description QinQ-Access   tcont 1 name Acsata profile UP-200M   tcont 1 gap mode2   gemport 1...

How to login Huawei Rectifier TP series (smu02B)?

  Dear All, In b/m steps how to login HCR to adjust its setting 1-login SMU of HCR with username admin & password 000001 2-get IP of HCR 3-Adjust your laptop IP in the subnetmask of HCR   (IP of HCR +1) 4-Open web browser prefereed IE and in address write IP of HCR (Note u should use http not https) 5-Enter username admin & Password changeme 6-Now u can adjust all rectifer setting B/M photos for clearafication