Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The standart use of OVS is to connect host adapters with OVS and connect OVS with virtual machines adapters. But I want to use OVS as a layer between host and host's adapters. I didn't find anything about this way of OVS use. Can anybody explain how to do that or provide some links?

share|improve this question
up vote 1 down vote accepted

It was simple. Firstly just add bridge:

ovs-vsctl add-br br0

Then add port with your default internet interface (in my case it's eth0):

ovs-vsctl add-port eth0

Your internet connection will be lost. Then remove IP from default interface (remember previous IP!):

ifconfig eth0

Then put IP that you remembered on br0:

ifconfig br0

if you use static IP-addressing or use

dhclient br0

if you use DHCP.

That's all!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.