FRR not able to establish a BGP session with the host itself #11375
Replies: 7 comments 5 replies
-
What are your |
Beta Was this translation helpful? Give feedback.
-
FRR daemons: (basically only enabling bgpd)
FRR configuration:
|
Beta Was this translation helpful? Give feedback.
-
MetalLB config:
|
Beta Was this translation helpful? Give feedback.
-
Are you trying to establish between 127.0.0.1 on the same 179 (default) port? |
Beta Was this translation helpful? Give feedback.
-
At the moment we don't allow peering with 0.0.0.0/127.0.0.0/240.0.0.0 as they are treated as invalid ranges. We are in progress relaxing this in the future with an additional knob, but for now, it's not possible normally. Even more, connecting to self it's not allowed at all, unless you configure multiple instances binding for the specific address. http://docs.frrouting.org/en/stable-8.2/bgp.html#cmdoption-bgpd-l |
Beta Was this translation helpful? Give feedback.
-
Оh. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
FRR fails to connect to other BGP speakers running on the same host. An example is running MetalLB inside a kubernetes cluster and trying to peer with FRR running as a host process. This setup works with BIRD but FRR doesn't seem to be able to establish a connection:
To Reproduce
Describe the steps to reproduce the behavior.
Be as descriptive as possible.
Expected behavior
FRR should be able to establish a BGP session to localhost/self host IPs.
Versions
Additional context
Does FRR support peering to the host itself? If not, is it possible to add support for this use case since other BGP speakers like BIRD support it?
Beta Was this translation helpful? Give feedback.
All reactions