>Using Open vswitch with Fedora 19

By | August 7, 2013


On my Fedora 19 system, I decided to implement  openvswitch for networking between Host to Guest machine. My guest machine is running on KVM hypervisor. 
Openvswitch will here work here as a replacement of linux bridge. Openswitch is implementation of next generation Software Defined Networking(SDN) which manages networking components such as switches(here vswitches), routers (here vRouters) etc via the softwares. 
I took following steps to implement openvswicth.
Step1. I ensured that openvswitch kernel module is loaded on host machine host1
              host1# modprobe openvswitch
step2. Start openvswitch service using script 
             host1# /usr/share/openvswitch/scripts/ovs-ctl start
step3. Created a bridge interface on host system and added lan interface p5p1(may be eth0 on your system) to that bridged interface
              host1# ovs-vsctl add-br ovsbr0
              host1# ovs-vsctl add-port ovsbr0 p5p1
Step4. Edit virtual machine  node1 and set source bridge to ‘ovsbr0’ and openvswitch as virtual port type 
Step5. Started virtual machine and tested connectivity by setting up IP to p5p1 interface of host machine and eth0 interface of virtual machine.
They both pinged successfully
Step6. You can see best part of openvswich with the management tool ovsdbmonitor 
Share itShare on FacebookEmail this to someoneTweet about this on TwitterShare on Google+Share on LinkedInPrint this page

Leave a Reply

Your email address will not be published. Required fields are marked *

Current month ye@r day *