On Thu, 17 Nov 2016 11:11:07 +0100 Guus Sliepen <g...@debian.org> wrote:

> Hm, this is very weird. If the -4 fixes things, then the manual page
> is definitely not correct, since it says that -4 is the default.
Sorry. Missed to double check that.

> Also, I wonder how it can get an IPv4 address from the DHCP server,
> but not get an IPv4 DNS server from it. Can you show me the
> configuration of your DHCP server?
Unfortunately not. The DHCP server is a QEMU buildin.
The problem faced me with an actual QEMU from sid:

qemu-system-x86_64 -enable-kvm -M pc -device virtio-rng-pci -device
virtio-net-pci,netdev=user.0 -drive
file=buildenv.img,if=virtio,bus=1,unit=0 -no-reboot -netdev
user,id=user.0,hostfwd=tcp::5022-:22,hostfwd=tcp::7587-:7588 -m 1024
-usb -nographic -smp 4

buildenv.img is a debian jessie amd64 installation.

> Also, is "iface eth0 inet dhcp" the only iface stanza in
> your /etc/network/interfaces?
No. loopback is also configured.

/etc/network/interfaces:
---8<---
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see
interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
---8<---

Regards
    Benedikt Spranger

Attachment: pgp7I4wNEvPZR.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to