[Bug 1759014] Re: Netplan has no way to control DHCP client

Launchpad Bug Tracker 1759014 at bugs.launchpad.net
Thu Nov 22 04:01:32 UTC 2018


This bug was fixed in the package netplan.io - 0.90

---------------
netplan.io (0.90) disco; urgency=medium

  * New upstream release:
    - build: fixes for building on RPM-based distros
    - build: code prettiness changes (make indentation consistent)
    - Fix device name-changes detection (LP: #1770082)
    - Add support for IPv6 Privacy Extensions (LP: #1750392)
    - Add dhcp{4,6}-overrides to control DNS, NTP, hostname updates via DHCP
      (LP: #1759014)
    - Clarify MAC and MTU setting requirements (LP: #1800668)
    - Various documentation fixes (LP: #1800669)
    - Improve error reporting to give clearer messages and context
      (LP: #1800670)
    - Skip non-physical/bond interfaces when applying renames (LP: #1802322)

 -- Mathieu Trudel-Lapierre <cyphermox at ubuntu.com>  Wed, 21 Nov 2018
14:06:13 -0500

** Changed in: netplan.io (Ubuntu Disco)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1759014

Title:
  Netplan has no way to control DHCP client

Status in netplan:
  Fix Released
Status in netplan.io package in Ubuntu:
  Fix Released
Status in netplan.io source package in Bionic:
  Confirmed
Status in netplan.io source package in Cosmic:
  Confirmed
Status in netplan.io source package in Disco:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1759014/+subscriptions



More information about the foundations-bugs mailing list