[ovs-discuss] SDN topology.
Amer
amer7777 at hotmail.com
Wed Apr 1 15:49:18 UTC 2015
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> 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>
> Sent: Wednesday, April 1, 2015 5:17 AM
> To: Amal KAMMOUN
> Cc: 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> 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
>> http://openvswitch.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150401/2112a0af/attachment-0002.html>
More information about the discuss
mailing list