<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 25, 2018 at 7:22 PM Vasiliy Tolstov &lt;<a href="mailto:v.tolstov@selfip.ru">v.tolstov@selfip.ru</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi. I need to setup simple test lab with ovn on two hosts.<br>
One host is gateway that have external ipv4 address and connected to<br>
upstream provider and the second host that have vm with two interfaces<br>
(libvirt created tap devices).<br>
I need to have one interfaces connected to external network (via<br>
gateway host) and autoassign it public ipv4 address via dhcp, and<br>
second interface connected to internal network (that can in feature<br>
have another vm).<br>
How can i do that via ovn commands?Thanks for any hint.<br></blockquote><div><br></div><div>Hi Vasiliy,</div><div><br></div><div>There are many resources which you can look into it.</div><div>I would suggest a few</div><div> -  <a href="http://docs.openvswitch.org/en/latest/tutorials/ovn-openstack/">http://docs.openvswitch.org/en/latest/tutorials/ovn-openstack/</a><br></div><div> - Look into man pages of &quot;ovn-*&quot;</div><div> - Look into <a href="http://ovn.at">ovn.at</a> test file - <a href="https://github.com/openvswitch/ovs/blob/master/tests/ovn.at">https://github.com/openvswitch/ovs/blob/master/tests/ovn.at</a> - This will give you the idea on how to use ovn commands</div><div> - Few other external links - </div><div>      - <a href="http://blog.spinhirne.com/2016/09/a-primer-on-ovn.html">http://blog.spinhirne.com/2016/09/a-primer-on-ovn.html</a></div><div>      - <a href="https://gist.github.com/russellb/4ab0a9641f12f8ac66fdd6822ee7789e">https://gist.github.com/russellb/4ab0a9641f12f8ac66fdd6822ee7789e</a></div><div>      - <a href="https://developers.redhat.com/blog/2018/09/03/ovn-dynamic-ip-address-management/">https://developers.redhat.com/blog/2018/09/03/ovn-dynamic-ip-address-management/</a></div><div>      - <a href="https://developers.redhat.com/blog/2018/11/08/how-to-create-an-open-virtual-network-distributed-gateway-router/">https://developers.redhat.com/blog/2018/11/08/how-to-create-an-open-virtual-network-distributed-gateway-router/</a></div><div><br></div><div>Hope this helps.</div><div><br></div><div>Thanks</div><div>Numan</div><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-- <br>
Vasiliy Tolstov,<br>
e-mail: <a href="mailto:v.tolstov@selfip.ru" target="_blank">v.tolstov@selfip.ru</a><br>
_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" rel="noreferrer" target="_blank">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a><br>
</blockquote></div></div></div></div></div></div></div></div>