Dear OpenvSwitch Team,

 

 

               Greetings. I have installed CentOS 6.4 in the Blade server.
Also installed and configured openvswitch

 

1.      Confirmed openvswitch is installed and configured

 

[root@clab-kvm02 ~]# lsmod |grep openvswitch

openvswitch            37890  0

[root@clab-kvm02 ~]# ovs-vsctl -V

ovs-vsctl (Open vSwitch) 1.9.0

Compiled Jun  2 2013 14:14:18

[root@clab-kvm02 ~]#

 

2.      Confirmed Switch , Interface and Port

 

[root@clab-kvm02 network-scripts]# cat ifcfg-eth0

DEVICE=eth0

BOOTPROTO=none

NM_CONTROLLED=no

TYPE=OVSPort

ONBOOT=yes

IPV6INIT=no

HWADDR=00:21:5A:9B:00:00

DEVICETYPE=ovs

OVS_BRIDGE=ovsbr0

 

[root@clab-kvm02 network-scripts]# cat ifcfg-ovsbr0

DEVICE=ovsbr0

ONBOOT=yes

DEVICETYPE=ovs

TYPE=OVSBridge

BOOTPROTO=static

IPADDR=172.16.5.12

GATEWAY=172.16.5.1

NETMASK=255.255.255.0

DNS1=172.16.5.13

HOTPLUG=no

[root@clab-kvm02 network-scripts]#

 

 

[root@clab-kvm02 ~]# route -n

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface

172.16.5.0      0.0.0.0         255.255.255.0   U     0      0        0
ovsbr0

192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0
virbr0

0.0.0.0         172.16.5.1      0.0.0.0         UG    0      0        0
ovsbr0

 

[root@clab-kvm02 ~]# brctl show

bridge name     bridge id               STP enabled     interfaces

virbr0          8000.525400ea5aeb       yes             virbr0-nic

 

[root@clab-kvm02 ~]#

 

 

[root@clab-kvm02 libvirt]# ovs-vsctl show

999f5e2f-bd63-4026-8956-2b6a5c726db8

    Bridge "ovsbr0"

        Port "ovsbr0"

            Interface "ovsbr0"

                type: internal

        Port "eth0"

            Interface "eth0"

    ovs_version: "1.9.0"

 

 

Now when I create a new virtual machine using virt-manager it is not getting
IP and working. If any one of you have come across the same and know the
solution please share it. 

 


Regards

Mudhalvan M.M




Get your world in your inbox!

Mail, widgets, documents, spreadsheets, organizer and much more with your 
Sifymail WIYI id!
Log on to http://www.sify.com

********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Technologies Limited and is intended for use only by the individual or 
entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at ad...@sifycorp.com
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to