VirtualBox

Ticket #16923 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

host only networking (hostonlyif) broken

Reported by: LennyHers Owned by:
Component: network/hostif Version: VirtualBox 5.1.22
Keywords: Cc:
Guest type: other Host type: other

Description

We have just upgrade all our VM hosts to 5.1.24r117012 which obviously broke the whole vm networking across 300 VMs (hostonlyifs). It is not possible to ping the hostonly interface from the guest and the host system shows that all packets to the interface are being dropped.

$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial

$ uname -a Linux mars 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ vboxmanage --version 5.1.24r117012

VBoxManage hostonlyif create VBoxManage hostonlyif ipconfig vboxnet0 --ip 192.168.56.1 VBoxManage dhcpserver add --ifname vboxnet0 --ip 192.168.56.10 --netmask 255.255.255.0 --lowerip 192.168.56.200 --upperip VBoxManage dhcpserver modify --ifname vboxnet0 --enable

$ sudo ifconfig vboxnet0 vboxnet0 Link encap:Ethernet HWaddr 0a:00:27:00:00:00

inet addr:192.168.56.1 Bcast:0.0.0.0 Mask:255.255.255.0 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:403 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Note: Please consider the "dropped" count. All packets are being dropped.

Change History

comment:1 Changed 3 years ago by vushakov

  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use