Page MenuHomeVyOS Platform

BGP does not work with VRF
On hold, Requires assessmentPublicFEATURE REQUEST

Description

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 {
    address 10.10.10.8/24
    vrf FCIX
}
protocols bgp 65500 {
neighbor 10.10.10.10 {
    peer-group TEST
    remote-as 65510 
}

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

Details

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

Related Objects

StatusSubtypeAssignedTask
OpenFEATURE REQUESTNone
On holdFEATURE REQUESTNone

Event Timeline

Hi!

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