From owner-freebsd-emulation@FreeBSD.ORG Sat Dec 13 18:16:52 2014 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4528B40F for ; Sat, 13 Dec 2014 18:16:52 +0000 (UTC) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AD183E9 for ; Sat, 13 Dec 2014 18:16:51 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id vb8so12624748obc.0 for ; Sat, 13 Dec 2014 10:16:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berentweb.com; s=google; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=eSJNalb0LuSTRr+wDb0U8vrBJ6/g0btzNZob7UNKUdk=; b=Dq8aJprAz0Qvu1+BSHc9WmbKz/+hawYiI6cu+hm3FbfI43n40PMo/cy+lpztrbfEhy eJQAjskNWL68p0+5fwuqtX31n5lIe9rxyiFBxpZnI0zFspCDndf6de2GycXbg1jGjSCk GA2GKOOlZnA7RzhwTIdGR5b9DYM8U3js2ni/w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; bh=eSJNalb0LuSTRr+wDb0U8vrBJ6/g0btzNZob7UNKUdk=; b=ImaDUhJgM2b5BTnGVhHU3PXV/mI6gskBY/DKhTMM5YAEj9mPIgReS5xKNsABExwSnG P0cuHUZ2Pk45j3LHML9JNLg5DgnZSVvAXqknejEzdzQK7i3dMAHg79o6QARTRIeDop45 MwK8iLKPM1wNVu2ApfDsuGBYdiZDO5yswH1p5bbu8++Iffvgudod7LlxqNNopoztGE20 nEDFhrAQYDKOASq2ya0+AqyGvNkdoeqG3qe3m7zmx8YMHHn0MiCcPlNNnF9h4WS+kRN2 2GAV5NvmMMTvcyAu+AhBAiAoXEZm//i0nppzAYmgzMCCn3E5Eg15wRSQYbdiCZjdEZj0 HwHw== X-Gm-Message-State: ALoCoQm2KOwTuZNDX+2BU1jSh4OjzvBgnid0Ls+s7OZHh/FfCEZq1F3vc76vFHARGzKEOSB5HCgD X-Received: by 10.182.63.17 with SMTP id c17mr14104499obs.65.1418494611028; Sat, 13 Dec 2014 10:16:51 -0800 (PST) Received: from rsbsd.rsb ([31.200.20.154]) by mx.google.com with ESMTPSA id d197sm2257283oih.25.2014.12.13.10.16.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Dec 2014 10:16:50 -0800 (PST) Date: Sat, 13 Dec 2014 20:16:48 +0200 From: Beeblebrox To: emulation@freebsd.org Subject: VirtualBox Host-Only network problems since 4.3.20 (373388) Message-ID: <20141213201648.20281215@rsbsd.rsb> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 18:16:52 -0000 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