Bug 2168855
Summary: | BFD not working through VRF | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Federico Paolinelli <fpaoline> | |
Component: | frr | Assignee: | Michal Ruprich <mruprich> | |
Status: | CLOSED ERRATA | QA Contact: | FrantiĊĦek Hrdina <fhrdina> | |
Severity: | urgent | Docs Contact: | ||
Priority: | high | |||
Version: | 9.0 | CC: | djuran, eglottma, fhrdina, jorton, toneata | |
Target Milestone: | rc | Keywords: | Reproducer, Triaged, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | frr-8.3.1-7.el9 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2212921 (view as bug list) | Environment: | ||
Last Closed: | 2023-11-07 08:32:59 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2212921 | |||
Deadline: | 2023-06-27 |
Description
Federico Paolinelli
2023-02-10 09:29:50 UTC
Hi Federico, I would like to ask for your help with the setup here. I am struggling a bit with the part where I need to setup VRF on one of the machines. Do you have a foolproof way how to do it? Using VRFs is not my kind of tea but this is where I got so far: 1. create the VRF: # ip link add vrf-test type vrf table 10 # ip link set vrf-test up 2. enslave one interface: # ip link set dev eth0 master vrf-test 3. Add some default routes probably to the table 10 # ip route add <gateway> dev eth0 # ip route add default via <gateway> 4. run frr in via ip vrf exec? # ip vrf exec vrf-test /bin/bash # /usr/libexec/frrinit.sh start ? Or maybe some magic with frr.service file to run this via ip vrf exec? This is the part where I am not sure how to run frr under the created VRF. How do I know than that it is running under that vrf? Will I be able to see it in systemctl status? If you can help me to get to the point of having FRR running under the new VRF, that would be great. Thanks, Michal you just run frr normally, but specify the vrf name as part of the router, as specified here https://docs.frrouting.org/en/latest/bgp.html#clicmd-router-bgp-ASN-vrf-VRFNAME To your vrf setup steps, I add also ip -4 rule add pref 32765 table local ip -4 rule del pref 0 which is required to change the priority of the local routing rule. let me know if it helps, if not we can have a look together. Thanks, this helped, this is clearly visible that with VRF, BFD is not establishing. Interesting thing though, I just tested this with 8.4.2 and BFD won't start, it will just dump core on startup and die. I need to investigate this and try version 8.4.1. I will keep you posted. Please note that in my case with 8.4.2 it works as expected. I can provide access to the cluster. Just a note from our discussion and some testing with Federico, seems that this particular commit is the one to fix this issue: https://github.com/FRRouting/frr/commit/edc3f63167fd95e4e70287743c9b252415c9336e So far, it seems that the issue is gone with this commit. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: frr security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6434 |