Network bridge not working after wifi dongle is unplugged and plugged again
Posted: 27. Sep 2017, 03:00
Version Affected: 5.1.28 and early
Host OS: Ubuntu 17.04
Guest OS: Ubuntu 16.04
test case:
1) VM running
2) Unplugg WiFi dongle (or other undetermined situation that produce network connection drop, if I disable WIFI from network manager issue don't happen)
3) Plug WiFi dongle
In this point all networks functionality is restore in all machine, but host and guest machines can't connected.
ping from host to guest
# ping 192.168.0.45
PING 192.168.0.45 (192.168.0.45) 56(84) bytes of data.
From 192.168.0.103 icmp_seq=1 Destination Host Unreachable
From 192.168.0.103 icmp_seq=2 Destination Host Unreachable
From 192.168.0.103 icmp_seq=3 Destination Host Unreachable
restarting virtualbox services don't works to fix the problem
only 3 ways to fix the problem:
1) shutdown the Host Machine
2) shutdown the Guest Machine (only power off. reboot don't works to fix the problem)
3) go to Configuration/Net, and switch adapter name, then ok, and then go to Configuration/Net and switch the right adapter again, then ok, then networks works again.
for example:
switch to eth0, then switch to wlan0
when the networks works again, I saw on syslog this entry:
Sep 26 21:22:56 ubuntu-server kernel: [551410.610577] VBoxNetFlt: attached to 'wlan0' / xx:xx:xx:xx:xx:xx
(xx:xx:xx:xx:xx is my masked mac address)
seem that wifi error condition is not detected by Vbox, then it don't reattach to interface if I don't do it manually.
Sorry for my bad english.
Host OS: Ubuntu 17.04
Guest OS: Ubuntu 16.04
test case:
1) VM running
2) Unplugg WiFi dongle (or other undetermined situation that produce network connection drop, if I disable WIFI from network manager issue don't happen)
3) Plug WiFi dongle
In this point all networks functionality is restore in all machine, but host and guest machines can't connected.
ping from host to guest
# ping 192.168.0.45
PING 192.168.0.45 (192.168.0.45) 56(84) bytes of data.
From 192.168.0.103 icmp_seq=1 Destination Host Unreachable
From 192.168.0.103 icmp_seq=2 Destination Host Unreachable
From 192.168.0.103 icmp_seq=3 Destination Host Unreachable
restarting virtualbox services don't works to fix the problem
only 3 ways to fix the problem:
1) shutdown the Host Machine
2) shutdown the Guest Machine (only power off. reboot don't works to fix the problem)
3) go to Configuration/Net, and switch adapter name, then ok, and then go to Configuration/Net and switch the right adapter again, then ok, then networks works again.
for example:
switch to eth0, then switch to wlan0
when the networks works again, I saw on syslog this entry:
Sep 26 21:22:56 ubuntu-server kernel: [551410.610577] VBoxNetFlt: attached to 'wlan0' / xx:xx:xx:xx:xx:xx
(xx:xx:xx:xx:xx is my masked mac address)
seem that wifi error condition is not detected by Vbox, then it don't reattach to interface if I don't do it manually.
Sorry for my bad english.