summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-11 17:56:31 +0100
committerGitHub <noreply@github.com>2020-11-11 17:56:31 +0100
commita27e6aa461c7be46ed7a98c01f2e5ebe06218234 (patch)
treeaebcb73fa0dfcb94f9955a5c447105a6af60c753
parentd9d7e64a54cb2d32e0e8759d0a2af53a10002c93 (diff)
parent627ccb20a88f11c14c29e4e250de7d8be4c093aa (diff)
downloadvyos-documentation-a27e6aa461c7be46ed7a98c01f2e5ebe06218234.tar.gz
vyos-documentation-a27e6aa461c7be46ed7a98c01f2e5ebe06218234.zip
Merge pull request #375 from currite/int-names
troubleshooting: add interface name change
-rw-r--r--docs/troubleshooting.rst33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/troubleshooting.rst b/docs/troubleshooting.rst
index 2d6532d0..0b3420f4 100644
--- a/docs/troubleshooting.rst
+++ b/docs/troubleshooting.rst
@@ -155,6 +155,39 @@ Neighbor Discovery
Soliciting fc00:470:f1cd:101::1 (fc00:470:f1cd:101::1) on eth0...
Target link-layer address: 00:98:2B:F8:3F:11 from fc00:470:f1cd:101::1
+
+***************
+Interface names
+***************
+
+If you find the names of your interfaces have changed, this could be because your MAC addresses have changed.
+
+* For example, you have a VyOS VM with 4 Ethernet interfaces named eth0, eth1, eth2 and eth3. Then, you migrate your VyOS VM to a different host and find your interfaces now are eth4, eth5, eth6 and eth7.
+
+ One way to fix this issue **taking control of the MAC addresses** is:
+
+ Log into VyOS and run this command to display your interface settings.
+
+ .. code-block:: none
+
+ show interfaces detail
+
+ Take note of MAC addresses.
+
+ Now, in order to update a MAC address in the configuration, run this command specifying the interface name and MAC address you want.
+
+ .. code-block:: none
+
+ 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. You can also set the MAC to static if the host allows so.
+
+
+* Another example could be when cloning VyOS VMs in GNS3 and you get into the same issue: interface names have changed.
+
+ And **a more generic way to fix it** is just deleting every MAC address at the configuration file of the cloned machine. They will be correctly regenerated automatically.
+
+
**********
Monitoring
**********