Page MenuHomeVyOS Platform

BGP does not work with VRF
Closed, DuplicatePublicFEATURE REQUEST


If the interface required by the BGP session belongs to a VRF, the session cannot be established.
I couldn't find a place to specify the VRF to be used in the BGP configuration.

For example:

ethernet eth8 {
    vrf FCIX
protocols bgp 65500 {
neighbor {
    peer-group TEST
    remote-as 65510 

peer-group TEST {
    address-family {
        ipv4-unicast {
            soft-reconfiguration {
        ipv6-unicast {
            soft-reconfiguration {
    update-source eth8


Difficulty level
Unknown (require assessment)
VyOS 1.3-rolling-202004090909
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline


For now only static routing supports vrf, bgp, ospf and rip does not support vrf for time beeing. Support for this is being workes on, but its quite a large rewrite required to add support for this in bgp.

runar changed the task status from Open to On hold.Apr 9 2020, 5:02 PM
zsdc changed the subtype of this task from "Bug" to "Feature Request".Jun 10 2020, 4:33 PM

This should work when using set vrf bind-to-all, please try

Implemented in VyOS 1.4 rolling

erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 7:16 AM
erkin removed a subscriber: Active contributors.