I do not know if this is as intended or a bug.
While playing with a local BGP setup I encountered the following symptome:
R1 AS65000
vyos@vyos# show interfaces ethernet eth0 vif 666 address 2001:db8:1::1/64
vyos@vyos# show protocols bgp
bgp 65000 {
address-family {
ipv4-unicast {
network 10.0.0.0/9 {
}
network 10.128.0.0/9 {
}
}
}
neighbor 2001:db8:1::2 {
remote-as 65001
}
parameters {
log-neighbor-changes
router-id 172.18.254.202
}
}vyos@vyos# show protocols static route
route 10.0.0.0/9 {
blackhole {
}
}
route 10.128.0.0/9 {
blackhole {
}
}vyos@vyos# vtysh -c "show run" Building configuration... Current configuration: ! frr version 7.0.1-20190514-01-gcd305c0 frr defaults traditional hostname LR2.wueIII.mybll.net log syslog informational agentx service integrated-vtysh-config ! ip route 10.0.0.0/9 Null0 ip route 10.128.0.0/9 Null0 ! interface bond0 description ddd ! router bgp 65000 bgp router-id 172.18.254.202 bgp log-neighbor-changes neighbor 2001:db8:1::2 remote-as 65001 ! address-family ipv4 unicast network 10.0.0.0/9 network 10.128.0.0/9 exit-address-family ! line vty ! end
R2 AS65001
vyos@vyos# show interfaces ethernet eth0 vif 666 address 2001:db8:1::2/64
vyos@vyos# show protocols bgp
bgp 65001 {
address-family {
ipv4-unicast {
network 192.168.0.0/16 {
}
}
ipv6-unicast {
network 2001:db9::/32 {
}
}
}
neighbor 2001:db8:1::1 {
remote-as 65000
}
parameters {
log-neighbor-changes
router-id 172.18.254.203
}
}vyos@vyos# show protocols static
route 192.168.0.0/16 {
blackhole {
}
}
route6 2001:db9::/32 {
blackhole {
}
}vyos@vyos# vtysh -c "show run" Building configuration... Current configuration: ! frr version 7.0.1-20190514-01-gcd305c0 frr defaults traditional hostname LR3.wueIII.mybll.net log syslog informational agentx service integrated-vtysh-config ! ip route 192.168.0.0/16 Null0 ipv6 route 2001:db9::/32 Null0 ! router bgp 65001 bgp router-id 172.18.254.203 bgp log-neighbor-changes neighbor 2001:db8:1::1 remote-as 65000 ! address-family ipv4 unicast network 192.168.0.0/16 exit-address-family ! address-family ipv6 unicast network 2001:db9::/32 exit-address-family ! line vty ! end