In <[🔎] i7jp57$jro$2@dough.gmane.org>, T o n g wrote: >How do I use the '-net user' kvm command-line option? "-net" command-line options must be provided in pairs to be effective. The first one must be a "-net nic" to give the internal view of the device (i.e. how the guest sees it). The second one should be a "-net user/tap/socket" to give the external view of the device (i.e. how the host handles it). (Yes, this isn't entirely clear from the documentation. I know because I live with a qemu hacker.) >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. >`----- % man qemu | grep -B 2 -A 1 'default configuration' -net none Indicate that no network devices should be configured. It is used to override the default configuration (-net nic -net user) which is activated if no -net options are provided. (The default configuration is not *just* "-net user".) -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
Attachment:
signature.asc
Description: This is a digitally signed message part.