[Bug 1881832] Re: Ubuntu server 20.04 fails to get IP address from DHCP server (no network connectivity)
Lukas Märdian
1881832 at bugs.launchpad.net
Fri Feb 5 10:29:14 UTC 2021
*** This bug is a duplicate of bug 1882162 ***
https://bugs.launchpad.net/bugs/1882162
Okay. It looks like we're discussing all sorts of DHCP issues here.
Let's stick to the original problem of invalid interface name, which
seems to be a subiquity issue and duplicate of LP: #1882162 caused by
attaching/detaching CDROM drive.
** Also affects: subiquity (Ubuntu)
Importance: Undecided
Status: New
** Changed in: netplan.io (Ubuntu)
Status: Incomplete => Invalid
** This bug has been marked a duplicate of bug 1882162
subiquity creates wrong network configuration (wrong NIC name)
--
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/1881832
Title:
Ubuntu server 20.04 fails to get IP address from DHCP server (no
network connectivity)
Status in netplan.io package in Ubuntu:
Invalid
Status in subiquity package in Ubuntu:
New
Bug description:
Ubuntu 20.04 server amd64, running as virtual machine on FreeNAS-11.3-U3.2.
Network interface was configured with driver VirtIO, and network interface is bridged at FreeNAS.
The issue is that I have DHCP server in my LAN and Ubuntu installer
gets IPv4 address and applies updates from internet. Install process
is OK. Once installation is finished, reboot is required but Ubuntu
will start but no IP address is assigned to enp0s4 interface, so
Ubuntu 20.04 server has no network connectivity. I can manually force
IP address allocation with command "sudo dhclient enp0s4" and it works
but that is just a workaround. IP address should be allocated
automatically during server boot...
I have older Ubuntu machines on the same FreeNAS box and those work
fine, so I assume there is a bug in Ubuntu 20.04 and DHCP client is
broken or not reliable... :-( Some problem in netplan utility??
I tried to install fresh 18.04.4 to my FreeNAS box and I see the same
problem, no IP address is assigned during boot. That is strange
because old installation of 18.04 from the past works fine.
I tried to install 20.04 to VMware ESXi 6.7 and I see the same
problem, no IP address is assigned to the new instance (install is OK,
but after restart, no network connectivity, "dhclient ensp0s4" is
working fine).
Summary is that I see similar problem on fresh installs of 20.04 and
18.04, FreeNAS or ESXi. I can connect instances with "dhclient
enp0s4", so it looks like DHCP server works fine and there is no
problem on LAN...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1881832/+subscriptions
More information about the foundations-bugs
mailing list