From VyOS Wiki
Jump to: navigation, search

There may be issues where your interface names will change. This could be because your MAC address changed. For example I migrated VYOS in a VM to a different host, well now my interfaces are showing as eth4,eth5,eth6.

To fix this issue log into vyos then run this command to display your interface settings.

CAT /config/config.boot

Make a note of IP address and MAC address.

One way to fix this is to update the MAC address in the configuration. Run this command specifying interface that you want changed and MAC address.

set interfaces eth0 hw-id 00:0c:29:da:a4:fe'

If it is a VM go into the settings of the host and set the MAC address to the settings found in the config.boot file. Also if the host allows set MAC to be static.