Ask Your Question

bring link between 2 switch OVS?

asked 2015-09-29 07:25:02 -0700

krlosg7 gravatar image

updated 2015-09-30 02:45:14 -0700

hello all,

I am trying to connect two OVS S1 to S2 but i dont find the command in osgi console. I have the image link text.

With mininet will bring the link between switch1 (s1) and switch2 (s2).

link s1 s2 up

But with Ovs i'm not sur how to do that.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-09-30 04:30:58 -0700

You can use following two ways to connect the ovs switch:

1) using the patch port

ovs-vsctl add-port <bridge name> <port name>
ovs-vsctl set interface <port name> type=patch
ovs-vsctl set interface <port name> options:peer=<peer name>

Here is nice blog for the detail:

2) using the veth pair

sudo ip link add veth0 type veth peer name veth1
sudo ifconfig veth0 up
sudo ifconfig veth1 up
sudo ovs-vsctl add-port br0 veth0
sudo ovs-vsctl sdd-port br1 veth1

this will connect the ovs with the veth pair.

If we talk about the performance then patch port is good as compared to veth pair.

edit flag offensive delete publish link more

answered 2015-09-30 07:41:52 -0700

krlosg7 gravatar image

thanks. this work.... ;)

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


Asked: 2015-09-29 07:25:02 -0700

Seen: 626 times

Last updated: Sep 30 '15