Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2014 20:16:48 +0200
From:      Beeblebrox <zaphod@berentweb.com>
To:        emulation@freebsd.org
Subject:   VirtualBox Host-Only network problems since 4.3.20 (373388)
Message-ID:  <20141213201648.20281215@rsbsd.rsb>

next in thread | raw e-mail | index | archive | help
On VirtualBox_4.3.20_2 hosted on FreeBSD_11-Current_amd64, I have {Debian-J=
essie, OpenWRT, WindowsXP} running as guest.

All guests are using Host-Only networking on 192.168.56.0/28, with 192.168.=
56.1 (IP of vboxnet0) serving DHCP. Host firewall (PF) handles all routing =
correctly and guests normally connect outside through subnet gateway (192.1=
68.56.1).

A recent upgrade has broken Host-Only networking for Linux guests. WindowsX=
P guests (static or DHCP assigned) connect to outside without problem as lo=
ng as Default_Gateway is defined in network config. Linux guests were able =
to connect before but no longer. Further, all Linux guests have Static IP a=
nd Default_Gateway defined but;
* "netstat -rn" shows correct gateway=20
0.0.0.0 / 192.168.56.1 / 0.0.0.0 / etho
192.168.56.0 /.0.0.0.0 / 255.255.255.240 / etho
* At guest startup, tcpdump shows: ARP, Request who-has 192.168.56.1 tell 1=
92.168.56.10, length 46
But fails all ping and traceroute commands to vboxnet0 (192.168.56.1). tcpd=
ump shows nothing.
* When guest config is modified to request IP from DHCP, guests fail to rec=
eive IP from VirtualBox DHCP. tcpdump shows:
IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 55:44:=
99:99:66:66 (oui Unknown), length 300
IP 192.168.56.1.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length =
548
IP 192.168.56.1.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length =
548
* The exception to the above, is if I run WindowsXP guest anytime then try =
Linux guests. After WindowsXP guest starts, Linux guests are able to receiv=
e IP from vboxnet DHCP, and (after more poking) able to ping the subnet gat=
eway.
* When set to Bridged, networking on Linux guests works correctly.

I'd rather get some feedback here before posting a PR.
Please no "why r u using host-only" comments.

--=20
FreeBSD_amd64_11-Current_RadeonKMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141213201648.20281215>