[ovs-discuss] Building a physical switch with OVS

Stuart Ryan stuartaryan+ovs at gmail.com
Fri Mar 20 19:59:46 UTC 2015


Hi all,
  Please ignore this - a low user IQ error. I hadn't set the interfaces to
be in promiscuous mode.
Regards,
Stuart.

On Fri, Mar 20, 2015 at 12:45 PM, Stuart Ryan <stuartaryan+ovs at gmail.com>
wrote:

> Hi all,
>   I am a newcomer to open vSwith, and am having some configuration
> difficulties. In my experiment I'm trying to build an OpenFlow Ethernet
> switch box from a PC running open vSwitch.
>
> I am in the following situation:
>
> - OVS and controller can see each other
> - controller can see directly connected hosts (e.g. LLDP messages are
> being flooded)
>
> However when I try to ping from one host to another the following happens
> (as observed on wireshark at the controller and each of the hosts:
> - ARP request from host1 is sent to controller
> - controller tells OVS to flood ARP request back
> - host2 receives ARP request
> - host2 replies to ARP request
> -....
>
> The ARP response from host2 is not being sent back to the controller.
>
> The connection between the controller and OVS is via an interface which is
> not part of the OVS bridge. As such I tried setting the connection mode to
> out-of-band, but this did not make any noticeable difference.
>
> # ovs-vsctl show
> 2df4df24-9de6-4978-9242-6ab64be12bd8
>     Bridge "br0"
>         Controller "tcp:10.0.10.10:6633"
>             is_connected: true
>         Port "br0"
>             Interface "br0"
>                 type: internal
>         Port "eth2"
>             Interface "eth2"
>         Port "eth3"
>             Interface "eth3"
>     ovs_version: "2.3.1"
>
> # ovs-vsctl list controller
> _uuid                               : 0a995a47-c227-4300-b3b2-13e4bc4c46a9
> connection_mode:            : out-of-band
> controller_burst_limit        : []
> controller_rate_limit          : []
> enable_async_messages : []
> external_ids                    : {}
> inactivity_probe               : []
> is_connected                   : true
> local_gateway                 : []
> local_ip                          : []
> local_netmask                :[]
> max_backoff                  : []
> other_config                   : {}
> role                                : other
> status                            : {sec_since_connect="311", state=ACTIVE}
> target                            : "tcp:10.0.10.10:6633"
>
> # ovs-ofctl dump-flows br0
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=649.065s, table=0, n_packets=43, n_bytes=9761,
> idle_age=17, priority=0, actions=CONTROLLER:65535
>
>
>
> Any advise on how to correctly configure this set-up appreciated.
>
> Thanks for your time,
> Stuart.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150320/f5b502ac/attachment-0002.html>


More information about the discuss mailing list