Page MenuHomeVyOS Platform

Default DHCP route under VRF is deleted on commit that reloads FRR
Closed, ResolvedPublicBUG

Description

With DHCP server connected to eth0 interface of VyOS:

configure
set interfaces ethernet eth0 address dhcp
set interfaces ethernet eth0 vrf 'red'
set vrf name red table '1010'
commit

run show ip route vrf red
vyos@vyos# run show ip route vrf red
...

VRF red:
S>* 0.0.0.0/0 [210/0] via 10.1.1.113, eth0, weight 1, 00:00:27
C>* 10.1.1.0/24 is directly connected, eth0, weight 1, 00:00:27
K * 10.1.1.0/24 [0/0] is directly connected, eth0, weight 1, 00:00:27
L>* 10.1.1.11/32 is directly connected, eth0, weight 1, 00:00:27

# Make any change that leads to FRR reload:
set protocols static route 10.20.30.40/32 interface eth0
commit

vyos@vyos# run show ip route vrf red
...

VRF red:
C>* 10.1.1.0/24 is directly connected, eth0, weight 1, 00:01:07
K * 10.1.1.0/24 [0/0] is directly connected, eth0, weight 1, 00:01:07
L>* 10.1.1.11/32 is directly connected, eth0, weight 1, 00:01:07

Expected: default route should not be deleted.

Details

Version
VyOS 1.5-rolling-202509221932
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Log after commit:

Oct 13 12:22:41 vyos vyos-configd[643]: Received message: {"type": "init"}
Oct 13 12:22:41 vyos vyos-configd[643]: config session pid is 2467
Oct 13 12:22:41 vyos vyos-configd[643]: config session sudo_user is vyos
Oct 13 12:22:41 vyos vyos-configd[643]: commit_scripts: ['protocols_static']
Oct 13 12:22:41 vyos vyos-configd[643]: Received message: {"type": "node", "last": true, "data": "/usr/libexec/vyos/conf_mode/protocols_static.py"}
Oct 13 12:22:41 vyos vyos-configd[643]: Sending reply: SUCCESS with output
Oct 13 12:22:41 vyos vyos-configd[643]: scripts_called: ['protocols_static']
Oct 13 12:22:41 vyos systemd[1]: opt-vyatta-config-tmp-new_config_2467.mount: Deactivated successfully.
Oct 13 12:22:42 vyos zebra[1226]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos zebra[1226]: [G6NKK-8C6DV] end_config: VTY:0x562d5fd15b40, pending SET-CFG: 0
Oct 13 12:22:42 vyos ldpd[1267]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ldpd[1267]: [G6NKK-8C6DV] end_config: VTY:0x556178347f10, pending SET-CFG: 0
Oct 13 12:22:42 vyos ripd[1240]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ripngd[1243]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ripngd[1243]: [G6NKK-8C6DV] end_config: VTY:0x559031363800, pending SET-CFG: 0
Oct 13 12:22:42 vyos ripd[1240]: [G6NKK-8C6DV] end_config: VTY:0x560192f43160, pending SET-CFG: 0
Oct 13 12:22:42 vyos bgpd[1233]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bgpd[1233]: [G6NKK-8C6DV] end_config: VTY:0x564064482180, pending SET-CFG: 0
Oct 13 12:22:42 vyos mgmtd[1231]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos mgmtd[1231]: [G6NKK-8C6DV] end_config: VTY:0x562dbaae8c30, pending SET-CFG: 3
Oct 13 12:22:42 vyos isisd[1252]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos isisd[1252]: [G6NKK-8C6DV] end_config: VTY:0x563de2753030, pending SET-CFG: 0
Oct 13 12:22:42 vyos watchfrr[1205]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos nhrpd[1272]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos nhrpd[1272]: [G6NKK-8C6DV] end_config: VTY:0x55ac2419b0f0, pending SET-CFG: 0
Oct 13 12:22:42 vyos babeld[1255]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos babeld[1255]: [G6NKK-8C6DV] end_config: VTY:0x559fd4df09f0, pending SET-CFG: 0
Oct 13 12:22:42 vyos staticd[1276]: [PNYPZ-BCP8Y] Static Route using eth0 interface not installed because the interface does not exist in specified vrf
Oct 13 12:22:42 vyos staticd[1276]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos staticd[1276]: [G6NKK-8C6DV] end_config: VTY:0x562c9e8a5b50, pending SET-CFG: 0
Oct 13 12:22:42 vyos bfdd[1281]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bfdd[1281]: [G6NKK-8C6DV] end_config: VTY:0x5556012d3300, pending SET-CFG: 0
Oct 13 12:22:42 vyos pim6d[1258]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos pim6d[1258]: [G6NKK-8C6DV] end_config: VTY:0x561f1d393ea0, pending SET-CFG: 0
Oct 13 12:22:42 vyos ospfd[1246]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ospfd[1246]: [G6NKK-8C6DV] end_config: VTY:0x555d3a74de40, pending SET-CFG: 0
Oct 13 12:22:42 vyos fabricd[1284]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos fabricd[1284]: [G6NKK-8C6DV] end_config: VTY:0x55a2b906bd30, pending SET-CFG: 0
Oct 13 12:22:42 vyos ospf6d[1249]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ospf6d[1249]: [G6NKK-8C6DV] end_config: VTY:0x55bd4b078590, pending SET-CFG: 0
Oct 13 12:22:42 vyos zebra[1226]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos zebra[1226]: [G6NKK-8C6DV] end_config: VTY:0x562d5fd15b40, pending SET-CFG: 0
Oct 13 12:22:42 vyos mgmtd[1231]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos mgmtd[1231]: [G6NKK-8C6DV] end_config: VTY:0x562dbaabeb90, pending SET-CFG: 2
Oct 13 12:22:42 vyos ripd[1240]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ripd[1240]: [G6NKK-8C6DV] end_config: VTY:0x560192f43160, pending SET-CFG: 0
Oct 13 12:22:42 vyos ripngd[1243]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ripngd[1243]: [G6NKK-8C6DV] end_config: VTY:0x559031363800, pending SET-CFG: 0
Oct 13 12:22:42 vyos ldpd[1267]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ldpd[1267]: [G6NKK-8C6DV] end_config: VTY:0x556178347f10, pending SET-CFG: 0
Oct 13 12:22:42 vyos ospfd[1246]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ospfd[1246]: [G6NKK-8C6DV] end_config: VTY:0x555d3a74dd80, pending SET-CFG: 0
Oct 13 12:22:42 vyos nhrpd[1272]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos nhrpd[1272]: [G6NKK-8C6DV] end_config: VTY:0x55ac2419b0f0, pending SET-CFG: 0
Oct 13 12:22:42 vyos bgpd[1233]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bgpd[1233]: [G6NKK-8C6DV] end_config: VTY:0x564064482180, pending SET-CFG: 0
Oct 13 12:22:42 vyos ospf6d[1249]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ospf6d[1249]: [G6NKK-8C6DV] end_config: VTY:0x55bd4b078590, pending SET-CFG: 0
Oct 13 12:22:42 vyos isisd[1252]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos isisd[1252]: [G6NKK-8C6DV] end_config: VTY:0x563de2753030, pending SET-CFG: 0
Oct 13 12:22:42 vyos staticd[1276]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bfdd[1281]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bfdd[1281]: [G6NKK-8C6DV] end_config: VTY:0x5556012d3300, pending SET-CFG: 0
Oct 13 12:22:42 vyos staticd[1276]: [G6NKK-8C6DV] end_config: VTY:0x562c9e8a5b50, pending SET-CFG: 0
Oct 13 12:22:42 vyos babeld[1255]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos babeld[1255]: [G6NKK-8C6DV] end_config: VTY:0x559fd4df0930, pending SET-CFG: 0
Oct 13 12:22:42 vyos watchfrr[1205]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos fabricd[1284]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos fabricd[1284]: [G6NKK-8C6DV] end_config: VTY:0x55a2b906bd30, pending SET-CFG: 0
Oct 13 12:22:42 vyos pim6d[1258]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos pim6d[1258]: [G6NKK-8C6DV] end_config: VTY:0x561f1d393ea0, pending SET-CFG: 0
Oct 13 12:22:42 vyos watchfrr[1205]: [WFP93-1D146] configuration write completed with exit code 0
Oct 13 12:22:45 vyos commit[3207]: Successful change to active configuration by user vyos on /dev/ttyS0
Oct 13 12:26:54 vyos systemd[1]: opt-vyatta-config-tmp-new_config_2467.mount: Deactivated successfully.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.