[Bug 1618717] Re: dhclient fails to set default route

Philipp 1618717 at bugs.launchpad.net
Tue Jan 24 15:34:57 UTC 2017


** Patch added: ""Fixed" typo in the dhclient-script"
   https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1618717/+attachment/4808627/+files/dhclient-script.diff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1618717

Title:
  dhclient fails to set default route

Status in isc-dhcp package in Ubuntu:
  Confirmed

Bug description:
  
  We are trying to migrate our systems from trusty to xenial. There are no changes to dhcp configurations. On a xenial host, upon running dhclient, the default route does not get set. However, the other static routes do get set. 

  I copied /sbin/dhclient-script from a trusty host to the xenial host
  and ran dhclient and voila the default route got set.

  Version I copied from:
  user at host:~$ dpkg -l isc-dhcp-client
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                       Version            Architecture       Description
  +++-==========================-==================-==================-=========================================================
  ii  isc-dhcp-client            4.2.4-7ubuntu12.4  amd64              ISC DHCP client


  
  AFFECTED VERSION DETAILS
  =========================
  user at host:/var/lib/dhcp$ lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 16.04.1 LTS
  Release:	16.04
  Codename:	xenial
  user at host:/var/lib/dhcp$ dpkg -l isc-dhcp-client
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                       Version            Architecture       Description
  +++-==========================-==================-==================-=========================================================
  ii  isc-dhcp-client            4.3.3-5ubuntu12.1  amd64              DHCP client for automatically obtaining an IP address

  user at host:/var/lib/dhcp$ cat dhclient.leases  # some values changed
  lease {
    interface "ens3";
    fixed-address 10.0.0.97;
    filename "pxelinux.0";
    option subnet-mask 255.255.255.0;
    option routers 10.0.0.11;
    option dhcp-lease-time 86400;
    option dhcp-message-type 5;
    option domain-name-servers 127.0.0.1;
    option dhcp-server-identifier 10.0.0.1;
    option dhcp-renewal-time 43200;
    option rfc3442-classless-static-routes 24,10,1,0,10,84,192,66,24,192,168,100,10,0,0,66;
    option broadcast-address 10.0.0.255;
    option dhcp-rebinding-time 75600;
    option host-name "host";
    option domain-name "example.com";
    renew 3 2016/08/31 16:52:44;
    rebind 4 2016/09/01 03:25:21;
    expire 4 2016/09/01 06:25:21;
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1618717/+subscriptions



More information about the foundations-bugs mailing list