2018-03-26 19:32:14 |
Alan Johnson |
bug |
|
|
added bug |
2018-04-17 20:12:57 |
Mathieu Trudel-Lapierre |
affects |
nplan (Ubuntu) |
netplan |
|
2018-05-07 11:20:25 |
nucc1 |
bug |
|
|
added subscriber nucc1 |
2018-06-11 16:27:35 |
Steve Langasek |
netplan: importance |
Undecided |
Medium |
|
2018-08-07 18:48:19 |
Antonio Abella |
bug |
|
|
added subscriber Antonio Abella |
2018-08-31 01:32:03 |
Alexey Zagarin |
attachment added |
|
replace_dhcp_dns.patch https://bugs.launchpad.net/netplan/+bug/1759014/+attachment/5182836/+files/replace_dhcp_dns.patch |
|
2018-08-31 05:29:18 |
Alan Johnson |
attachment added |
|
dhcp_options.patch https://bugs.launchpad.net/netplan/+bug/1759014/+attachment/5182895/+files/dhcp_options.patch |
|
2018-10-10 03:13:24 |
David Thomas |
bug |
|
|
added subscriber David Thomas |
2018-10-30 14:40:54 |
Mathieu Trudel-Lapierre |
netplan: status |
New |
Fix Committed |
|
2018-10-30 14:41:03 |
Mathieu Trudel-Lapierre |
bug task added |
|
netplan.io (Ubuntu) |
|
2018-10-30 14:41:11 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Bionic |
|
2018-10-30 14:41:11 |
Mathieu Trudel-Lapierre |
bug task added |
|
netplan.io (Ubuntu Bionic) |
|
2018-10-30 14:41:11 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Disco |
|
2018-10-30 14:41:11 |
Mathieu Trudel-Lapierre |
bug task added |
|
netplan.io (Ubuntu Disco) |
|
2018-10-30 14:41:11 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Cosmic |
|
2018-10-30 14:41:11 |
Mathieu Trudel-Lapierre |
bug task added |
|
netplan.io (Ubuntu Cosmic) |
|
2018-10-30 16:21:49 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2018-10-30 16:21:56 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2018-11-06 14:58:02 |
Launchpad Janitor |
netplan.io (Ubuntu): status |
New |
Confirmed |
|
2018-11-06 14:58:02 |
Launchpad Janitor |
netplan.io (Ubuntu Bionic): status |
New |
Confirmed |
|
2018-11-06 14:58:02 |
Launchpad Janitor |
netplan.io (Ubuntu Cosmic): status |
New |
Confirmed |
|
2018-11-06 14:58:12 |
Alex Tomlins |
bug |
|
|
added subscriber Alex Tomlins |
2018-11-15 14:43:27 |
Antonio Abella |
netplan: status |
Fix Committed |
Fix Released |
|
2018-11-22 04:01:32 |
Launchpad Janitor |
netplan.io (Ubuntu Disco): status |
Confirmed |
Fix Released |
|
2019-01-19 16:59:36 |
Anders Carling |
bug |
|
|
added subscriber Anders Carling |
2019-02-10 18:44:32 |
Dmitrii Shcherbakov |
bug |
|
|
added subscriber Dmitrii Shcherbakov |
2019-02-11 18:34:22 |
Jason Ramey |
bug |
|
|
added subscriber Jason Ramey |
2019-02-13 07:05:22 |
Fumihito YOSHIDA |
bug |
|
|
added subscriber Fumihito YOSHIDA |
2019-02-20 19:44:23 |
Mark Doliner |
bug |
|
|
added subscriber Mark Doliner |
2019-03-11 19:56:48 |
Mathieu Trudel-Lapierre |
description |
Currently DHCP appears to be an all or nothing boolean, which is insufficient for many network configurations.
Ideally all of the DHCP configuration options supported by systemd would also be supported in netplan:
https://www.freedesktop.org/software/systemd/man/systemd.network.html#%5BDHCP%5D%20Section%20Options
As an example, consider the following netplan configuration:
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: yes
nameservers: [8.8.8.8,8.8.4.4]
After running netplan apply I check the nameservers with systemd-resolve --status and it shows:
DNS Servers: 8.8.8.8
8.8.4.4
192.168.1.1
Here, "192.168.1.1" was provided by my DHCP server. On this particular node, I only want the manually configured DNS servers, but netplan has no way to indicate this. |
[Impact]
DHCP configurations where custom settings (routes, nameservers, etc.) need to be applied.
[Test case]
1) Configure netplan for the particulars of the network by configuring an appropriate dhcp{4,6}-override stanza:
network:
version: 2
ethernets:
engreen:
dhcp4: true
dhcp4-overrides:
use-dns: false
use-routes: false
route-metric: 3333
Additionally, if so required, add a custom DNS / routes to the configuration. e.g.
nameservers:
search: [lab, kitchen]
addresses: [8.8.8.8]
(See https://netplan.io/reference#dhcp-overrides for the available options)
2) Run 'netplan apply' or reboot to have the configuration applied.
3) Validate that the routes / DNS are properly ignored and/or replaced by the defined values.
[Regression potential]
Minimal; this adds new values to the configuration generated for networkd or NetworkManager. Existing configurations will remain unchanged, but new configurations using the dhcp{4,6}-overrides fields will benefit from additional flexibility.
---
Currently DHCP appears to be an all or nothing boolean, which is insufficient for many network configurations.
Ideally all of the DHCP configuration options supported by systemd would also be supported in netplan:
https://www.freedesktop.org/software/systemd/man/systemd.network.html#%5BDHCP%5D%20Section%20Options
As an example, consider the following netplan configuration:
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: yes
nameservers: [8.8.8.8,8.8.4.4]
After running netplan apply I check the nameservers with systemd-resolve --status and it shows:
DNS Servers: 8.8.8.8
8.8.4.4
192.168.1.1
Here, "192.168.1.1" was provided by my DHCP server. On this particular node, I only want the manually configured DNS servers, but netplan has no way to indicate this. |
|
2019-03-21 13:38:00 |
Jason Edgecombe |
bug |
|
|
added subscriber Jason Edgecombe |
2019-03-22 09:10:37 |
Timo Aaltonen |
netplan.io (Ubuntu Cosmic): status |
Confirmed |
Fix Committed |
|
2019-03-22 09:10:40 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-03-22 09:10:43 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2019-03-22 09:10:50 |
Timo Aaltonen |
tags |
patch |
patch verification-needed verification-needed-cosmic |
|
2019-03-22 09:18:04 |
Timo Aaltonen |
netplan.io (Ubuntu Bionic): status |
Confirmed |
Fix Committed |
|
2019-03-22 09:18:13 |
Timo Aaltonen |
tags |
patch verification-needed verification-needed-cosmic |
patch verification-needed verification-needed-bionic verification-needed-cosmic |
|
2019-03-23 10:47:37 |
Marian Rainer-Harbach |
bug |
|
|
added subscriber Marian Rainer-Harbach |
2019-03-26 10:02:40 |
Michael Steffens |
bug |
|
|
added subscriber Michael Steffens |
2019-03-26 19:14:20 |
Mathieu Trudel-Lapierre |
bug task added |
|
systemd (Ubuntu) |
|
2019-03-27 08:20:34 |
Launchpad Janitor |
systemd (Ubuntu): status |
New |
Confirmed |
|
2019-03-27 08:20:34 |
Launchpad Janitor |
systemd (Ubuntu Bionic): status |
New |
Confirmed |
|
2019-03-27 08:20:34 |
Launchpad Janitor |
systemd (Ubuntu Cosmic): status |
New |
Confirmed |
|
2019-03-29 13:27:45 |
Michael Steffens |
tags |
patch verification-needed verification-needed-bionic verification-needed-cosmic |
patch verification-done-cosmic verification-needed verification-needed-bionic |
|
2019-03-29 13:34:27 |
Michael Steffens |
tags |
patch verification-done-cosmic verification-needed verification-needed-bionic |
patch verification-done-bionic verification-done-cosmic verification-needed |
|
2019-04-01 16:59:27 |
Andrew Chen |
bug |
|
|
added subscriber Andrew Chen |
2019-04-10 21:19:39 |
Steve Langasek |
tags |
patch verification-done-bionic verification-done-cosmic verification-needed |
patch verification-done-cosmic verification-needed verification-needed-bionic |
|
2019-04-11 07:41:00 |
Michael Steffens |
tags |
patch verification-done-cosmic verification-needed verification-needed-bionic |
patch verification-done-bionic verification-done-cosmic verification-needed |
|
2019-04-15 22:32:43 |
Launchpad Janitor |
netplan.io (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2019-04-15 22:33:20 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-04-18 23:39:17 |
Steve Langasek |
netplan.io (Ubuntu Cosmic): status |
Fix Released |
Fix Committed |
|
2019-04-24 18:19:09 |
Dan Streetman |
bug |
|
|
added subscriber Dan Streetman |
2019-04-30 21:02:32 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-04-30 21:02:49 |
Brian Murray |
tags |
patch verification-done-bionic verification-done-cosmic verification-needed |
patch verification-done-bionic verification-needed verification-needed-cosmic |
|
2019-04-30 21:56:51 |
Brian Murray |
tags |
patch verification-done-bionic verification-needed verification-needed-cosmic |
patch verification-needed verification-needed-bionic verification-needed-cosmic |
|
2019-05-02 11:15:03 |
Michael Steffens |
tags |
patch verification-needed verification-needed-bionic verification-needed-cosmic |
patch verification-done-bionic verification-needed verification-needed-cosmic |
|
2019-05-02 12:18:53 |
Michael Steffens |
tags |
patch verification-done-bionic verification-needed verification-needed-cosmic |
patch verification-done-bionic verification-done-cosmic verification-needed |
|
2019-05-04 14:34:32 |
Tom Matthews |
bug |
|
|
added subscriber Tom Matthews |
2019-05-08 00:00:42 |
Launchpad Janitor |
netplan.io (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-05-08 00:01:20 |
Launchpad Janitor |
netplan.io (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2019-05-10 13:44:38 |
Marian Rainer-Harbach |
removed subscriber Marian Rainer-Harbach |
|
|
|
2019-05-22 18:06:59 |
David Middleton |
bug |
|
|
added subscriber David Middleton |
2019-09-27 17:49:12 |
Dan Streetman |
systemd (Ubuntu): status |
Confirmed |
Fix Released |
|
2019-09-27 17:49:18 |
Dan Streetman |
systemd (Ubuntu Bionic): status |
Confirmed |
Fix Released |
|
2019-09-27 17:49:23 |
Dan Streetman |
systemd (Ubuntu Cosmic): status |
Confirmed |
Fix Released |
|
2019-09-27 17:49:26 |
Dan Streetman |
systemd (Ubuntu Disco): status |
Confirmed |
Fix Released |
|
2020-07-10 10:52:33 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Mantas Kriaučiūnas |
2020-07-10 10:53:09 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Baltix GNU/Linux system developers |
2020-07-10 14:41:32 |
Mantas Kriaučiūnas |
bug task added |
|
baltix-default-settings |
|
2020-07-10 14:53:54 |
Lars Andersson |
removed subscriber Lars Andersson |
|
|
|