Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2018 20:22:57 -0400
From:      Josh Paetzel <josh@tcbug.org>
To:        Mario Lobo <lobo@bsd.com.br>
Cc:        "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org>
Subject:   Re: VirtualBox and bridging lagg interface problem
Message-ID:  <F642DC5F-0739-46EF-9965-9832396CB1BD@tcbug.org>
In-Reply-To: <CA%2ByoEx9g21dxYm-O7wBh51R0Mr-GzWKe=tu%2B1FmryscjBYzueg@mail.gmail.com>
References:  <CA%2ByoEx9g21dxYm-O7wBh51R0Mr-GzWKe=tu%2B1FmryscjBYzueg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help




> On Aug 23, 2018, at 6:37 PM, Mario Lobo <lobo@bsd.com.br> wrote:
>=20
> Hi there;
>=20
> I posted this on Questions but decided to give it a shot here.
>=20
> PC:
> FreeBSD 11.2-STABLE #0 r336831
> 16 GRam
> Intel i5 8th gen
>=20
> rc.conf:
> wlans_iwm0=3D"wlan0"
> ifconfig_wlan0=3D"WPA powersave"
> ifconfig_re0=3D"media 1000baseTX mediaopt full-duplex up"
> ifconfig_re0=3D"ether f8:94:c2:26:f3:54"
> ifconfig_lagg0=3D"up laggproto failover laggport re0 laggport wlan0 DHCP"
> wpa_supplicant_enable=3D"YES"
> wpa_supplicant_program=3D"/usr/local/sbin/wpa_supplicant"
> cloned_interfaces=3D"lagg0"
>=20
> OBS - tried cloning re0 MAC into wlan0 and it didn't work, so i cloned
>          wlan0 MAC into re0 and every thing worked.
>=20
> ifconfig:
> re0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150=
0
>        options=3D80088<VLAN_MTU,VLAN_HWCSUM,LINKSTATE>
>        ether f8:94:c2:26:f3:54
>        hwaddr fc:45:96:fb:3d:82
>        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>        media: Ethernet autoselect (1000baseT <full-duplex>)
>        status: active
> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
>        ether f8:94:c2:26:f3:54
>        hwaddr f8:94:c2:26:f3:54
>        nd6 options=3D29<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 wm=
e
>        roaming MANUAL
>        groups: wlan
> lagg0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
>        ether f8:94:c2:26:f3:54
>        inet 10.3.51.3 netmask 0xffffff00 broadcast 10.3.51.255
>        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>        media: Ethernet autoselect
>        status: active
>        groups: lagg
>        laggproto failover lagghash l2,l3,l4
>        laggport: re0 flags=3D5<MASTER,ACTIVE>
>        laggport: wlan0 flags=3D0<>
>=20
> With these settings, host's lagg interface works seamlessly with
> wired/wireless.
>=20
> The problem:
>=20
> I have several VMs on this machine. On everyone of them, their network
> interface is configured to bridged on lagg0.
>=20
> 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
> connectivity, BUT the VMs do!
>=20
> Even if boot with the cable unplugged, the host has perfect connectivity
> but any started VM doesn' t.
>=20
> 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 share any thoughts.
>=20
> Thanks,
>=20
> --=20
> Mario Lobo
> http://www.mallavoodoo.com.br
> FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]
> _______________________________________________
> freebsd-emulation@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.or=
g"

Association to an AP is done via MAC address. There=E2=80=99s no way to alia=
s IPs or bridge on a WiFi network.

What you are seeing is normal and expected. Can=E2=80=99t bridge VMs to WiFi=
.

Thanks,

Josh Paetzel=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F642DC5F-0739-46EF-9965-9832396CB1BD>