<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">This is what EVPN is for.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 November 2016 at 22:16, majieyue <span dir="ltr">&lt;<a href="mailto:majieyue@huawei.com" target="_blank">majieyue@huawei.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
When we deploy OVS as NAT node, I am afraid only flow rules is not enough if you don&#39;t know the next hop mac address, e.g.<br>
<br>
VM (192.168.1.1 -&gt; 10.1.1.10) =&gt; OVS (192.168.1.1 snat to 10.1.1.1) =&gt; Server (10.1.1.1 -&gt; 10.1.1.10)<br>
<br>
In most situations, admin can&#39;t know (and should not know) the mac address of 10.1.1.10, and switches in traditional way always<br>
learn this info by sending ARP request. But in OVS, I don&#39;t know if there is another way except for inserting a flow rule that has mac<br>
addresses of 10.1.1.1 and 10.1.1.10 and using such actions as mod_dl_src and mod_dl_dst<br>
<br>
What I am asking for is adding a layer 3 port, which has some ability similar with current tunnel port, and such layer 3 port can query<br>
route cache which OVS maintained for tunnel, and neigh tables, w/o asking for kernel (especially it runs in DPDK context). Such layer 3 port<br>
is not tunnel port so its behavior only relies on forwarding and modifying l2 headers<br>
<br>
I&#39;ve searched previous mails and there is indeed some work on layer 3 port, but such port doesn&#39;t have all I asked above. I am wondering if there<br>
is a plan on this in future OVS roadmap, What you maintainer guys think about the requirement I proposed.<br>
<br>
I am yearning for your advices, and maybe I can contribute to such things if you think it is worth of doing. Correct me if anything wrong, thank you.<br>
<br>
<br>
BRs<br>
<br>
______________________________<wbr>_________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" rel="noreferrer" target="_blank">https://mail.openvswitch.org/<wbr>mailman/listinfo/ovs-discuss</a><br>
</blockquote></div><br></div>