
Hi,
Whenever I use the '-net user' kvm command-line option, the guest grml will not have the eth0 device.
According to https://help.ubuntu.com/community/KVM/Networking
,----- | By default, if you enable the usermode networking using the '-net | user' command-line option, the guest OS will get an IP address in | the 10.0.2.0/24 address space and the host OS will be reachable | at 10.0.2.2. `-----
However, whenever I use the '-net user' option, there will be no eth0 device. I.e.,
kvm -net user -boot d -cdrom grml-medium_2010.04.iso
This I'll get an eth0 device, and an IP for it.
kvm -net user -boot d -cdrom grml-medium_2010.04.iso
This I won't get the eth0 device. The /etc/network/interfaces file only contains lo device, no eth0.
Is it my kvm problem or grml autoconfig's?
FYI, my kvm is just the vanilla one:
$ apt-cache policy qemu-kvm qemu-kvm: Installed: 0.12.5+dfsg-3 Candidate: 0.12.5+dfsg-3 Version table: *** 0.12.5+dfsg-3 0 360 http://cdn.debian.net testing/main Packages 50 http://cdn.debian.net unstable/main Packages 100 /var/lib/dpkg/status
Please help.
Thanks