-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfrr.conf
More file actions
38 lines (35 loc) · 989 Bytes
/
frr.conf
File metadata and controls
38 lines (35 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
! FRR config for docker-compose quick-start
! AS 65002, peers with rustbgpd (AS 65001).
! Advertises sample IPv4 and IPv6 prefixes via static routes.
frr version 10.3.1
frr defaults traditional
hostname frr-peer
log syslog informational
! Static routes so BGP network statements have RIB entries
ip route 192.168.1.0/24 Null0
ip route 192.168.2.0/24 Null0
ip route 10.10.0.0/16 Null0
ip route 172.16.0.0/12 Null0
ipv6 route 2001:db8:1::/48 Null0
ipv6 route 2001:db8:2::/48 Null0
ipv6 route 2001:db8:cafe::/48 Null0
router bgp 65002
bgp router-id 10.99.0.20
no bgp ebgp-requires-policy
neighbor 10.99.0.10 remote-as 65001
neighbor 10.99.0.10 description rustbgpd
!
address-family ipv4 unicast
network 192.168.1.0/24
network 192.168.2.0/24
network 10.10.0.0/16
network 172.16.0.0/12
exit-address-family
!
address-family ipv6 unicast
neighbor 10.99.0.10 activate
network 2001:db8:1::/48
network 2001:db8:2::/48
network 2001:db8:cafe::/48
exit-address-family
exit