# FRRouting configuration file # BGP Server Configuration # Enable password for vtysh password zebra enable password zebra # Router ID router-id 192.168.1.1 # BGP configuration router bgp 65000 bgp router-id 192.168.1.1 # Network configuration network 192.168.1.0/24 network 10.0.0.0/8 network 172.16.0.0/12 network 203.0.113.0/24 network 198.51.100.0/24 network 192.0.2.0/24 network 8.8.8.0/24 network 1.1.1.0/24 network 9.9.9.0/24 # IPv6 networks network 2001:db8::/32 network 2001:db8:1::/48 network 2001:db8:2::/48 # Community configuration neighbor 0.0.0.0/0 remote-as external neighbor 0.0.0.0/0 send-community neighbor 0.0.0.0/0 send-community extended # IPv6 neighbors neighbor ::/0 remote-as external neighbor ::/0 send-community neighbor ::/0 send-community extended # Route redistribution redistribute connected redistribute static # Static routes with communities ip route 192.168.1.0/24 null0 community 65000:100:65000:200 ip route 10.0.0.0/8 null0 community 65000:101:65000:201 ip route 172.16.0.0/12 null0 community 65000:102:65000:202 ip route 203.0.113.0/24 null0 community 65000:110:65000:210 ip route 198.51.100.0/24 null0 community 65000:111:65000:211 ip route 192.0.2.0/24 null0 community 65000:112:65000:212 ip route 8.8.8.0/24 null0 community 65000:120:65000:220 ip route 1.1.1.0/24 null0 community 65000:121:65000:221 ip route 9.9.9.0/24 null0 community 65000:122:65000:222 # IPv6 static routes ipv6 route 2001:db8::/32 null0 community 65000:300:65000:400 ipv6 route 2001:db8:1::/48 null0 community 65000:301:65000:401 ipv6 route 2001:db8:2::/48 null0 community 65000:302:65000:402 # Interface configuration interface eth0 ip address 192.168.1.1/24 ipv6 address 2001:db8::1/64 no shutdown # Logging log file /var/log/frr/frr.log log timestamp precision 6