From owner-freebsd-questions@freebsd.org Wed Aug 22 16:43:06 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C31DD108E898 for ; Wed, 22 Aug 2018 16:43:06 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DBC17DE1D for ; Wed, 22 Aug 2018 16:43:06 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-oi0-x22f.google.com with SMTP id 13-v6so4295937ois.1 for ; Wed, 22 Aug 2018 09:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=nbpooeDecYrB2NBwfrPYZJd7HvOXhOayOD+wOr7HYaQ=; b=YMVvrnyBmypuWzpSDIT3P/nr8KWh9Ym2AmlegCqsDmR7sBBH5MAZ5INpJraLToxzVk Q483QV4Co2xKJV6VI6oX95MqD8bIL4zFrQoDOJnuNK9UwpQaPHvhzhbuv1VCe2MxkALe AKncSbIFx6NY4FvgMuC6Eh+A1RASQhSSIU+Yk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=nbpooeDecYrB2NBwfrPYZJd7HvOXhOayOD+wOr7HYaQ=; b=JYZTz2EfhQzFFHJMT40wZO9bccQ5LuTGVIsb+uGsEctSYp270pL0f3w7R3dhXuMfFg MV8pGdc06Q9DsAyRwy8jLLeYcr7T1pyoazvlgvtAFVQPYK6bkmOu979z8V50F8+bJSC3 0P9Ei/cLO1frNM+oDwWb17xdbj4ClcaAX20icoOiaRegTuFV/z3lQF75SiPa6J/Euc6Z s9RhjvJIA0FSzHi20pX9cXSavOZovgLErtz2cvhgYI5oGAk+QfQQTvokFq32mpqeQ8ax j2qXqbJDI64GTPtz6zInO1+03rQTSue4jkubCzL+BOb/ucCFjzwebRLDQa+16MgbEnj1 a2eA== X-Gm-Message-State: APzg51BeQ7OChHwtLMCODCNeUXSrBvFuZ4SoGrT0LbBVX5LvPL93A400 WIZLuRgkphrcc1evRO9tzVpozFBmBYjlXfxGK/5gzuLQSWY= X-Google-Smtp-Source: ANB0VdbNjtfZae1D+Bx1l67EvfNiBYHVzL9n7bPvpyc5xQvYHErh4LfKXV9U4voMw7W2IdOuvDDUWawuFE1SUOQVNGs= X-Received: by 2002:aca:61d4:: with SMTP id v203-v6mr3033469oib.57.1534956185501; Wed, 22 Aug 2018 09:43:05 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac9:6652:0:0:0:0:0 with HTTP; Wed, 22 Aug 2018 09:43:05 -0700 (PDT) In-Reply-To: References: From: Mario Lobo Date: Wed, 22 Aug 2018 13:43:05 -0300 Message-ID: Subject: Re: VirtualBox and bridging lagg interface problem To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2018 16:43:07 -0000 2018-08-22 13:30 GMT-03:00 Mario Lobo : > Hi there; > > PC: > FreeBSD 11.2-STABLE #0 r336831 > > rc.conf: > wlans_iwm0="wlan0" > ifconfig_wlan0="WPA powersave" > ifconfig_re0="media 1000baseTX mediaopt full-duplex up" > ifconfig_re0="ether f8:94:c2:26:f3:54" > ifconfig_lagg0="up laggproto failover laggport re0 laggport wlan0 DHCP" > wpa_supplicant_enable="YES" > wpa_supplicant_program="/usr/local/sbin/wpa_supplicant" > cloned_interfaces="lagg0" > > OBS - tried cloning re0 MAC into wlan0 and it didn > ifconfig: > > re0: flags=8843 metric 0 mtu 1500 > options=80088 > ether f8:94:c2:26:f3:54 > hwaddr fc:45:96:fb:3d:82 > nd6 options=29 > media: Ethernet autoselect (1000baseT ) > status: active > wlan0: flags=8843 metric 0 mtu > 1500 > ether f8:94:c2:26:f3:54 > hwaddr f8:94:c2:26:f3:54 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g > status: associated > ssid "Seaway Airport" channel 11 (2462 MHz 11g) bssid > 6c:70:9f:da:15:5a > regdomain FCC country US authmode WPA2/802.11i privacy ON > deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit powersavemode CAM > powersavesleep 100 txpower 30 bmiss 10 scanvalid 60 protmode CTS > wme > roaming MANUAL > groups: wlan > lagg0: flags=8843 metric 0 mtu > 1500 > ether f8:94:c2:26:f3:54 > inet 10.3.51.3 netmask 0xffffff00 broadcast 10.3.51.255 > nd6 options=29 > media: Ethernet autoselect > status: active > groups: lagg > laggproto failover lagghash l2,l3,l4 > laggport: re0 flags=5 > laggport: wlan0 flags=0<> > > > Sorry! hit "send" by accident. Continuing ... OBS - tried cloning re0 MAC into wlan0 and it didn't work. The opposite did. With these settings, host's lagg interface works seamlessly with wired/wireless. The problem: I have several VMs on this machine. On everyone of them, their network interface is configured to bridged on lagg0. If the master (re0 wired) is active, any VM has network connectivity, If I unplug the cable, lagg0 switches over wlan0 and the host never looses connection, BUT the VMs do! Even if boot with the cable unplugged, the host has perfect connectivity but any started VM doesn' t. I can't think of a reason why this is happening and google didn't help, so decided to post here and see if anybody could ahare any thoughts. Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]