The next-hop-self on the neighbor config is not working. I expected it to set next-hop IP of the IP I am using to peer with my iBGP neighbor.
This router is a Route reflector.
Topology:
route-reflector config:
protocols { bgp 65000 { neighbor 192.168.1.2 { remote-as 65000 } neighbor 192.168.2.2 { address-family { ipv4-unicast { nexthop-self route-reflector-client } } remote-as 65000 } } }
However, if I use the keyword in force/all does not exist in vyos
Configuration path: protocols bgp 65000 neighbor 192.168.2.2 address-family ipv4-unicast nexthop-self [force] is nod Set failed
If I instead manually set it under vtysh - I get the desired results.
vyos-dup# show running-config Building configuration... Current configuration: ! frr version 7.0.1-20190820-04-g047efd6 frr defaults traditional hostname vyos-dup log syslog informational service integrated-vtysh-config ! router bgp 65000 neighbor 192.168.1.2 remote-as 65000 neighbor 192.168.2.2 remote-as 65000 ! address-family ipv4 unicast neighbor 192.168.1.2 next-hop-self force neighbor 192.168.2.2 route-reflector-client neighbor 192.168.2.2 next-hop-self force neighbor 192.168.2.2 next-hop-self exit-address-family ! line vty