On CentOS/RHEL systems, if the parent device of a VLAN interface goes down, the VLAN interface will also go down. If the parent device is brought back up again, the VLAN interface will become active again, but any static routes previously assigned to the VLAN interface are not reinstated.
On CentOS/RHEL systems, if the parent device of a VLAN interface goes down, the VLAN interface will also go down. If the parent device is brought back up again, the VLAN interface will become active again, but any static routes previously assigned to the VLAN interface are not reinstated.
Steps to reproduce:
playbook.yml
Create a fake interface:
Run the playbook:
The fake1.2 interface has a static route.
Trigger a restart of the parent:
Run the playbook again:
It succeeds, but the fake1.2 interface has lost its static route.