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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-09-2010, 02:06 PM
|
#1
|
|
Member
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 221
Rep:
|
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
|
|
|
|
08-09-2010, 02:13 PM
|
#2
|
|
Member
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, redhat
Posts: 138
Rep:
|
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 02:14 PM.
|
|
|
|
08-17-2010, 01:25 PM
|
#3
|
|
Member
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 221
Original Poster
Rep:
|
Tried making as bridge connection but Still not working.
Any responce will be appreciated.
Thanks
|
|
|
|
08-17-2010, 02:40 PM
|
#4
|
|
Member
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, redhat
Posts: 138
Rep:
|
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?
|
|
|
|
08-17-2010, 03:36 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2010
Location: North Central MA
Distribution: Ubuntu, CentOS
Posts: 12
Rep:
|
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.
|
|
|
|
08-19-2010, 11:37 AM
|
#6
|
|
Member
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 221
Original Poster
Rep:
|
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.
|
08-19-2010, 03:48 PM
|
#7
|
|
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6.2 on my desktop, Ubuntu 12.04 on netbook, Ubuntu 10.04 on server and wife's desktop
Posts: 1,084
Rep:
|
Can you ping the VMware guest from the Windows host? Do you have an ssh server running on the VMWare guest?
Ken
|
|
|
|
08-25-2010, 11:07 AM
|
#8
|
|
Member
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 221
Original Poster
Rep:
|
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
|
|
|
|
08-25-2010, 11:42 AM
|
#9
|
|
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6.2 on my desktop, Ubuntu 12.04 on netbook, Ubuntu 10.04 on server and wife's desktop
Posts: 1,084
Rep:
|
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
|
|
|
|
08-25-2010, 11:53 AM
|
#10
|
|
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6.2 on my desktop, Ubuntu 12.04 on netbook, Ubuntu 10.04 on server and wife's desktop
Posts: 1,084
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:56 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|