Kvm usermode networking
Hi,
How do I use the '-net user' kvm command-line option?
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 -boot d -cdrom linux-live.iso
This I'll get an eth0 device, and an IP for it.
kvm -net user -boot d -cdrom linux-live.iso
This I won't get the eth0 device.
As for linux-live.iso, I've tried two different ones, and the symptom is
the same.
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
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Reply to: