[Grml] grml autoconfig and kvm network

T o n g mlist4suntong at yahoo.com
Sat Sep 25 04:14:19 CEST 2010


Whenever I use the '-net user' kvm command-line option, the guest grml 
will not have the eth0 device.

According to

| 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 address space and the host OS will be reachable
| at

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
  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. 


Tong (remove underscore(s) to reply)

More information about the Grml mailing list