I guess the problem may be I am not defining controller out-of-band, since
controller is on other VM.
I tried using command: ovs-vsctl set-controller br1 connection-mode=out-of-band
, but it didn't work.
Later on, I found controller ID and used ovs-vsctl set-controller _uuid
connection_mode=out-of-band, and the connection became out of band but no
improvement yet.
I can see from the ovs-vsctl list controller command: status: {last_error="No
route to host", sec_since_disconnect="2",state=BACKOFF}
The route is defined ....... they can ping each other may be something else.
-- Vicky
________________________________
From: Vikram Khatri <[email protected]>
To: Justin Pettit <[email protected]>
Sent: Friday, 23 November 2012, 17:51
Subject: Re: [ovs-discuss] Connectivity between openvswitch and floodlight
controller on two different VMs
Hi Justin,
Thanks for clarification. I didn't know that ovs-controller is itself a
controller, and used that command.
I want to use floodlight controller to connect with openvswitch. Can you share
about their config connectivity i.e. how would openvswitch connect with
controller (other than ovs-controller).
-- Vicky
________________________________
From: Justin Pettit <[email protected]>
To: Vikram Khatri <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Friday, 23 November 2012, 16:56
Subject: Re: [ovs-discuss] Connectivity between openvswitch and floodlight
controller on two different VMs
ovs-controller and Floodlight are two different OpenFlow controllers. I didn't
see any references to ovs-controller until the error message you showed at the
end. It appears to me it wasn't invoked properly and didn't have "ptcp:" or
something similar as an argument. However, it's not clear from your message
that you really intended to run ovs-controller.
--Justin
On Nov 23, 2012, at 6:07 AM, Vikram Khatri <[email protected]> wrote:
> 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
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss