VirtualBox

Ticket #5747 (new defect)

Opened 4 years ago

Last modified 5 months ago

Bridged Networking on Ethernet and Wireless Bonded interface fails

Reported by: jelloir Owned by:
Priority: minor Component: network/hostif
Version: VirtualBox 3.1.0 Keywords: bridged bonding wireless ethernet
Cc: j@… Guest type: Windows
Host type: Linux

Description

I am using bonding to enslave eth0 and wlan0 together on a Debian Linux Host.

if the ethernet interface is operating and is the primary (which is what I have as default) the Guest is able to access the network. if the the wireless interface if the primary the guest cannot access the network.

using NAT works but I need to use a PPTP VPN from the guest but Virtualbox does not support GRE via NAT setup.

My network interfaces looks like this on the host to setup bonding between the wireless and ethernet.

# The loopback network interface
auto lo
iface lo inet loopback

# Bonding interface
auto bond0
iface bond0 inet dhcp

bond_mode active-backup
bond_primary eth0
bond_miimon 100
bond_downdelay 200
bond_updelay 200
wpa-ssid wifi
wpa-ap-scan 1
wpa-psk password
wpa-scan-ssid 1
wpa-iface wlan0
slaves eth0 wlan0

Attachments

VBox.log Download (58.4 KB) - added by jelloir 4 years ago.
Vbox.log
vbox_fSharedMacOnWire.patch Download (1.7 KB) - added by guanx 5 months ago.
Enable fSharedMacOnWire for bonding interface

Change History

Changed 4 years ago by jelloir

Vbox.log

comment:1 Changed 4 years ago by frank

  • Component changed from network to network/hostif

comment:2 Changed 3 years ago by Pegasus

I have this same problem on Debian Squeeze AMD64 with VirtualBox v4.1.0. Ticket #8866 is likely a duplicate of this, and both may be duplicates of #4214.

Changed 5 months ago by guanx

Enable fSharedMacOnWire for bonding interface

comment:3 Changed 5 months ago by guanx

That bonding over a wired and a wireless interface is a very common use case for laptop computers. The patch above may not be the best solution but it solves this problem.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use