[ovs-discuss] Connectivity between openvswitch and floodlight controller on two different VMs

Vikram Khatri vicky28khatri at yahoo.co.uk
Fri Nov 23 11:07:13 UTC 2012


Hi,

I am trying to connect openvswitch 1.7 with floodlight controller. They are installed on separate virtual machines inside Virtual box with host-only adapter configuration.

The openvswitch 1.7 installation is done perfectly, openvswitch and brcompat modules are loaded and installed correctly.

In openvswitch machine, after initializing the configuration database (ovsdb-tool create) and starting ovsdb-server. I go on with commands:
ovs-vsctl --no-wait init ovs-vswitchd --pidfile --detach ovs-vsctl add-br br1
ovs-vsctl add-port br1 eth0  
ifconfig eth0 0
ifconfig br1 192.168.1.2 netmask 255.255.255.0

ovs-vsctl set-controller tcp:192.168.1.102:6633

In controller machine, I set up IP address 192.168.1.102, and run floodlight controller there. It doesn't listen to switch and start flooding on all ports.

The switch and controller are on the same subnet, and they ping each other, but controller can't listen to switch.

When I see results for ovs-controller start, it says:
connect: Address family not supported by protocol and no active or passive switch connections

Could somebody help me figure out the problem.


Vicky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20121123/180786f2/attachment.html>


More information about the discuss mailing list