[Bug 1785768] Re: [bionic] net-installer dhcp client fails with DHCPDECLINE
Simon
1785768 at bugs.launchpad.net
Sat Dec 1 17:50:08 UTC 2018
I'm definitely seeing this bug at the moment, my issue arises when i
have multiple router options , for example in isc-dhcp.
option routers 192.168.0.254, 192.168.0.253;
this is causing the client to send back a DHCPDECLINE. If i just have
one router defined everything seems to work ok. The DNS settings don't
seem to have an effect for me anyway even if i provide an unreachable
address in the DHCP server config it still works it only stops when
there are multiple routers presented.
I tried patching netcfg with the patch from
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/848072 but this
didn't help the issue. At the moment I'm doing something like this
if exists user-class and option user-class = "iPXE" {
filename "boot.ipxe";
option routers 192.168.0.254, 192.168.0.253;
}
elsif option vendor-class-identifier = "d-i" {
option routers 192.168.0.254;
} else {
option routers 192.168.0.254, 192.168.0.253;
filename "undionly.kpxe";
}
The netboot environment sends a "d-i" as the vendor-class-identifier so
if i only provide one router at this point the net install continues.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcfg in Ubuntu.
https://bugs.launchpad.net/bugs/1785768
Title:
[bionic] net-installer dhcp client fails with DHCPDECLINE
Status in netcfg package in Ubuntu:
New
Bug description:
During installation over PXE with a preseed file and with the netboot
files the dhcp client fails with a DHCPDECLINE. Apparently it's a
known issue which is often reiterated between each version according
to this bugreport :
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/848072
The client machine start over PXE and get with success all files which
are needed to start the debian-installer. While it tries to configure
the network the client sends a DHCPDECLINE and the network
configuration fails.
I have downloaded netboot.tar.gz file from this link :
http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-
amd64/current/images/netboot/netboot.tar.gz
Ubuntu version: 18.04
Installer build: 20101020ubuntu543
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1785768/+subscriptions
More information about the foundations-bugs
mailing list