Ben,

Thanks much for your reply. I missed the executable flags on this /etc/ovs-ifup 
file. Now, I can proceed with this kvm command.

Thanks again,
Sumit


________________________________
 From: Ben Pfaff <b...@nicira.com>
To: sumit sengupta <sumit_sn...@yahoo.co.in> 
Cc: "discuss@openvswitch.org" <discuss@openvswitch.org> 
Sent: Thursday, 8 March 2012 11:03 PM
Subject: Re: [ovs-discuss] KVM + openvswitch : device tap could not be 
initialized
 
On Wed, Mar 07, 2012 at 10:59:50PM -0800, sumit sengupta wrote:
> hi all,
> 
> I'm trying to use openvswitch with kvm in Ubuntu latest version following the 
> commands in INSTALL.KVM file but when I try to run the kvm command, it fails 
> with error "Device 'tap' could not be initialized". Fyi, I have initialized 
> the tap devices using tunctl commands and ifconfig command also shows me the 
> configuration success. Any idea? Am I missing something here ?
> 
> bash$ sudo kvm -m 512 -net nic,macaddr=00:11:22:EE:EE:EE -net 
> tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -drive 
> file=~/iso_images/linux-5.6.0-i386.iso,boot=on
> /etc/ovs-ifup: could not launch network script

Does /etc/ovs-ifup exist?  Is it marked executable ("chmod +x
/etc/ovs-ifup")?
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to