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
kvm: -net tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown: Device 'tap' 
could not be initialized


bash$ ifconfig
.........
tap0      Link encap:Ethernet  HWaddr da:ef:92:1f:3e:23  
          inet6 addr: fe80::d8ef:92ff:fe1f:3e23/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tap1      Link encap:Ethernet  HWaddr 22:4d:8a:20:2d:e3  
          inet6 addr: fe80::204d:8aff:fe20:2de3/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:2 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
.......


Thanks,
Sumit
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to