[ovs-discuss] SR-IOV with OVS

Flavio Leitner fbl at sysclose.org
Thu Sep 3 14:07:37 UTC 2015


On Tue, Aug 25, 2015 at 02:47:48PM +0800, c1 wrote:
> Hi,all:
> There is a physical interface eth0 on my server, I opened the SR-IOV functionality of this physical port on.Now I can see eth0 ~ 7.
> 	
> 	eth0 belong ovs network, there are some in ovs switch virtual interface for virtual machines. 
> 	
> 	One virtual interface I configured vlan 174, and through him to create a virtual machine vm0, go after the virtual machine can ping vlan gateways and vlans' IP. 
> 	
> 	When I use the SR-IOV interface to create virtual machines created vm1, and configure vlan 174, the virtual machine can also  ping the gateway and vlans' IP.    
> 	
> 	But vm1 and vm0 not be able to ping each other.    
> 	
> 	When vm1 ping vm2 : vm1 can learn vm0 the arp, arp I can see requests and responses through the tcpdump packet capture on eth0. 
> 
> 	But I do not see the icmp request packets.    
> 
> 	Phenomenon is the use of SR-IOV port did not forward the packet to eth0, what I need to do configuration changes?  
> 
> 	We look forward to your answer!

It should work, but you have to make sure the MAC addresses are
correct and if the card does VF switching or if it needs help
from the external switch.

But since you're adding to the vswitch, why do you need SR-IOV?
You probably could add the PF and do everything else in OVS.

fbl




More information about the discuss mailing list