From owner-freebsd-questions@freebsd.org Wed Aug 12 16:44:22 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC7269A0C1A for ; Wed, 12 Aug 2015 16:44:22 +0000 (UTC) (envelope-from jgross@nicira.com) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E337E6A for ; Wed, 12 Aug 2015 16:44:21 +0000 (UTC) (envelope-from jgross@nicira.com) Received: by lbbpu9 with SMTP id pu9so12864755lbb.3 for ; Wed, 12 Aug 2015 09:44:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=llYZFg4yucrPnZzefUfZH3pWafyc1KWtYKLyJ40063Y=; b=fAd/apu8emC9AWHfeYITFOIB4gmMHdJzLMs1u9aA8NSbOMTHQj3zE+fxjaT20RuxVG I8JX1bLgHRAQ6oMVegTFefTgE+b7IMRbsnj3W04z9NAg/ikOZWwLx9g8V3JHzuqrO8a9 C1lCAdAzR3A8TB0rCvfYNpq+vMl+W93M+5baxigSBJihwnHLJ0swh6HYrutC2UQi0+FT PJ8AzmdjKGi8yCpyIOoDmU/asxIhS3AhUtWZTRaPn1iA+REPlEU4ROLPPYaZ8JaBPU1O 5BwsMy8sVyTILiLaaYC65PulFVRm21e24DLwEXkq6nwJTjFtDT8d9x8BliXXAvxVBlDq /C4g== X-Gm-Message-State: ALoCoQm+WumIqT3pu+amJNRxDNEFrS0AyuqONEeXKVZb/cC8xh6sVrz9vIbyEfPF7IlAHz7nxt1V X-Received: by 10.152.206.75 with SMTP id lm11mr28973095lac.11.1439397432748; Wed, 12 Aug 2015 09:37:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.10.78 with HTTP; Wed, 12 Aug 2015 09:36:53 -0700 (PDT) In-Reply-To: <201508121416161460122@qq.com> References: <201508121416161460122@qq.com> From: Jesse Gross Date: Wed, 12 Aug 2015 09:36:53 -0700 Message-ID: Subject: Re: [ovs-discuss] Questions about Openvswitch on FreeBSD 10.1 Release To: "1214781328@qq.com" <1214781328@qq.com> Cc: alexw , freebsd-questions , discuss Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 16:44:22 -0000 On Tue, Aug 11, 2015 at 11:16 PM, 1214781328@qq.com <1214781328@qq.com> wro= te: > Hello: > Sorry for bothering you, but I got a strange bug while trying to build a = GRE > tunnel using Openvswitch between 2 virtual machines based on KVM. The OS = of > 2 virtual machines are FreeBSD 10.1 Release, and the host OS is CentOS 6.= 3, > Openvswitch version 2.3.2 on virtual machines. I=E2=80=99ll describe my b= ug in the > following paragraphs. > > INSTALLATION: I checked all the optional modules while installing FreeBSD= , > and installed openvswitch 2.3.2 by typing =E2=80=9Cpkg install openvswitc= h=E2=80=9D into > FreeBSD=E2=80=99s console, then =E2=80=9Cpkg install python=E2=80=9D beca= use the console said some > additional modules needs to be installed (2KB). > > CONFIGURATION: > 1) =E2=80=9Crm -f /var/db/openvswitch/conf.db=E2=80=9D > 2) =E2=80=9Covsdb-tool create /var/db/openvswitch/conf.db > /usr/local/share/openvswitch/vswitch.ovsschema=E2=80=9D > 3) =E2=80=9Covsdb-server --remote=3Dpunix:/var/run/openvswitch/db.sock > --remote=3Ddb.Open_vSwitch,manager_options --pidfile --detach=E2=80=9D > 4) =E2=80=9Covs-vsctl --no-wait init=E2=80=9D > 5) =E2=80=9Cova-vswichd --pidfile --detach =E2=80=94mlockall > NO ERROR during the procedures above. > > THEN COMES THE BUG: When I try to add a bridge =E2=80=9Covs-vsctl add-br = br0", it > said: "ovs-vsctl: Error detected while setting up 'br0'. See ovs-vswitch= d > log for details.=E2=80=9D Then i tried =E2=80=9Covs-vswitchd log=E2=80=9D= : > > 2015-08-11T05:48:55Z|00001|reconnect|INFO|log: connecting... > 2015-08-11T05:48:55Z|00002|reconnect|INFO|log: connection attempt failed > (Address family not supported by protocol family) > 2015-08-11T05:48:55Z|00003|reconnect|INFO|log: waiting 1 seconds before > reconnect Tunnels, including GRE, are currently only supported on Linux.