[ovs-discuss] SDN topology.

Amal KAMMOUN amal.kammoun at supcom.tn
Mon Apr 13 08:34:06 UTC 2015


Hello Amer,


So my 2 VM that contains OVS had the same adress MAC.
-->​ A problem in ethernet packets

--> ping failed.



________________________________
From: Amer <amer7777 at hotmail.com>
Sent: Saturday, April 11, 2015 10:17 AM
To: Amal KAMMOUN
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] SDN topology.

Dear Amal

I apologize, I was in vacation, may you please tell me what was your problem to have a good documented record and how you fixed it.

Best regards,
Amer

On Apr 9, 2015, at 2:25 PM, Amal KAMMOUN <amal.kammoun at supcom.tn<mailto:amal.kammoun at supcom.tn>> wrote:


So my configuration was right but the problem was that my OVS-VMs had the same @MAC!!

Now it is solved.


Thank you so much for your time.


Best regards,


Amal.

________________________________
From: Amal KAMMOUN
Sent: Thursday, April 2, 2015 11:10 AM
To: Amer
Cc: discuss at openvswitch.org<mailto:discuss at openvswitch.org>
Subject: Re: [ovs-discuss] SDN topology.


Dear Amer,


I appreciate your note about writing br0 IP in the interfaces configuration file. Thanks.


But I want to get the interconnection between the 2 OVS before doing that.


I read all your posts in March, I find that I have same problems as you.

Would you please tell me how did you fix your issues?


For example in these posts:

http://openvswitch.org/pipermail/discuss/2015-March/016901.html

http://openvswitch.org/pipermail/discuss/2015-March/016943.html


Best regards!


Amal.


________________________________
From: Amer <amer7777 at hotmail.com<mailto:amer7777 at hotmail.com>>
Sent: Wednesday, April 1, 2015 3:49 PM
To: Amal KAMMOUN
Cc: discuss at openvswitch.org<mailto:discuss at openvswitch.org>
Subject: Re: [ovs-discuss] SDN topology.

Hello,

I did it and was working fine. Note:
The br0 IP is temporary and will be deleted when you reboot. Also, the IP will return back to the eth0. I recommend write it in the interfaces configuration file.

Best regards,
Amer

On Apr 1, 2015, at 1:52 PM, Amal KAMMOUN <amal.kammoun at supcom.tn<mailto:amal.kammoun at supcom.tn>> wrote:


Hello Amer,


So, as you said I will try with a simple scenario like this:


VM1: Host1-------------VM2: OVS1-----------------VM3: OVS2---------VM4: Host2


I want to do the interconnection between the 2 OVSs :


            VM2: OVS1-----------------VM3: OVS2


I connected between VMs using internal-network. For each VM I configured @IP and the netmask (no gateway no dns).


I could have the ping between each other.



I made this configuration:


1) in VM2: @IP 192.168.46.220


ovs-vsctl add-br br0

ovs-vsctl add-port br0 eth0

ifconfig eth0 0

ifconfig br0 up

ifconfig br0 192.168.46.220 netmask 255.255.255.0


2) in VM3: @IP 192.168.46.181


ovs-vsctl add-br br0

ovs-vsctl add-port br0 eth0

ifconfig eth0 0

ifconfig br0 up

ifconfig br0 192.168.46.181 netmask 255.255.255.0


The ping now fails! What I have to do to get the 2 OVS connected?


Thank you so much.




________________________________
From: Amer <amer7777 at hotmail.com<mailto:amer7777 at hotmail.com>>
Sent: Wednesday, April 1, 2015 5:17 AM
To: Amal KAMMOUN
Cc: discuss at openvswitch.org<mailto:discuss at openvswitch.org>
Subject: Re: [ovs-discuss] SDN topology.

Dear Amal

First, try with simple scenario

To connect between VMs you need to use internal-network and assign each VM to the same internal-network, then you need the IPs are in the same subnet for each two VMs.
Also, you need to crest a bridge in each OVS, like br0, then assign some interfaces to the bridge, like add-port br0 eth0, after that, give zero IP address to these interfaces, like ifconfig eth0 0, thereafter, give the bridge an IP address, like ifconfig eth0 192xxxxxxxxx netmask xxxxx.
The bridge IP needs to be written in the main interface configuration file.
To do this you need to search in this archive, I remember someone before few weeks discussed this issue and you will find my name there.
After this setup connecting each OVS to different controller will be easier.

Best regards,
Amer

On Mar 31, 2015, at 5:05 PM, Amal KAMMOUN <amal.kammoun at supcom.tn<mailto:amal.kammoun at supcom.tn>> wrote:


Hello all!


I'm trying to construct the following topology:



       VM1-  OpenFlowController1                            VM2- OpenflowController2

                            |                                                                     |
                            |                                                                     |

                            |                                                                     |
                            |                                                                     |

              VM3 ----------                                                  VM4 ----------

                      | OVS1|----------------------------------------------------------| OVS2|

                      -----------                                                           -----------

                            |                                                                     |

                            |                                                                     |

                            |                                                                     |

                       Host:VM-5                                                 Host:VM-6



All my virtual machines are made by VirtualBox.


It is possible to build such topology?


How can I connect 2 OVS running on 2 different VMs?


Thank you!

_______________________________________________
discuss mailing list
discuss at openvswitch.org<mailto:discuss at openvswitch.org>
http://openvswitch.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150413/bcff6881/attachment-0002.html>


More information about the discuss mailing list