LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-25-2016, 01:44 AM   #1
sanjaykumar
LQ Newbie
 
Registered: May 2010
Location: gujarat, pune
Distribution: linux 9.10
Posts: 2

Rep: Reputation: 0
Unable to access Ubuntu guest from host using SSH


Hi Team,

I have installed Ubuntu server in virtualbox and on my laptop I am using window 7 as host OS. when I am trying to connect to guest installed on virtualbox using putty. It gives me error "Network error : Connection time out" and from host OS when I am pinging guest ip address, first it shows "host is unreachabe" and then it gives "request time out".

Configration:

I installed virtualbox on laptop and configured virtualbox as below.
Created "Host only adapter"
virtualbox -> file-> preference -> network -> host only adapter and give ip address as "192.168.56.1" network mask as "255.255.255.0"

In the network adapter for virtualbox, two network adapter i have created 2 network adapter
1) NAT for connecting internet for guest (guest is connected to internet and I am able to install new package into guest)
2) Host only adapter: for connecting host to guest (want to access guest service using port 22).

I have 3 interface in the /etc/network/interfaces
eth0 dhcp --> having ip address 10.0.2.15 (default)
eth1 static --> having ip address 192.168.56.101
lo --> loopback interface

I am able to ping from the guest to all the IPs but not from the Host. Also I am not connect to IP 192.168.56.101 using Putty from the host.

Request you please help me to solve this problem.

Thanks in advance
 
Old 03-26-2016, 12:57 AM   #2
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Hi there,

Have you checked whether there might be firewall rules on the guest blocking the traffic?
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM guest unable to ping and access internet from the Physical host machine manuce Linux - Newbie 1 05-28-2013 02:48 AM
Unable to install Samba on VMWare running Ubuntu 10.10 as guest OS & XP as host pawan613 Linux - Virtualization and Cloud 3 11-29-2011 06:47 AM
Unable to connect Windows host with guest ubuntu via network pawan613 Linux - General 4 11-27-2011 04:06 PM
Unable to connect Virtualbox XP Guest to MySQL on Ubuntu Host pabs111 Linux - Newbie 3 06-05-2009 02:28 PM
Not access USB on Guest XP on Ubuntu 7.10 host. domenicosaba Linux - Software 2 03-29-2008 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration