VirtualBox Update 11/15/22

techlists at phpcoderusa.com techlists at phpcoderusa.com
Wed Nov 16 08:48:27 MST 2022


On 2022-11-16 07:50, Bob Elzer via PLUG-discuss wrote:
> Run the command  route -n
> and check the gateway IP,  it should be pointing to your Internet
> router.

It does.



> 
> Check on your real machine and on the VM

It has the correct gateway.



> 
> Then check on the VM machine when you're running in NAT mode


gateway is 10.0.2.2


> 
> I'm curious how the NAT mode gets out
> 
> In bridged mode, both machines should point to the Internet router

They do.  But no access to the Internet.


> 
> On Wed, Nov 16, 2022, 7:15 AM Keith Smith via PLUG-discuss
> <plug-discuss at lists.phxlinux.org> wrote:
> 
>> On 2022-11-15 22:09, Nathan O'Brennan via PLUG-discuss wrote:
>>> Keith,
>>> I'm stretching here...
>>> 
>>> Sounds to me like the firewall may be causing issues with the
>> bridge,
>>> or maybe ip forwarding is not enabled? Try turning off the
>> firewall
>>> completely and see if there is a difference? I think Ubuntu uses
>> ufw?
>> 
>> Definitely something is blocking access to the internet when in
>> bridged
>> mode.  I checked ufw and it was disabled.  I'll check again.
>> 
>> Thanks!!
>> 
>>> So try
>>> sudo ufw stop
>>> 
>>> or
>>> 
>>> sudo ufw disable
>>> Then reboot.
>>> You can also try ip forwarding
>>> sysctl net.ipv4.ip_forward=1
>>> I don't think you need to reboot after this as it happens
>> immediately.
>>> Try this before and after the firewall disable.
>>> 
>>> On Tuesday, November 15, 2022 8:19:21 PM CST Keith Smith via
>>> PLUG-discuss wrote:
>>> 
>>>> Hi,
>>> 
>>>> 
>>> 
>>>> I uninstalled VirtualBox 7.0 that I installed from a .deb I
>>> dowloaded
>>> 
>>>> from the website on my Kubuntu 22.04 box.
>>> 
>>>> 
>>> 
>>>> I installed VB through the use of the GUI.  It was version 6.1.
>>> 
>>>> 
>>> 
>>>> Installed Ubuntu server 20.04 and set the network to bridged.
>>> 
>>>> 
>>> 
>>>> Problem persists.
>>> 
>>>> 
>>> 
>>>> Broke out my Win 10 laptop and installed VB on it.  Created a
>> Ubuntu
>>> 
>>> 
>>>> 20.04 VM and change the network to Bridged and it worked.  I
>> could
>>> ping
>>> 
>>>> it from my win box on my local net and the Ubuntu VM was Internet
>>> aware.
>>> 
>>>> 
>>> 
>>>> Not sure what this proves other than the install and configure
>>> should be
>>> 
>>>> an easy process.
>>> 
>>>> 
>>> 
>>>> Something is not right on my Kubuntu/VB/Ubuntu server setup.  The
>>> 
>>>> Kubuntu seems to be blocking the VM from accessing the Internet.
>>> Any
>>> 
>>>> thoughts are much appreciated.
>>> 
>>>> 
>>> 
>>>> Keith
>>> 
>>>> ---------------------------------------------------
>>> 
>>>> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
>>> 
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>> 
>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> ---------------------------------------------------
>> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list