how to change ADDED interface names and make them persistent
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
After looking around a bit on the internet I discovered that the ' Predictable ' Network Interface Names is making the network interface names 'Predictable'.
Well you can already guess what is going on. I now have interface names that are ridiculously long but I was able to fix the builtin interfaces back to the good old eth0 and eth1, but now the new added ones get an even larger string of characters which is quite annoying, as I need to type the whole thing out. after looking around for solutions on the internet to get them to be named like the other two I only found temporarily solutions and I need a persistent solution as the server needs to be rebooted sometimes for certain upgrades/updates.
16.04 networking interface
add a comment |Â
up vote
0
down vote
favorite
After looking around a bit on the internet I discovered that the ' Predictable ' Network Interface Names is making the network interface names 'Predictable'.
Well you can already guess what is going on. I now have interface names that are ridiculously long but I was able to fix the builtin interfaces back to the good old eth0 and eth1, but now the new added ones get an even larger string of characters which is quite annoying, as I need to type the whole thing out. after looking around for solutions on the internet to get them to be named like the other two I only found temporarily solutions and I need a persistent solution as the server needs to be rebooted sometimes for certain upgrades/updates.
16.04 networking interface
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
After looking around a bit on the internet I discovered that the ' Predictable ' Network Interface Names is making the network interface names 'Predictable'.
Well you can already guess what is going on. I now have interface names that are ridiculously long but I was able to fix the builtin interfaces back to the good old eth0 and eth1, but now the new added ones get an even larger string of characters which is quite annoying, as I need to type the whole thing out. after looking around for solutions on the internet to get them to be named like the other two I only found temporarily solutions and I need a persistent solution as the server needs to be rebooted sometimes for certain upgrades/updates.
16.04 networking interface
After looking around a bit on the internet I discovered that the ' Predictable ' Network Interface Names is making the network interface names 'Predictable'.
Well you can already guess what is going on. I now have interface names that are ridiculously long but I was able to fix the builtin interfaces back to the good old eth0 and eth1, but now the new added ones get an even larger string of characters which is quite annoying, as I need to type the whole thing out. after looking around for solutions on the internet to get them to be named like the other two I only found temporarily solutions and I need a persistent solution as the server needs to be rebooted sometimes for certain upgrades/updates.
16.04 networking interface
asked May 18 at 15:05
delfiler
72111
72111
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html
You should only need to match the MAC e.g
/etc/systemd/network/10-dmz.link
[Match]
MACAddress=00:a0:de:63:7a:e6
[Link]
Name=dmz0
So you can have predictable names enabled but have it the old way to some degree.
It'll be nice when predicatable names all TAB complete because they are a pain imo.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html
You should only need to match the MAC e.g
/etc/systemd/network/10-dmz.link
[Match]
MACAddress=00:a0:de:63:7a:e6
[Link]
Name=dmz0
So you can have predictable names enabled but have it the old way to some degree.
It'll be nice when predicatable names all TAB complete because they are a pain imo.
add a comment |Â
up vote
1
down vote
accepted
You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html
You should only need to match the MAC e.g
/etc/systemd/network/10-dmz.link
[Match]
MACAddress=00:a0:de:63:7a:e6
[Link]
Name=dmz0
So you can have predictable names enabled but have it the old way to some degree.
It'll be nice when predicatable names all TAB complete because they are a pain imo.
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html
You should only need to match the MAC e.g
/etc/systemd/network/10-dmz.link
[Match]
MACAddress=00:a0:de:63:7a:e6
[Link]
Name=dmz0
So you can have predictable names enabled but have it the old way to some degree.
It'll be nice when predicatable names all TAB complete because they are a pain imo.
You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html
You should only need to match the MAC e.g
/etc/systemd/network/10-dmz.link
[Match]
MACAddress=00:a0:de:63:7a:e6
[Link]
Name=dmz0
So you can have predictable names enabled but have it the old way to some degree.
It'll be nice when predicatable names all TAB complete because they are a pain imo.
answered May 18 at 15:41
![](https://lh3.googleusercontent.com/-ASB3FghG-uE/AAAAAAAAAAI/AAAAAAAAArk/NkrftwhcqjA/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-ASB3FghG-uE/AAAAAAAAAAI/AAAAAAAAArk/NkrftwhcqjA/photo.jpg?sz=32)
Sir_Scofferoff
32416
32416
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037807%2fhow-to-change-added-interface-names-and-make-them-persistent%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password