You are not logged in.

#1 2017-07-19 07:54:36

anptr
Member
Registered: 2011-10-20
Posts: 25

[SOLVED] Can not ping virtualbox box after latest update (5.1.24-1)

Hello!

I can't ping my laravel/homestead box after virtualbox update to version 5.1.24-1 . However i can ssh into it. Anyone knows how to solve it?

Last edited by anptr (2017-07-19 09:23:44)

Offline

#2 2017-07-19 08:00:17

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,414
Website

Re: [SOLVED] Can not ping virtualbox box after latest update (5.1.24-1)

Why do you need to ping it?

Mod note: moving to networking


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-07-19 08:10:50

anptr
Member
Registered: 2011-10-20
Posts: 25

Re: [SOLVED] Can not ping virtualbox box after latest update (5.1.24-1)

Because all my websites are in virtualbox. For each webapp i have virtualbox box ip in my /etc/hosts file. After update virtualbox don't respond to http requests.

Last edited by anptr (2017-07-19 08:11:11)

Offline

#4 2017-07-19 08:31:42

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,414
Website

Re: [SOLVED] Can not ping virtualbox box after latest update (5.1.24-1)

So your actual problem is that you can't access your webservers? Please update your topic title to reflect this. Please also clarify what OS the host and client(s) are using.

Also, as a sanity check, can you make sure the webservers are actually running? e.g.

systemctl status nginx.service

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2017-07-19 08:42:21

anptr
Member
Registered: 2011-10-20
Posts: 25

Re: [SOLVED] Can not ping virtualbox box after latest update (5.1.24-1)

Software inside virtualbox is working properly.  Primary problem is that i can't ping virtualbox ip from host and as consequence of this any network service on it (webserver, database) is also unavailable from host. I am not an expert in networking so maybe there is something else. Host in which i run virtualbox is archlinux and os inside virtualbox is ubuntu 16.04.

Offline

#6 2017-07-19 09:05:21

jmgpena
Member
Registered: 2016-03-10
Posts: 1

Re: [SOLVED] Can not ping virtualbox box after latest update (5.1.24-1)

I had the same issue this morning. Checking the networks I found that the vboxnet0 interface was down:

$ ip link show dev vboxnet0      
4: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000                                      
    link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff 

Not sure about the cause or what would fix it permanently but was able to get the interface up:

$ sudo ip link set dev vboxnet0 up

It's working now. Hope this helps.

Offline

#7 2017-07-19 09:17:07

anptr
Member
Registered: 2011-10-20
Posts: 25

Re: [SOLVED] Can not ping virtualbox box after latest update (5.1.24-1)

Yes, that helped. Thank you very much guys, you saved my day.

Offline

#8 2017-07-20 14:21:04

nini
Member
Registered: 2017-07-20
Posts: 1

Re: [SOLVED] Can not ping virtualbox box after latest update (5.1.24-1)

Downgraded to 5.1.22-5 and it works again.

pacman -U /var/cache/pacman/pkg/virtualbox-5.1.22-5-x86_64.pkg.tar.xz /var/cache/pacman/pkg/virtualbox-host-dkms-5.1.22-5-x86_64.pkg.tar.xz

With 5.1.24-1, for me vboxnet0 disappeared completely:

[root@ninipad nini]# ip link list
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether da:b9:74:5d:67:e1 brd ff:ff:ff:ff:ff:ff
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:21:cc:d0:7f:07 brd ff:ff:ff:ff:ff:ff

Offline

Board footer

Powered by FluxBB