<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Assuming that you're running on Linux, you could try setting up network namespaces. <br><br><div>--Justin<br></div><div><br></div></div><div><br>On Jan 12, 2017, at 6:36 PM, Raymond Burkholder <<a href="mailto:ray@oneunified.net">ray@oneunified.net</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Try running VirtualBox, and build two guests with shared networking. That will get you an appropriate simulation of computer to computer vxlan mechanisms.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="mailto:ovs-discuss-bounces@openvswitch.org">ovs-discuss-bounces@openvswitch.org</a> [<a href="mailto:ovs-discuss-bounces@openvswitch.org">mailto:ovs-discuss-bounces@openvswitch.org</a>] <b>On Behalf Of </b>Shravan S K<br><b>Sent:</b> Thursday, January 12, 2017 22:34<br><b>To:</b> Scott Lowe <<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a>><br><b>Cc:</b> <a href="mailto:ovs-discuss@openvswitch.org">ovs-discuss@openvswitch.org</a><br><b>Subject:</b> Re: [ovs-discuss] VXLAN support in OVS 2.5.0<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><p>Because of lack of hardware, I'm trying a vxlan setup on a single computer. <o:p></o:p></p><div><p class="MsoNormal">On 13-Jan-2017 04:47, "Scott Lowe" <<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a>> wrote:<o:p></o:p></p><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal" style="margin-bottom:12.0pt">Please don't drop the list.<br><br>Before we go down that path, can you help me understand what you're<br>trying to achieve by building a VXLAN tunnel between two VMs on the same<br>host?<br><br><br><br>On 01/12/2017 10:15 AM, Shravan S K wrote:<br>> I am not sure how to do the config for what you said.<br>> Can you please explain how to configure the setup that you're suggesting ?<br>><br>> Shravan<br>><br>> On 12 January 2017 at 02:17, Scott Lowe <<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a><br>> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a>>> wrote:<br>><br>> On 01/11/2017 03:54 AM, Shravan S K wrote:<br>> > Like this?<br>> > vm01-------------------|<br>> > |------------------vm03<br>> ><br>> > br1(vxlanport1)------------br-int1=================br-int2----------(vxlanport2)br2<br>> > vm02-------------------|<br>> > |-------------------vm04<br>> ><br>> > What is the need for the bridges br-int1 and br-int2? Why is it not<br>> > possible without them(as the topology shown earlier in this thread)?<br>><br>><br>> [SL] No, I don't think this is the configuration you'd want to use. The<br>> "br-int" bridges aren't strictly required; you could use br1 and br2.<br>> The trick here---as you're trying to create a VXLAN tunnel within a<br>> host---would be that you'll need 2 IP endpoints (one for each end of the<br>> tunnel), and you'd need each bridge with a VXLAN port to be associated<br>> with one of those IP endpoints.<br>><br>> As I said, though, I haven't tested a configuration like this. Further,<br>> to be honest, I'm not really sure what you're trying to accomplish with<br>> such a configuration.<br>><br>><br>> > Shravan<br>> ><br>> > On 11 January 2017 at 11:59, Scott Lowe <<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a>><br>> > <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a>>>> wrote:<br>> ><br>> > Please see my response inline, prefixed with [SL].<br>> ><br>> ><br>> > On 01/10/2017 09:50 PM, Shravan S K wrote:<br>> >> I am asking if that can be done on a single physical host having<br>> >> OVS. Say, as mininet creates bridges which act as switches. Can<br>> >> vxlan be setup using Mininet?<br>> ><br>> ><br>> > [SL] I don't know if it's possible for Mininet to set up VXLAN;<br>> > that's a question best asked on a Mininet-related forum.<br>> ><br>> > As for whether it can be done on a single host, I suppose if you were<br>> > to use 2 separate bridges for physical connectivity along with 2<br>> > separate bridges for the tunnels, it might work. I've never tried it,<br>> > though, so this is just conjecture.<br>> ><br>> ><br>> >> Shravan<br>> >><br>> >> On 10 January 2017 at 23:33, Scott Lowe <<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a>><br>> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a>>><br>> >> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a><br>> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a>> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a><br>> <mailto:<a href="mailto:scott.lowe@scottlowe.org">scott.lowe@scottlowe.org</a>>>>> wrote:<br>> >><br>> >> Please see my response below.<br>> >><br>> >><br>> >> On 01/10/2017 02:26 AM, Shravan S K wrote:<br>> >>> Is it possible to create a VXLAN setup using just bridges created<br>> >>> by OVS? (using ovs-vsctl to create these bridges,ports and vxlan<br>> >>> config)<br>> >>><br>> >>> vm01-------------------| |------------------vm03<br>> >>> br1-------br2<br>> >>> vm02-------------------| |-------------------vm04<br>> >><br>> >><br>> >> Yes, this is possible. On each hypervisor where OVS is running and<br>> >> where you have VMs you'd like to connect over VXLAN tunnels, create<br>> >> a bridge ("br-tun", for example). Create and configure a VXLAN port<br>> >> appropriately on br-tun on each hypervisor, and then connect your<br>> >> VMs. You should be good to go. My website has an example of doing<br>> >> this with GRE; VXLAN should be nearly identical.<br>> >><br>> >> Hope this helps,<br>><br>><br>> --<br>> Scott<br>><br>><br>><o:p></o:p></p></blockquote></div><p class="MsoNormal"><br>-- <br>This message has been scanned for viruses and <br>dangerous content by <a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is <br>believed to be clean. <o:p></o:p></p></div></div><br>--
<br>This message has been scanned for viruses and
<br>dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br>believed to be clean.
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>discuss mailing list</span><br><span><a href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a></span><br><span><a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a></span><br></div></blockquote></body></html>