LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-09-2010, 03:06 PM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
Connecting Vmware through Putty


I am using windows 7 OS. I want to make client server setup & trying to connect putty with Vmware from windows 7. I had installed redhat linux 5in Vmware & set the ipaddress as well but I am not able to connect vmware through this ip address.

Do I need to set some configuration in ssh as well ?

Any solution will be appreciated
Thanks
 
Old 08-09-2010, 03:13 PM   #2
suprstar
Member
 
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, debian
Posts: 142
Blog Entries: 2

Rep: Reputation: 21
Is vmware making its own ip address on the NIC, or is it NAT'ing thru the host os's ip? Set it up so your vm os has its own ip address.

edit - Under 'Ethernet' use Bridged,

Last edited by suprstar; 08-09-2010 at 03:14 PM.
 
Old 08-17-2010, 02:25 PM   #3
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Tried making as bridge connection but Still not working.

Any responce will be appreciated.

Thanks
 
Old 08-17-2010, 03:40 PM   #4
suprstar
Member
 
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, debian
Posts: 142
Blog Entries: 2

Rep: Reputation: 21
So you want to ssh from your windows7 pc to your linux vm? It's bridged with its own ip address, maybe there's a firewall or something in windows7 blocking it? I haven't had the joy of dealing with W7 yet, I can only imagine what MS might do..... On the vm - Do you have iptables or selinux running? (reject or drop notices in /var/log/messages) Can you get to any other services on the vm? From the windows7 pc or any other pc on the network? Can you ping the vm's ip? Can you establish tcp connections from the vm to any other service on any other device on the network? Can you ping from the vm to any other device on the network? Is your vm getting an ip address from dhcp or did you set a static ip? It's on the same network right?
 
Old 08-17-2010, 04:36 PM   #5
dreamgear
LQ Newbie
 
Registered: Aug 2010
Location: North Central MA
Distribution: Ubuntu, CentOS
Posts: 12

Rep: Reputation: 1
From your windows 7 host, start a command prompt, and type "ipconfig" and post the results. Then log into the guest through the virtual console, and type "ifconfig" and post the results.
 
Old 08-19-2010, 12:37 PM   #6
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
I had activated lookback interfaces in win 7 OS & set the ip address on both the LAN1 & LAN 2 interfaces in same network, i am able to ping both the LAN interfaces from cmd but while pinging vmware (which is also in the same network), i am getting "Destination host unreachable" message.

Also disable the firewall but no luck.

Thanks
 
0 members found this post helpful.
Old 08-19-2010, 04:48 PM   #7
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Rep: Reputation: 96
Can you ping the VMware guest from the Windows host? Do you have an ssh server running on the VMWare guest?

Ken
 
Old 08-25-2010, 12:07 PM   #8
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
No, I am not able to ping from windows to vmware host. Also ssh is running on vmware host.

Any solution will be appreciated

Thanks
 
Old 08-25-2010, 12:42 PM   #9
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Rep: Reputation: 96
If you cannot ping from one machine to the other the chances of connecting are slim. As deamgear said
Quote:
From your windows 7 host, start a command prompt, and type "ipconfig" and post the results. Then log into the guest through the virtual console, and type "ifconfig" and post the results.
That may help us to determine if there are any network configuration issues.

Ken
 
Old 08-25-2010, 12:53 PM   #10
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Rep: Reputation: 96
Just another thought... is your PC on a home network - with a router? If so you might want to try configuring both the Win 7 host and the Red Hat VM to use DHCP (from your router) to get their IP address.

Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Connecting to debian server with putty konzo Linux - Server 2 07-22-2010 06:24 AM
connecting to already existing consoles using putty chaitanya1982 Linux - Networking 1 06-01-2009 06:10 AM
connecting to already existing consoles using putty chaitanya1982 Linux - Newbie 4 06-01-2009 05:54 AM
PuTTy not connecting to RH 2.4.21-ELsmp bangulu Linux - Newbie 2 05-10-2007 04:39 AM
connecting through a 'putty' type system airswit Linux - Software 6 12-05-2005 12:55 PM


All times are GMT -5. The time now is 09:51 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration