2020-06-03 03:42:45 |
psl |
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 not start, EFI issue has to be fixed first; Ubuntu on FreeNAS has problem with EFI, it has to be manually fixed; it is known issue, solution is here: https://www.ixsystems.com/community/threads/howto-how-to-boot-linux-vms-using-uefi.54039/
Once EFI is fixed and Ubuntu boots, 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?? |
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... |
|