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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1785768

Title:
  [bionic] net-installer dhcp client fails with DHCPDECLINE

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1785768/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to