Server 18.04: netplan and link-local addressing


up vote
0
down vote
favorite
I have begun experimenting with Ubuntu Server 18.04 and I ran into a problem with configuring the network. I have a PC with two network ports and one of those two ports has to get an IPv4 link-local address. In the desktop version I can achieve this by going into NetworkManager and then choose the link-local option. But with Server I have to use that new netplan program. However, the manual and other online resources make it not at all clear to me on how to achieve this. There's stuff to be found on setting up DHCP and static address but nothing on using Avahi (which Desktop uses) or other means of obtaining a 169.254.x.y address.
So: how can I write a yaml configuration that instructs netplan to set up link-local addressing on an interface?
networking netplan zeroconf
add a comment |Â
up vote
0
down vote
favorite
I have begun experimenting with Ubuntu Server 18.04 and I ran into a problem with configuring the network. I have a PC with two network ports and one of those two ports has to get an IPv4 link-local address. In the desktop version I can achieve this by going into NetworkManager and then choose the link-local option. But with Server I have to use that new netplan program. However, the manual and other online resources make it not at all clear to me on how to achieve this. There's stuff to be found on setting up DHCP and static address but nothing on using Avahi (which Desktop uses) or other means of obtaining a 169.254.x.y address.
So: how can I write a yaml configuration that instructs netplan to set up link-local addressing on an interface?
networking netplan zeroconf
This is not an answer to the question, because currently it's not supported at all in netplan yaml; but I've filed a bug about adding support for this: bugs.launchpad.net/netplan/+bug/1771704
â slangasek
May 17 at 0:08
Thanks for filing the report. At least it's good to know that netplan has no support for this yet.
â Nathilion
May 18 at 5:00
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have begun experimenting with Ubuntu Server 18.04 and I ran into a problem with configuring the network. I have a PC with two network ports and one of those two ports has to get an IPv4 link-local address. In the desktop version I can achieve this by going into NetworkManager and then choose the link-local option. But with Server I have to use that new netplan program. However, the manual and other online resources make it not at all clear to me on how to achieve this. There's stuff to be found on setting up DHCP and static address but nothing on using Avahi (which Desktop uses) or other means of obtaining a 169.254.x.y address.
So: how can I write a yaml configuration that instructs netplan to set up link-local addressing on an interface?
networking netplan zeroconf
I have begun experimenting with Ubuntu Server 18.04 and I ran into a problem with configuring the network. I have a PC with two network ports and one of those two ports has to get an IPv4 link-local address. In the desktop version I can achieve this by going into NetworkManager and then choose the link-local option. But with Server I have to use that new netplan program. However, the manual and other online resources make it not at all clear to me on how to achieve this. There's stuff to be found on setting up DHCP and static address but nothing on using Avahi (which Desktop uses) or other means of obtaining a 169.254.x.y address.
So: how can I write a yaml configuration that instructs netplan to set up link-local addressing on an interface?
networking netplan zeroconf
asked May 11 at 5:09
Nathilion
63
63
This is not an answer to the question, because currently it's not supported at all in netplan yaml; but I've filed a bug about adding support for this: bugs.launchpad.net/netplan/+bug/1771704
â slangasek
May 17 at 0:08
Thanks for filing the report. At least it's good to know that netplan has no support for this yet.
â Nathilion
May 18 at 5:00
add a comment |Â
This is not an answer to the question, because currently it's not supported at all in netplan yaml; but I've filed a bug about adding support for this: bugs.launchpad.net/netplan/+bug/1771704
â slangasek
May 17 at 0:08
Thanks for filing the report. At least it's good to know that netplan has no support for this yet.
â Nathilion
May 18 at 5:00
This is not an answer to the question, because currently it's not supported at all in netplan yaml; but I've filed a bug about adding support for this: bugs.launchpad.net/netplan/+bug/1771704
â slangasek
May 17 at 0:08
This is not an answer to the question, because currently it's not supported at all in netplan yaml; but I've filed a bug about adding support for this: bugs.launchpad.net/netplan/+bug/1771704
â slangasek
May 17 at 0:08
Thanks for filing the report. At least it's good to know that netplan has no support for this yet.
â Nathilion
May 18 at 5:00
Thanks for filing the report. At least it's good to know that netplan has no support for this yet.
â Nathilion
May 18 at 5:00
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1034762%2fserver-18-04-netplan-and-link-local-addressing%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
This is not an answer to the question, because currently it's not supported at all in netplan yaml; but I've filed a bug about adding support for this: bugs.launchpad.net/netplan/+bug/1771704
â slangasek
May 17 at 0:08
Thanks for filing the report. At least it's good to know that netplan has no support for this yet.
â Nathilion
May 18 at 5:00