Hi,
(I am assuming that the VMs are meant to be hosts, and the OVS are running
on the system and not in the VMs)
You can probably use virtual interfaces. the following command creates a
pair of Virtual interfaces on the system;
sudo ip link add type veth
sudo ifconfig veth0 up
sudo ifconfig veth1 up
the pair created will be named veth0 and veth1. Running it the second time
will create veth2 and veth3 and so on. (restarting the system will delete
these interfaces.)
The specialty of these virtual ports is that the pair created is liked,
that is a packet sent on veth0 will come out of veth1. so you can create 2
of these pairs, and add them like regular ports in the ovs1, ovs2 and ovs3
like this;
controller 1 controller 2 controller 3
| |
|
| |
|
| | | | | |
| | |
| ovs1 |veth0--------veth1| ovs2 |veth2----------veth3| ovs3 |
| |
|
| |
|
| |
|
VM_1 VM_2 VM_3
Tell me if it works!
Regards,
On Fri, Dec 9, 2011 at 5:07 PM, Syed Abdullah Shah <[email protected]
> wrote:
> Hi,
> I am trying to test an algorithm for networks and I need to have the
> following topology for this pn a single pc.
>
>
>
>
>
> controller 1 controller 2 controller 3
> | | |
> | | |
> | | | | | | | | |
> | ovs1 |--------| ovs2 |----------| ovs3 |
> | | |
> | | |
> | | |
> VM_1 VM_2 VM_3
>
> I tried making three bridges and added 1 tap to each of them for the three
> virtual machines ie- VM_1 , VM_2, VM_3 and then connected a separate
> controller for each bridge by specifying a different port.
> I am confused as how to connect the bridges together with each other as
> shown in the topology.?Can someone please guide me in the right direction
> Am I doing something wrong? All help will be much appreciated
>
> Thanks,
>
> --
> Syed Abdullah Shah,
> Undergraduate Student,NUST SEECS,
>
>
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
>
>
--
Aimal Khan
Development Engineer, xFlow Research
http://xflowresearch.com/
--
This electronic message transmission contains information from the Company
that may be proprietary, confidential and/or privileged. The information is
intended only for the use of the individuals or entity named above. If you
are not the intended recipient, be aware that any disclosure, copying or
distribution or use of the contents of this information is prohibited. If
you have received this electronic transmission in error, please notify the
sender immediately by replying to the address listed in the “From:” field.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss