Hi,

I am relatively new to openvswitch and I had some confusion about the
openvswitch bridges.
I do know that in all the tutorials, 'switch' and 'bridge' are synonymous.
correct me if I'm wrong?

Now, I've been following
this<http://geni-app-developer-documentation.readthedocs.org/en/latest/examples/example-3.html#step-4-configure-open-vswitch-to-use-our-ethernet-interfaces>tutorial
on setting up openvswitch on GENI machines for using openflow.

I am confused with the way they have used the 'ovs-vsctl add-br br-int'
command. Imagine that my host machine has two interfaces eth1 and eth2. Now
I want to make a vswitch and have these two interfaces integrate with two
ports on my vswitch.

So the following should be done:
$ovs-vsctl add-br br0
$ovs-vsctl add-port eth1
$ovs-vsctl add-port eth2

this does (ovs-vsctl show) me that I made a bridge called 'br0' and it has
two interfaces called eth1 and eth2.

q1. The earlier tutorial seems to be creating two bridges right? I just
want one bridge and 2 interfaces.

q2. Now I want to integrate them with the existing physical interfaces eth1
and eth2 (or did they already get integrated because the of the same
names?) So I need to go and edit the /etc/network/interfaces file right? As
mentioned 
here<http://blog.scottlowe.org/2012/08/17/installing-kvm-and-open-vswitch-on-ubuntu/>.
But again, I see that ip addresses are given to br0 and not eth1 and eth2.

I appreciate any help in clearing out the confusion here.

Regards,
Naman
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to