Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 7B979782BEE for <~alpine/users@lists.alpinelinux.org>; Sun, 21 Feb 2021 17:23:41 +0000 (UTC) Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DkBx22FYHzFrCp; Sun, 21 Feb 2021 09:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1613928214; bh=pqff21qISHeMuBAwsDibUZ5PcAkVHuW6DLsdnO5AaPA=; h=To:Cc:References:From:Subject:Date:In-Reply-To:From; b=ltzreCLaqIGxFIM4he0G4yVfQ4iEZMenhoVDhOaWlxrUIwRjpz5mQsf/0ZdtmVYEH gaeGij8DCrts6JoZiPa/yEwVEfi8ImDuko3T/U4AIo8+4/jTS7uiwibehn/YNDlj+Y e2tryACJXZi9qPabm6YcOJRJTQ4ZvNKCISFlXZVc= X-Riseup-User-ID: 4A049AD9C15AD61658BF8A26B029A38043E4670CC333E6A9E076CD005A03B60A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4DkBx12ZkTz5w50; Sun, 21 Feb 2021 09:23:31 -0800 (PST) To: Banibrata Dutta Cc: ~alpine/users@lists.alpinelinux.org References: <229c8ae0-9566-3fad-e5b9-b63173847b98@riseup.net> From: donoban Subject: Re: Orig eth0 was bridged, changed to NAT, but dhcp not working Message-ID: Date: Sun, 21 Feb 2021 18:23:23 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MQI26eqasAmdoLnvAWKY7vGaI1pMCbSl3" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MQI26eqasAmdoLnvAWKY7vGaI1pMCbSl3 Content-Type: multipart/mixed; boundary="vVNcsIABldVYfSV0WmWP2hGhp9gcscLzX"; protected-headers="v1" From: donoban To: Banibrata Dutta Cc: ~alpine/users@lists.alpinelinux.org Message-ID: Subject: Re: Orig eth0 was bridged, changed to NAT, but dhcp not working References: <229c8ae0-9566-3fad-e5b9-b63173847b98@riseup.net> In-Reply-To: --vVNcsIABldVYfSV0WmWP2hGhp9gcscLzX Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2/21/21 6:03 PM, Banibrata Dutta wrote: > Thanks much. >=20 > Yes, the regular NAT mode is now working fine (chose the > paravirtualized-network i.e. 'virtio-net' driver). >=20 > The trick (seems rather obvious, come to think of it) is to have the VP= N > tunnel setup prior to starting the VM. What doesn't seem to work (or at= > least didn't in my case) is to setup the VPN tunnel in the host, after > the VM is already up and running. In the latter case, doing a restart o= f > the networking service doesn't help. Also, I had to manually add the > VPN-server specific DNS servers, in the resolv.conf. >=20 > Right now struggling to add the private root-CA certificates for a > remote lab network, reachable only over this VPN. Maybe the VPN software is overriding some firewall and routing rules and conflicting with Virtualbox. Respect DNS have you tried with 10.0.2.3 ? (or 10.0.X.3), theoretically it should redirect to your host DNS and maybe do some caching. --vVNcsIABldVYfSV0WmWP2hGhp9gcscLzX-- --MQI26eqasAmdoLnvAWKY7vGaI1pMCbSl3 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEznLCgPSfWTT+LPrmFBMQ2OPtCKUFAmAylwsFAwAAAAAACgkQFBMQ2OPtCKUO BBAAn7ZogBoP13ZWjQLIkrHcfMoKvBoV1LET+kIuheCE+IL9j30Tp+91iwe4uSKQS8Wl+M4BUjrN F/iOd4MgzN8Poa4GoKr+Ck6MuESZlM7PEvgMUXaZ/Ss35UDJC1ez2WSuBJMBwijRYA2jvQPMt9kK kyuwV1WhbDqf/7lS4Tw+fqelbApQwV9gRwRO9OSwlobfM3apdUjP1kRlAN3ZPAVOWj3usfnzNHVX aWmPGz3GxxN/47I5iQeoeDjwW41A8mWJYQBwvm5heKNbwDtZcCASXOngzrVKRPjEE3ZCpTTiEDhM mqXlNpUJ5SX24pxwvY71EF7DIT8rmeAEMOJiSgGaVOFgZS75j7EiZpuDlVuwUxWCmdB/2D/H3Uch tL+jZeEHGeqoTI7oZvxSdppAq0Yfr4JIU1CqP2s1PkWiCxGRoPPngh4erwqA+EACX7QAxeIZ8SVa NDJAd7cOdvIr0q1vVXEsy760SUgSrDgXO/avCohNh/j4H/MHrVjE7T7DCi9mv3YWYfoDJIDVX7qO 9QPnMx1QWpfDYXswxe2fi6Muy5mRoMNhRXTU/GlxemfxG/d1VwNDe4OVqu9JSnvqKmwGPwTSqVYb e6wo/PTiv2TRLizwzLJwEMjbUmx5RRibbKYhwVD219PMDzUOeUm89GlR4/3mL1rMiahmK0keST8H YdI= =dkkw -----END PGP SIGNATURE----- --MQI26eqasAmdoLnvAWKY7vGaI1pMCbSl3--