[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kvm -net nic -net tap makes no network.



In <[🔎] 4a44e60f.05ae660a.7163.ffffa291@mx.google.com>, Sthu Deus wrote:
>sudo kvm -localtime -hda hda -m 128 -net nic -net tap
>
>Incorrect number of arguments for command
>Usage: brctl addif <bridge> <device>    add interface to bridge
>/etc/kvm/kvm-ifdown: could not launch network script

Looks like kvm is using different network start scripts than qemu (none) and 
they are broken or make certain assumptions that aren't true.  Check 
/etc/kvm for scripts that use brctl and fix them.

>and have seen the same syntaxis. What is wrong? Or how do You give a
> network access to Your KVMs?

With no -net options, KVMs will automatically get a '-net nic -net user' 
connection type, which will allow them to access most networks with a 
minimum of setup.
-- 
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.


Reply to: