AW: AW: AW: AW: AW: Problem with virtio network boot

Denny Bortfeldt d.bortfeldt at babiel.com
Thu Jun 16 10:16:09 CEST 2016


Hello everyone,

I could fix the problem. And here's the solution if you also got the problem:

VirtIO driver is included in the initrd, but when the VM boot into dracut the "dhclient" command fails. This happens, because of bad checksums with special software.
Currently we use qemu/kvm on out virtualization host and create the vms with "virt-install" and parameter "--pxe" for netboot. 
During netboot our DHCP-Server (dnsmasq) give the client an IP and this dnsserver got a little bug which was fixed in isc-dhcp already (standard dhcp in fai-installation). So nearly everyone should not have the same problem.

There are some solutions to fix the bad checksums bug:
- use isc-dhcp
- use e1000 driver instead during installation
- use an iptables-rule on the virtualization host(!!)
-- iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM --checksum-fill

Bug-Links:
- https://forge.univention.org/bugzilla/show_bug.cgi?id=33160 & https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717215

A special thanks to Thomas, who helped me a lot with nice hints!

Best regards,
Denny


More information about the linux-fai mailing list