<div dir="ltr">Hi All,<div><br></div><div>First thank you for the great support in this project and mailing group.</div><div>I'm trying for a few days to make my setup working, but unfortunately I'm still stuck without any success. So maybe someone here can give me feedback.</div><div><br></div><div>In my setup I'm using <a href="https://wiki.fd.io/view/VPP">VPP</a> to create a high end linux router using
DPDK
.</div><div>Up until now my setup was working with wire network interface only, meaning all the interfaces running in my system were dpdk compiable network interfaces.</div><div><br></div><div>Now my goal is to enable in my router a LTE device.</div><div>So first thing first, I decided to leave out the DPDK and VPP parts at the first step, and try doing it with linux stack only.</div><div><b><br></b></div><div><b>One thing to note here is that my requirements must set the LTE device inside a linux bridge. </b><br></div><div><b><br></b></div><div>Obviously the default mode where I enable ip-forwarding and setup NAT using IPtables work right out of the box.</div><div>However, once I try to add the interface into a linux bride using the brcl - things start to break out.</div><div><br></div><div>I followed this <a href="https://lists.freedesktop.org/archives/libmbim-devel/2014-October/thread.html#395">link</a> and also <a href="https://lists.freedesktop.org/archives/libqmi-devel/2014-November/001022.html">this</a> but didn't manage to get any good results from it.</div><div>The method explained in the second link, by using the veth method didn't work for me and based on my understanding I'm not even sure it can work.</div><div><br></div><div>In my test I did manage to get to a point where I managed to add the MBIM interface to a bridge br0, where the br0 was set with the ifconfig -arp setup so it will be considered as a raw-ip without ethernet.</div><div>Then I have set the IP address on the br0 with the IP I got from the LTE provider, and also set it up with a subnet mask of /32 - 255.255.255.255.0.</div><div><br></div><div>For the default gateway I have setup the gateway using </div><div>ip route add <a href="http://0.0.0.0/0">0.0.0.0/0</a> dev br0</div><div><br></div><div>Note no IP in the gateway, just tell it to push all traffic from this interface (I also used the wwan0 with the same results).</div><div><br></div><div>When doing ping -I wwan0 8.8.8.8 and running TCPDUMP I can see the ICMP do get a replay, after masquerade the IP address using IPtables (the source ip).</div><div>I also needed to set the rp_filer off, to enable ip spoofing.</div><div><br></div><div>Using arptables and ebtables didn't provide me with any good results (not sure how to use them in this kind of topology). </div><div><br></div><div>I understand that that MAC is sent back with zero null (00:00:00:00:00:00) which looks like it comes from the localhost (lo), but doing tcpdump on lo interface didn't show any traffic going in or out.</div><div><br></div><div>To keep it simple for now, maybe someone can guide me how to set this in a bride mode?</div><div><br></div><div>Based on the answer, I will provide a much more detailed explanation about my setup, but for now maybe there is a simple solution?</div><div><br></div><div>Thank You</div><div>Sassy</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Regards,<div><br></div><div>Sassy Natan</div><div>972-(0)54-2203702</div></div></div></div></div></div></div>