Search code examples
sshcentosvirtualbox

Cannot ssh and ping into my CentOS VirtualBox


I donwloaded the virtualbox image from this website: https://www.osboxes.org/centos/#centos-782003-info I uses CentOS 7.8.2003 I am able to start the VirtualBox but I cannot ssh into it. Then, I realized that I also cannot ping to the IP address. I already configure the network to Bridge.

vm1

vm2

Do I need to configure something on CentOS Virtual Box for me to be able to ssh into it from the Host machine? Thank you very much in advance.

vm3


Solution

  • You should probably post this on Superuser or Serverfault.

    Anyway, I see you have 192.168.0.30 on your host machine, try configuring 192.168.0.31 on interface enp0s3 on your VM and restart the network.

    You should be able to ping now.