Configuring BGP with DartNode using FRR
Overview
This guide explains how to establish a BGP peering session with DartNode using FRRouting (FRR). FRR is commonly used on Linux routers, VPS edge nodes, and virtual firewalls.
Prerequisites
Your own ASN
Public IPv4 and/or IPv6 from DartNode
Linux system with FRR installed
Static network configuration
Optional MD5 password
Install FRR
Debian / Ubuntu
apt install frr frr-pythontools
RHEL / Rocky / Alma
dnf install frr
Enable daemons:
nano /etc/frr/daemons
Enable:
bgpd=yes
Restart:
systemctl restart frr
Enter FRR CLI
vtysh
Basic Router Configuration
configure terminal hostname bgp-router service integrated-vtysh-config
Configure BGP (IPv4)
router bgp 64500 bgp router-id 203.0.113.10 neighbor 38.134.40.1 remote-as 399646 neighbor 38.134.40.1 description DartNode IPv4 neighbor 38.134.40.1 timers 30 90 ! address-family ipv4 unicast network 203.0.113.0/24 neighbor 38.134.40.1 activate neighbor 38.134.40.1 soft-reconfiguration inbound exit-address-family
Configure BGP (IPv6)
router bgp 64500 neighbor 2602:f9f3:0:2::1 remote-as 399646 neighbor 2602:f9f3:0:2::1 description DartNode IPv6 ! address-family ipv6 unicast network 2001:db8:1234::/48 neighbor 2602:f9f3:0:2::1 activate exit-address-family
Optional: MD5 Authentication
neighbor 38.134.40.1 password YOUR_PASSWORD neighbor 2602:f9f3:0:2::1 password YOUR_PASSWORD
Save Configuration
write memory
Verify Session
show bgp summary
Expected:
Neighbor V AS State/PfxRcd 38.134.40.1 4 399646 Estab/1 2602:f9f3::1 4 399646 Estab/1
Operational Notes
DartNode supports default or full routes
Communities may be added later by request
Prefix limits may be enforced
Graceful restart supported
Support
If your session does not establish, contact DartNode NOC with:
Your ASN
Local & peer IPs
Prefix list
Error logs (
show bgp neighbors)