When the interface MAC changes, the config has the other view.
How to reproduce.
VM in GNS3
Initial config
interfaces { ethernet eth0 { address dhcp hw-id 0c:66:c5:29:00:00 } ethernet eth2 { hw-id 0c:66:c5:29:00:02 } ethernet eth3 { hw-id 0c:66:c5:29:00:03 } ethernet eth4 { hw-id 0c:66:c5:29:00:01 } loopback lo { } tunnel tun0 { address 10.0.0.1/30 encapsulation gre remote 192.168.0.5 source-interface eth0 } } protocols { static { interface-route 192.168.100.0/24 { next-hop-interface tun0 { } } } } service { ssh { port 22 } } system { config-management { commit-revisions 100 } conntrack { modules { ftp h323 nfs pptp sip sqlnet tftp } } host-name vyos login { user vyos { authentication { encrypted-password $6$MjV2YvKQ56q$QbL562qhRoyUu8OaqrXagicvcsNpF1HssCY06ZxxghDJkBCfSfTE/4FlFB41xZcd/HqYyVBuRt8Zyq3ozJ0dc. plaintext-password "" } } } name-server 8.8.8.8 ntp { server time1.vyos.net { } server time2.vyos.net { } server time3.vyos.net { } } syslog { global { facility all { level notice } facility protocols { level debug } } } }
Then stop VM and change MAC of any ethernet interface.
After boot
interfaces { ethernet eth0 { address dhcp hw-id 0c:66:c5:29:00:00 } ethernet eth2 { hw-id 0c:66:c5:29:00:02 } ethernet eth3 { hw-id 0c:66:c5:29:00:03 } ethernet eth4 { hw-id 0c:66:c5:29:00:01 } loopback lo tunnel tun0 { address 10.0.0.1/30 encapsulation gre remote 192.168.0.5 source-interface eth0 } } protocols { static { interface-route 192.168.100.0/24 { next-hop-interface tun0 } } } service { ssh { port 22 } } system { config-management { commit-revisions 100 } conntrack { modules { ftp { } h323 { } nfs { } pptp { } sip { } sqlnet { } tftp { } } } host-name vyos login { user vyos { authentication { encrypted-password $6$MjV2YvKQ56q$QbL562qhRoyUu8OaqrXagicvcsNpF1HssCY06ZxxghDJkBCfSfTE/4FlFB41xZcd/HqYyVBuRt8Zyq3ozJ0dc. plaintext-password "" } } } name-server 8.8.8.8 ntp { server time1.vyos.net server time2.vyos.net server time3.vyos.net } syslog { global { facility all { level notice } facility protocols { level debug } } } }
Difference
Before
protocols { static { interface-route 192.168.100.0/24 { next-hop-interface tun0 { } } } }
After
protocols { static { interface-route 192.168.100.0/24 { next-hop-interface tun0 } } }
- Before
conntrack { modules { ftp h323 nfs pptp sip sqlnet tftp } }
After
conntrack { modules { ftp { } h323 { } nfs { } pptp { } sip { } sqlnet { } tftp { } } }
After saving the config returns to normal state.
One of the problems is when you try to migrate to 1.4.
https://github.com/vyos/vyos-1x/blob/current/src/migration-scripts/quagga/8-to-9#L37
The interface route will disappear after migration.