From owner-freebsd-net@freebsd.org Tue Aug 22 00:49:10 2017 Return-Path: Delivered-To: freebsd-net@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 0CB77DE03D5 for ; Tue, 22 Aug 2017 00:49:10 +0000 (UTC) (envelope-from borisbsd@gmail.com) Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (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 C2E1D681D0 for ; Tue, 22 Aug 2017 00:49:09 +0000 (UTC) (envelope-from borisbsd@gmail.com) Received: by mail-qt0-x236.google.com with SMTP id 16so90085044qtz.4 for ; Mon, 21 Aug 2017 17:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+IPxF8WcBu5Ds26Hww+5Z9Sbva1KO4NEVt/lUrDwK5M=; b=q7KGwQevCq8a23nhuTHm8/yY2P6Vh/aeD0o9A0o07p5RnkQBWQIoY+oou248lvLaoz MKj9Qg3wHppR6j0M5f6wE0rs0az744UYi0b9M6OMaM4SzB5gadcO6PkD8v8nVST/Zjht rk1RQnSgw2hgT1FhfpNaWcRQGQy9cxiJOQVtLM5FNs6Z+dQ3EscfBu5Hv00zDn6XuW+T mZ2+XordHkiZhYesz4jrSuw7p7Qt3xdSxI2y8RDyIOyxwG6+1AfdeMC1VO2vJFitn7+N QS+KG3lZFGp/MxTx307Sr+McpSBOkChMfCGH468VmJ2rnz3KLuO6JcJMmILd+YUewMM9 bX7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+IPxF8WcBu5Ds26Hww+5Z9Sbva1KO4NEVt/lUrDwK5M=; b=Qsos+e3Fu5fX8rGd/7DsqAUlND5eKa/4l4dgMxmYGXqw1DQiacpbFJNiQh+5zRB6DK 6q447MP6wj1/C7qluUFxoXksAbtiEyEY34I8qCpyvtTnHyd4izWSPqxRsyvqu3AhuOkw 35GrP6ploi00/BE9jgQRjDz6Pa3yMUz0pF785qPLFnHQ12pEVqg3FORdi0KCuNhnt9bW 8E5hKLRJ3wKp/VuLBvgHBZJeQkWAjKtCzBTJRguS5f36HcCJHzKWTWcAx9HF4+EUe3ME 5QPRM6PcRgUCgXCHmCqyvEbeFwJyjy5RTeoPhIfZjt+w375nrPzmppuTKlt+JipYYcNr HUEg== X-Gm-Message-State: AHYfb5hVH7YzEl/QKn3Yob1pWWg6INSu5qdEFle0s1XcUe6IYxyqNvev jKC+V8j8PLV5b5OP2tuCuHzD+tXLmBoS X-Received: by 10.200.58.67 with SMTP id w61mr27288830qte.86.1503362948803; Mon, 21 Aug 2017 17:49:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.82.166 with HTTP; Mon, 21 Aug 2017 17:49:08 -0700 (PDT) From: Boris Date: Mon, 21 Aug 2017 20:49:08 -0400 Message-ID: Subject: bridge interface IP connectivity issue when using oce interface To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2017 00:49:10 -0000 Hi all, I have two environments. Environment A: Server running fresh install of 11.1-RELEASE with bge physical NIC. If I just configure a bridge interface, add a physical NIC which has working connectivity, say bge3, and add an IP address on the bridge interface in the same subnet as bge3, I can ping that IP from any host on the LAN. Environment B: Server running fresh install of 11.1-RELEASE with oce physical NIC. If I just configure a bridge interface, add a physical NIC which has working connectivity, say oce3, and add an IP address on the bridge interface in the same subnet as oce3, I CANNOT ping that IP from anywhere on the LAN. I need the bridge as I would like to have bhyve VM's connected through that bridge to the outside - plain bridged networking, no NAT or anything else. Unfortunately, the VM does not have any connectivity to the outside. What is weird is that I see the ARP entries in the VM for its gateway, I see the MAC addresses in the bridge for the VM and the gateway, but no IP connectivity seems to work - ping fails. I disabled TX checksum and other things using 'ifconfig oce3 -txcsum -lro -tso' to avoid messages around capabilities issues when adding a tap interface which does not have the same features as the physical interface. So far, I have not been able to get IP connectivity to the VM. In terms of documentation, I have used the handbook to create the VM: https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html I have used the handbook to create the bridge: https://www.freebsd.org/doc/handbook/network-bridging.html Under 30.6.1, it says, I should be able to configure the bridge with an IP address which seems to fail when the 'oce' interface is used. Would anybody have any pointer at what to do next to help identify the issue? Thanks !