Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2018 13:43:05 -0300
From:      Mario Lobo <lobo@bsd.com.br>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: VirtualBox and bridging lagg interface problem
Message-ID:  <CA%2ByoEx9p2_JaQEPWg%2BON0JkGHnq_=wujaSiQHqWKuWQkQrHQxw@mail.gmail.com>
In-Reply-To: <CA%2ByoEx_ofsb98AjKnfPvuRfruR3sUgHckPzbgGM8-9MZh1OPxQ@mail.gmail.com>
References:  <CA%2ByoEx_ofsb98AjKnfPvuRfruR3sUgHckPzbgGM8-9MZh1OPxQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2018-08-22 13:30 GMT-03:00 Mario Lobo <lobo@bsd.com.br>:

> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=80088<VLAN_MTU,VLAN_HWCSUM,LINKSTATE>
>         ether f8:94:c2:26:f3:54
>         hwaddr fc:45:96:fb:3d:82
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (1000baseT <full-duplex>)
>         status: active
> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> 1500
>         ether f8:94:c2:26:f3:54
>         hwaddr f8:94:c2:26:f3:54
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect
>         status: active
>         groups: lagg
>         laggproto failover lagghash l2,l3,l4
>         laggport: re0 flags=5<MASTER,ACTIVE>
>         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!!]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2ByoEx9p2_JaQEPWg%2BON0JkGHnq_=wujaSiQHqWKuWQkQrHQxw>