Open dpac opened 5 months ago
Could you show show ip route
, show ip route vrf BOSTON
?
Could you show
show ip route
,show ip route vrf BOSTON
?
Thank you for looking into it. Here are the outputs
[root@ip-10-0-0-161 ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6ae66409049e 0a58c9ac55bf "/sbin/tini -- /usr/…" 8 weeks ago Up 8 weeks r5 add54c9588c7 0a58c9ac55bf "/sbin/tini -- /usr/…" 8 weeks ago Up 8 weeks r4 9d025506b661 0a58c9ac55bf "/sbin/tini -- /usr/…" 8 weeks ago Up 8 weeks r3 9bb03e71fecc 0a58c9ac55bf "/sbin/tini -- /usr/…" 8 weeks ago Up 8 weeks r2 6422dd03274a frrouting/frr "/sbin/tini -- /usr/…" 8 weeks ago Up 8 weeks c02 7bf9c653cdb2 frrouting/frr "/sbin/tini -- /usr/…" 8 weeks ago Up 8 weeks c01
[root@ip-10-0-0-161 ~]# docker exec -it r5 bash 6ae66409049e:/# vtysh % Can't open configuration file /etc/frr/vtysh.conf due to 'No such file or directory'. Configuration file[/etc/frr/frr.conf] processing failure: 11
Hello, this is FRRouting (version 10.1-dev_git20240513). Copyright 1996-2005 Kunihiro Ishiguro, et al.
6ae66409049e# show ip route vrf BOSTON Codes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct,
- selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
VRF BOSTON: C> 192.168.33.0/24 is directly connected, eth1, 08w0d22h L> 192.168.33.2/32 is directly connected, eth1, 08w0d22h
6ae66409049e# show ip route Codes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct,
- selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
K> 0.0.0.0/0 [0/0] via 10.0.45.1, eth0, 08w0d22h O> 2.2.2.2/32 [110/30] via 10.0.45.4, eth0, weight 1, 08w0d22h O> 3.3.3.3/32 [110/20] via 10.0.45.4, eth0, weight 1, 08w0d22h O> 4.4.4.4/32 [110/10] via 10.0.45.4, eth0, weight 1, 08w0d22h O 5.5.5.5/32 [110/0] is directly connected, lo, weight 1, 08w0d22h L 5.5.5.5/32 is directly connected, lo, 08w0d22h C> 5.5.5.5/32 is directly connected, lo, 08w0d22h O> 10.0.23.0/24 [110/30] via 10.0.45.4, eth0, weight 1, 08w0d22h O> 10.0.34.0/24 [110/20] via 10.0.45.4, eth0, weight 1, 08w0d22h O 10.0.45.0/24 [110/10] is directly connected, eth0, weight 1, 08w0d22h C> 10.0.45.0/24 is directly connected, eth0, 08w0d22h L> 10.0.45.5/32 is directly connected, eth0, 08w0d22h
Could you give all the configs of all your routers?
Could you give all the configs of all your routers?
Yes , i have synced the config here
To create vrf , i use startup.sh script.
Your configs are incomplete, I tried to load them but seems some routers are missing IP addresses on interfaces, e.g. https://github.com/dpac/mpls/blob/main/r5.conf#L18. Looking at the output https://github.com/FRRouting/frr/issues/16036#issuecomment-2242358018... This is not the output from the R2 perspective, it's from R5. Can you show it from R2?
Btw, by changing some of the configs you gave, I can clearly see the imported routes:
r2# show ip bgp vrf BOSTON detail
BGP table version is 1, local router ID is 0.0.0.0, vrf id 4
Default local pref 100, local AS 65000
BGP routing table entry for 192.168.33.0/24, version 1
Paths: (1 available, best #1, vrf BOSTON)
Not advertised to any peer
Imported from 192.168.33.2:2:192.168.33.0/24
Local
5.5.5.5 (metric 30) from 0.0.0.0 (0.0.0.0) vrf default(0) announce-nh-self
Origin incomplete, metric 0, localpref 100, valid, sourced, local, best (First path received)
Extended Community: RT:65000:11
Remote label: 80
Last update: Thu Aug 8 11:12:43 2024
Displayed 1 routes and 1 total paths
r2# show ip route vrf BOSTON
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
VRF BOSTON:
B> 192.168.33.0/24 [200/0] via 5.5.5.5 (vrf default) (recursive), label 80, weight 1, 00:05:49
* via 10.0.23.3, r2-eth1 (vrf default), label 18/80, weight 1, 00:05:49
r2#
Thanks for pointing out , I have synced the current config of r2. The ip address is configured on eth0. Can you share the config and container image used ?
output from r2
[root@ip-10-0-0-161 mpls]# docker exec -it r2 bash 9bb03e71fecc:/# vtysh % Can't open configuration file /etc/frr/vtysh.conf due to 'No such file or directory'. Configuration file[/etc/frr/frr.conf] processing failure: 11
Hello, this is FRRouting (version 10.1-dev_git20240513). Copyright 1996-2005 Kunihiro Ishiguro, et al.
9bb03e71fecc# show ip route vrf BOSTON Codes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct,
- selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
VRF BOSTON: C> 192.168.11.0/24 is directly connected, eth1, 12w2d22h L> 192.168.11.2/32 is directly connected, eth1, 12w2d22h
[root@ip-10-0-0-161 mpls]# docker exec -it r2 bash 9bb03e71fecc:/# vtysh -c "show ip route" % Can't open configuration file /etc/frr/vtysh.conf due to 'No such file or directory'. Configuration file[/etc/frr/frr.conf] processing failure: 11 Codes: K - kernel route, C - connected, L - local, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct,
- selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
K> 0.0.0.0/0 [0/0] via 10.0.23.1, eth0, 12w2d22h O 2.2.2.2/32 [110/0] is directly connected, lo, weight 1, 12w2d22h L 2.2.2.2/32 is directly connected, lo, 12w2d22h C> 2.2.2.2/32 is directly connected, lo, 12w2d22h O> 3.3.3.3/32 [110/10] via 10.0.23.3, eth0, weight 1, 12w2d22h O> 4.4.4.4/32 [110/20] via 10.0.23.3, eth0, weight 1, 12w2d22h O> 5.5.5.5/32 [110/30] via 10.0.23.3, eth0, weight 1, 12w2d22h O 10.0.23.0/24 [110/10] is directly connected, eth0, weight 1, 12w2d22h C> 10.0.23.0/24 is directly connected, eth0, 12w2d22h L> 10.0.23.2/32 is directly connected, eth0, 12w2d22h O> 10.0.34.0/24 [110/20] via 10.0.23.3, eth0, weight 1, 12w2d22h O> 10.0.45.0/24 [110/30] via 10.0.23.3, eth0, weight 1, 12w2d22h
Ip address on eth0
interface eth0 ip address 10.0.23.2/24 ip ospf network point-to-point exit
Hi
I am using frr container and noticed bgp route is showing as invalid . It doesn't get import into VRF . The issue looks similar to this issue . I am using latest version . Am i missing something ?
9bb03e71fecc# show version FRRouting 10.1-dev_git20240513 (9bb03e71fecc) on Linux(6.1.87-99.174.amzn2023.x86_64). Copyright 1996-2005 Kunihiro Ishiguro, et al. configured with: '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--sbindir=/usr/lib/frr' '--libdir=/usr/lib' '--enable-rpki' '--enable-vtysh' '--enable-multipath=64' '--enable-vty-group=frrvty' '--enable-user=frr' '--enable-group=frr' '--enable-pcre2posix' '--enable-scripting' 'CC=gcc' 'CXX=g++'
Topology
C01(VRF-BOSTON) > R2(2.2.2.2) > R3(3.3.3.3) > R4(4.4.4.4) > R5(5.5.5.5) > c02 (VRF-BOSTON)
R2 , R3 ,R4,R5 have active MPLS interface. All routers are docker containers in a single node.
routes in vrf BOSTON on R2 (provider edge)
Labels
BGP config