wwan interface / openvswitch / kvm

BenoƮt benoitne at gmail.com
Mon Dec 21 07:49:13 PST 2015


Hi,

-------------------------------------------------Physical 
Host-----------------------------------------------|
|---------------------------vswitch_wwan (virtual switch / 
bridge)---------------------------------|
|                                                        |             
                                      |
|                                                        V             
                                     |
|   pnic_wwan(physical wwan nic)-----vnic_v00_w_secu(virtual nic used by 
my VM) |
|                                                   |
|------------------------------------------------------------------------------------------------------------------|


I am trying to build a build a fail-over router (adsl / wwan card).
I am using openvswitch as my virtual switch and kvm to build some VM.
I already connected my wwan nic(pnic_wwan, wwan0 renamed) on the 
openvswitch bridge (vswitch_wwan) and everything is working fine.
I can get an IP address and navigate on Internet, no issue!

Now the thing get more complex when I want to retrieve the IP address on 
a virtual nic (vnic_v00_w_secu) connected into the same virtual switch 
(vswitch_wwan).
In fact, I would like to have a VM where I start an openvpn instance to 
be able to monitor the traffic thanks to some SPAN capabilities on 
openvswitch.

In my VM I am able to retrieve the IP address from the wwan interface 
but impossible to navigate on Internet.
I made some packet capture analysis and I am suspecting that my virtual 
machine tries to talk to a 'virtual-fake' mac address from the wwan 
interface (02:50:f3:00:00:00) but it is is impossible to reach it.

Is it a normal behavior? Am I able to do a type of arp proxy on my host 
to be able to reach the mac from my vm? Or if there is any workaround 
for that..
Many thanks for any idea as I know it is quite a uncommon question :)

belette
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libqmi-devel/attachments/20151221/8568f600/attachment-0001.html>


More information about the libqmi-devel mailing list