Home > Blockchain >  Not able to get the ipv4 address in ipconfig command output for ubundu in Oracle VM VirtualBox
Not able to get the ipv4 address in ipconfig command output for ubundu in Oracle VM VirtualBox

Time:02-26

I am totally new in setting up the Oracle VM Virtual Box.

I am trying to get the ipv4 address so I could connect to ubuntu box using putty. However I am not getting the ip address, below are my settings

No ip show in ifconfig command

enter image description here

Oracle Vm VirutalBox network settings.

enter image description here

enter image description here

CodePudding user response:

You need to set adapter to bridged; or Nat then enable the port forwarding from the advanced options.

Name: SSH
Protocol: TCP
Host IP: 127.0.0.1
Host Port: 2222
Port Guest: 22

Using SSH command: ssh [email protected] -p 2222

  • Related