Page MenuHomeVyOS Platform

BGP does not work with VRF
Closed, DuplicatePublicFEATURE 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)
Issue type
Bug (incorrect behavior)

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

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.