-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 If I delete the route and re-add it, it works so I'm not sure what dropped it into an "inactive" state. Interface information: Configuration: - --- cut --- interface enp6s0f3 vrrp 2 vrrp 2 priority 110 vrrp 2 ip 192.168.146.129 exit - --- cut --- Show interfaces from vtysh - --- cut --- # show interface enp6s0f3 Interface enp6s0f3 is up, line protocol is up Link ups: 15 last: 2024/06/10 17:29:11.53 Link downs: 2 last: 2024/06/08 04:35:15.39 vrf: default Description: to cat-wlgwil-prod-ffw via old network index 9 metric 0 mtu 1500 speed 1000 txqlen 1000 flags: <UP,BROADCAST,RUNNING,MULTICAST> Type: Ethernet HWaddr: 90:3c:b3:3f:da:16 inet 192.168.146.130/29 inet6 fe80::923c:b3ff:fe3f:da16/64 Interface Type Other Interface Slave Type None protodown: off # show interface vrrp4-1-2 Interface vrrp4-1-2 is up, line protocol is up Link ups: 10 last: 2024/06/10 17:22:50.29 Link downs: 5 last: 2024/06/08 04:35:22.37 vrf: default Description: VRRP facing cat-wlgwil-prod-ffw on old network index 24 metric 0 mtu 1500 speed 1000 txqlen 1000 flags: <UP,BROADCAST,RUNNING,MULTICAST> Type: Ethernet HWaddr: 00:00:5e:00:01:02 inet 192.168.146.129/32 unnumbered inet6 fe80::200:5eff:fe00:102/64 Interface Type macvlan Interface Slave Type None protodown: off Parent interface: enp6s0f3 - --- cut --- IP link and address info from OS. - --- cut --- # ip link show dev enp6s0f3 9: enp6s0f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group 300 qlen 1000 link/ether 90:3c:b3:3f:da:16 brd ff:ff:ff:ff:ff:ff # ip a show dev enp6s0f3 9: enp6s0f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group 300 qlen 1000 link/ether 90:3c:b3:3f:da:16 brd ff:ff:ff:ff:ff:ff inet 192.168.146.130/29 brd 192.168.146.135 scope global enp6s0f3 valid_lft forever preferred_lft forever inet6 fe80::923c:b3ff:fe3f:da16/64 scope link valid_lft forever preferred_lft forever # ip link show dev vrrp4-1-2 24: vrrp4-1-2@enp6s0f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group 300 qlen 1000 link/ether 00:00:5e:00:01:02 brd ff:ff:ff:ff:ff:ff # ip a show dev vrrp4-1-2 24: vrrp4-1-2@enp6s0f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group 300 qlen 1000 link/ether 00:00:5e:00:01:02 brd ff:ff:ff:ff:ff:ff inet 192.168.146.129/32 scope global vrrp4-1-2 valid_lft forever preferred_lft forever inet6 fe80::200:5eff:fe00:102/64 scope link valid_lft forever preferred_lft forever - --- cut --- Alasdair Muckart via frog <frog@lists.frrouting.org> writes:
[1. message/rfc822] From: Alasdair Muckart <alasdairmuckart@catalyst.net.nz> Subject: Static route stuck in 'inactive' state To: frog@lists.frrouting.org Date: Mon, 10 Jun 2024 17:10:17 +1200 (16 hours, 43 minutes, 9 seconds ago) Reply-To: alasdairmuckart@catalyst.net.nz Flags: seen, list, personal Maildir: /catalyst/Lists/Frog
[[PGP Signed Part:Undecided]] [2. text/plain] I have a static route that's stuck in 'inactive' state and not being inserted into the kernel routing table, and I can't figure out why.
Can anyone shed light on this?
FRRouting 10.0 on Linux(5.15.0-112-generic), Ubuntu 22.04.
I have three static routes in my configuration:
--- cut --- ip route 10.0.0.0/8 192.168.146.134 vrrp4-1-2 ip route 172.16.0.0/12 192.168.146.134 vrrp4-1-2 ip route 192.168.0.0/16 192.168.146.134 vrrp4-1-2 --- cut ---
Two of them work but the 192.168.0.0/16 route is stuck "inactive" in the output of 'show ip route static':
--- cut --- 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
S> 10.0.0.0/8 [1/0] via 192.168.146.134, vrrp4-1-2 (recursive), weight 1, 01:22:16 via 192.168.146.134, vrrp4-1-2 onlink, weight 1, 01:22:16 S> 172.16.0.0/12 [1/0] via 192.168.146.134, vrrp4-1-2 (recursive), weight 1, 01:22:16 via 192.168.146.134, vrrp4-1-2 onlink, weight 1, 01:22:16 S 192.168.0.0/16 [1/0] via 192.168.146.134, vrrp4-1-2 inactive, weight 1, 01:22:16 --- cut ---
Looking at the routes on the machine, I see routes for the 10/8 and 172.16/12, but not 192.168/16:
--- cut --- 10.0.0.0/8 nhid 84 via 192.168.146.134 dev vrrp4-1-2 proto static metric 20 onlink 172.16.0.0/12 nhid 84 via 192.168.146.134 dev vrrp4-1-2 proto static metric 20 onlink --- cut ---
Thanks.
- -- Alasdair Muckart (he/him) Network Infrastructure Architect Catalyst.Net Limited - Expert Open Source Solutions Catalyst.Net Ltd - a Catalyst IT group company DDI: +64 4 897 7794 | Mobile: +64 22 638 5141 | Tel: +64 4 499 2267 | www.catalyst.net.nz CONFIDENTIALITY NOTICE: This email is intended for the named recipients only. It may contain privileged, confidential or copyright information. If you are not the named recipient, any use, reliance upon, disclosure or copying of this email or its attachments is unauthorised. If you have received this email in error, please reply via email or call +64 4 499 2267. -----BEGIN PGP SIGNATURE----- iQJUBAEBCgA+FiEEu4g3jwJ68cPCdgH9iBAgH4ERwwMFAmZnf9MgHGFsYXNkYWly bXVja2FydEBjYXRhbHlzdC5uZXQubnoACgkQiBAgH4ERwwNYHxAAkW5jzznEMzum ekNwRAqeTD91tgDOJsxwYXALuJw8WsRyJYZw9LsPCLzmoFrbn2ioOpDZUmGAoIru iY39iQ3gxiPVKJJqDJ6p15xMtw/iDu1GBZvW9qy2O2FtIZISw8Xg14bsaoyVXesX p4zqgX3l6mDjxvvRQPKP90qmq7KuTRIBVr8HaZKRcFT4w4vf1BPm9y1IFzCt2RT3 3F5i1B5YSbJAXsMjSe5qbUNdOPgmYwgtUP4hckmtpT2xM5eO1zNmYoIcJfEhjKvf NZNXB9Yd4eGAMt0tcl+PcHFfgEC0fIow2ksKks2dnosKcdxR20u9HcYFi77ksUOU /VLz8t6BKesbLRO8NrDmBis6BMpJxtfOZ+bK+h7O+G58w1/cIbTHxK9BDCIFIhBz DExfdXUu0vUrtG5TlzGL+inRyTNVjGYH2NwBJcY98sMFqz9KyOh8ilhW4CMIsndO xTNZ79zQnfpxBMAJQKMrO0u7pPplrrR4UzEGUxODiCjmM5EcvlijNIgIXAhRA6+X eUh8OjjGy1yFv0V3b28QZ59mu7dsT7PpZ6nI0XOJL2Zb0bEP9OVZgl2/7XWzGd6F AcVwW3zG0Dm+14L21H/l2NnYpXUnNQQeyQNtGbDQWNfFosq7UoyQubW+u449Muf6 FoCw1jLbA7cr5oVBFxTnVJY93RytwOc= =9eeM -----END PGP SIGNATURE-----