Issue with dhcp-interface routes

After reboot I have no dhcp-interface routes on version 1.5-rolling-202502011110.

Before reboot:

vyos@vyos:~$ conf
[edit]
vyos@vyos# show protocols static 
 route 100.100.100.100/32 {
     dhcp-interface eth0
 }
[edit]
vyos@vyos# show interfaces ethernet eth0
 address dhcp
 description WAN
 }
[edit]
vyos@vyos# exit
exit
vyos@vyos:~$ show ip route 100.100.100.100
Routing entry for 100.100.100.100/32
  Known via "static", distance 1, metric 0, best
  Last update 00:00:48 ago
  * 192.168.20.1, via eth0, weight 1
vyos@vyos:~$reboot

After reboot:

vyos@vyos:~$ show ip route 100.100.100.100
Routing entry for 0.0.0.0/0
  Known via "static", distance 210, metric 0, tag 210, best
  Last update 00:01:33 ago
  * 192.168.20.1, via eth0, weight 1

Is this a bug?

Did you commit your changes?

Which version?
It is a good idea to show version per any question :slight_smile:

I will try
1.5-rolling-202502011110.

Yes, of course. I committed and saved the config.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.