{"id":538,"date":"2022-05-20T08:41:50","date_gmt":"2022-05-20T13:41:50","guid":{"rendered":"https:\/\/carminebufano.com\/index.php\/2022\/05\/20\/how-to-rename-a-zerotier-one-interface-from-zt-to-eth0-or-eth1-or-anything-you-want\/"},"modified":"2022-05-23T15:10:39","modified_gmt":"2022-05-23T20:10:39","slug":"how-to-rename-a-zerotier-one-interface-from-zt-to-eth0-or-eth1-or-anything-you-want","status":"publish","type":"post","link":"https:\/\/carminebufano.com\/index.php\/2022\/05\/20\/how-to-rename-a-zerotier-one-interface-from-zt-to-eth0-or-eth1-or-anything-you-want\/","title":{"rendered":"How to rename a ZeroTier One  interface from zt\u2026 to eth0 or eth1 or anything you want!"},"content":{"rendered":"\n<p class=\"has-vivid-red-color has-white-background-color has-text-color has-background\"><em>Below is the original post that walks you through the steps to rename ZeroTier interfaces. Shortly after I posted this, Grant Limberg from ZeroTier posted something that makes a lot of sense. Changing the name of the interface; more specifically removing the \u201czt\u201d from the interface will have some very negative effects. He eloquently explained it better than I could so before you do this please scroll down and read his reply. I am going to make a video showing the effect renaming the ZeroTier interface will have but I couldn\u2019t in good conscience leave this post up without<\/em> adding at least this disclaimer. <\/p>\n\n\n\n<p>If you want to make your ZeroTier interface name match the network interface naming scheme currently used on your Linux server:<\/p>\n\n\n\n<p>Create a file called devicemap in \/var\/lib\/zerotier-one\/<\/p>\n\n\n\n<p>You can do this with the following command:<\/p>\n\n\n\n<p class=\"has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">sudo touch \/var\/lib\/zerotier-one\/devicemap <\/p>\n\n\n\n<p>Next we will add a line in the file we just created<\/p>\n\n\n\n<p class=\"has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">sudo nano \/var\/lib\/zerotier-one\/devicemap<\/p>\n\n\n\n<p>The file will open to a blank page. Inside the file we will add two pieces of information. The network id of the ZeroTier network and what you want your interface name to be. For example I have a ZeroTier network that I created at my.zerotier.com named \u201cremotedesktops\u201d my network id is the long series of letters and numbers that appear next to the name. Also my Debian Linux server has a physical interface named \u201ceth0\u201d so I want my ZeroTier interface to be \u201ceth1\u201d instead of zt-247. So I will type the following line in the text editor<\/p>\n\n\n\n<p class=\"has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">27ef6g78ef=eth1<\/p>\n\n\n\n<p>Now press ctrl X and \u201cy\u201d to confirm to save the file.<\/p>\n\n\n\n<p>It is possible to make these changes take effect without a reboot with this command:<\/p>\n\n\n\n<p>systemctl restart zerotier-cli<\/p>\n\n\n\n<p>However, I prefer a reboot for completeness.<\/p>\n\n\n\n<p>Now reboot your machine and when you log back in and list your interfaces you should see eth1 as the ZeroTier interface (or whatever you named it). Hope this helps! <\/p>\n\n\n\n<p>If you have problems or just want to reach out, you can now reach me! Drop a line to contact@carminebufano.com <\/p>\n\n\n\n\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>Below is the original post that walks you through the steps to rename ZeroTier interfaces. Shortly after I posted this, Grant Limberg from ZeroTier posted something that makes a lot of sense. Changing the name of the interface; more specifically removing the \u201czt\u201d from the interface will have some very negative effects. He eloquently explained&hellip; <a class=\"read-more\" href=\"https:\/\/carminebufano.com\/index.php\/2022\/05\/20\/how-to-rename-a-zerotier-one-interface-from-zt-to-eth0-or-eth1-or-anything-you-want\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[103,15,102],"tags":[104],"class_list":["post-538","post","type-post","status-publish","format-standard","hentry","category-one","category-walkthroughs","category-zerotier","tag-zerotier"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":588,"url":"https:\/\/carminebufano.com\/index.php\/2022\/12\/12\/how-to-install-zerotier-on-qnap-qts-5-0-1-xxx\/","url_meta":{"origin":538,"position":0},"title":"How to install ZeroTier on QNAP QTS 5.0.1.xxx","author":"Carmine Bufano","date":"December 12, 2022","format":false,"excerpt":"Download package from: https:\/\/download.zerotier.com\/dist\/qnap\/ zerotier_1.10.1_x86_64.qpkg Use WinSCP to move the file onto the NAS Install QVPN from the APP Center within QNAP SSH into the nas to the directory where you put the file with WinSCP install it with this command: sudo sh .\/zerotier_1.10.1x86_64.qpkg Type the below commands line by\u2026","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":698,"url":"https:\/\/carminebufano.com\/index.php\/2024\/09\/20\/quality-free-resources-to-learn-programming\/","url_meta":{"origin":538,"position":1},"title":"Top 3 Online Resources to Learn Coding","author":"Carmine Bufano","date":"September 20, 2024","format":false,"excerpt":"Learn to write your own applications for fun and profit. Here are quality free resources online that I can personally vouch for. I get nothing for suggesting these websites.","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/carminebufano.com\/index.php\/category\/announcements\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":857,"url":"https:\/\/carminebufano.com\/index.php\/2026\/04\/20\/ovn-integration-coexistence-on-xenserver-and-xcp-ng\/","url_meta":{"origin":538,"position":2},"title":"OVN Integration &amp; Coexistence on Xenserver and XCP-ng","author":"Carmine Bufano","date":"April 20, 2026","format":false,"excerpt":"Research on multi hypervisor network virtualization using Open Virtual Network Summary The cleanest technical path is not to bolt a foreign br-int onto a host that already has its networking lifecycle owned by XAPI. The safer pattern is to let XAPI create and own a dedicated internal network bridge, then\u2026","rel":"","context":"In &quot;CentOS&quot;","block_context":{"text":"CentOS","link":"https:\/\/carminebufano.com\/index.php\/category\/centos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":108,"url":"https:\/\/carminebufano.com\/index.php\/2014\/11\/05\/change-interface-names-back-to-eth0-eth1-on-centos-7\/","url_meta":{"origin":538,"position":3},"title":"Change interface names back to eth0, eth1 on CentOS 7","author":"Carmine Bufano","date":"November 5, 2014","format":false,"excerpt":"","rel":"","context":"In &quot;CentOS&quot;","block_context":{"text":"CentOS","link":"https:\/\/carminebufano.com\/index.php\/category\/centos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":678,"url":"https:\/\/carminebufano.com\/index.php\/2024\/08\/04\/ospf-on-mikrotik-routeros-v7-15-x\/","url_meta":{"origin":538,"position":4},"title":"OSPF on Mikrotik RouterOS v7.15.x Notes, Examples, Diagrams","author":"Carmine Bufano","date":"August 4, 2024","format":false,"excerpt":"OSPF on Mikrotik RouterOS v7.15.x","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/carminebufano.com\/index.php\/category\/announcements\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/08\/OSPF_Network_Configuration.jpg?fit=1200%2C686&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/08\/OSPF_Network_Configuration.jpg?fit=1200%2C686&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/08\/OSPF_Network_Configuration.jpg?fit=1200%2C686&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/08\/OSPF_Network_Configuration.jpg?fit=1200%2C686&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/08\/OSPF_Network_Configuration.jpg?fit=1200%2C686&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":339,"url":"https:\/\/carminebufano.com\/index.php\/2020\/09\/10\/how-to-reset-vmware-vrni-vrealize-network-insight-web-ui-login-adminlocal\/","url_meta":{"origin":538,"position":5},"title":"How to reset VMware VRNI (vrealize network insight) web ui login admin@local","author":"Carmine Bufano","date":"September 10, 2020","format":false,"excerpt":"","rel":"","context":"In &quot;vmware&quot;","block_context":{"text":"vmware","link":"https:\/\/carminebufano.com\/index.php\/category\/vmware\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/p70MUT-8G","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/comments?post=538"}],"version-history":[{"count":3,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/538\/revisions"}],"predecessor-version":[{"id":549,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/538\/revisions\/549"}],"wp:attachment":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/media?parent=538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/categories?post=538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/tags?post=538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}