<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3AMattx86%2Fqwn%3ARenaming_a_network_interface</id>
	<title>User:Mattx86/qwn:Renaming a network interface - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3AMattx86%2Fqwn%3ARenaming_a_network_interface"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:Mattx86/qwn:Renaming_a_network_interface&amp;action=history"/>
	<updated>2026-05-05T19:11:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:Mattx86/qwn:Renaming_a_network_interface&amp;diff=5059&amp;oldid=prev</id>
		<title>Mattx86: Created page with &quot;Supppose I had an interface named &lt;code&gt;eth3&lt;/code&gt; and I want to rename it as &lt;code&gt;neweth3&lt;/code&gt;.  Start out by specifying: {{Cmd|auto neweth3 iface neweth3 inet static}}  Fol...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:Mattx86/qwn:Renaming_a_network_interface&amp;diff=5059&amp;oldid=prev"/>
		<updated>2011-03-15T10:42:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Supppose I had an interface named &amp;lt;code&amp;gt;eth3&amp;lt;/code&amp;gt; and I want to rename it as &amp;lt;code&amp;gt;neweth3&amp;lt;/code&amp;gt;.  Start out by specifying: {{Cmd|auto neweth3 iface neweth3 inet static}}  Fol...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Supppose I had an interface named &amp;lt;code&amp;gt;eth3&amp;lt;/code&amp;gt; and I want to rename it as &amp;lt;code&amp;gt;neweth3&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Start out by specifying:&lt;br /&gt;
{{Cmd|auto neweth3&lt;br /&gt;
iface neweth3 inet static}}&lt;br /&gt;
&lt;br /&gt;
Followed by the &amp;lt;code&amp;gt;address&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;netmask&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gateway&amp;lt;/code&amp;gt;, etc., and then add this line:&lt;br /&gt;
{{Cmd|pre-up nameif -s neweth3 00:11:22:33:44:55}}&lt;br /&gt;
&lt;br /&gt;
This sets the interface name to &amp;lt;code&amp;gt;neweth3&amp;lt;/code&amp;gt;, where the MAC address of the interface is &amp;lt;code&amp;gt;00:11:22:33:44:55&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s a full example:&lt;br /&gt;
{{Cmd|auto neweth3&lt;br /&gt;
iface neweth3 inet static&lt;br /&gt;
        address 10.100.100.1&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
        network 10.100.100.0&lt;br /&gt;
        broadcast 10.100.100.255&lt;br /&gt;
        pre-up nameif -s neweth3 00:11:22:33:44:55}}&lt;/div&gt;</summary>
		<author><name>Mattx86</name></author>
	</entry>
</feed>