Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| 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. |
|
 |
11-09-2011, 04:32 AM
|
#1
|
|
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,157
|
unable to ping or ssh any machine on network
Hello all,
I have come across some strange issue which I am not able to overcome
I have 2 RHEL 5.2 installed on vmware workstation 6
Code:
IP of RHEL 1 -----> 192.168.0.233
IP of RHEL 2 -----> 192.168.0.106
IP of Windows 7 -----> 192.168.0.81
the vmware is installed on windows 7
Till yesterday everything was working fine. But since today morning when I started the VM, my windows machine is not able to ping the VMs
Strange thing is that I ran IPscan to check for those IP(233 and 106), it says that both are in network but still unable to ping?
I have checked every possible thing as per my knowledge, (i am very poor in networking )
Code:
/etc/hosts
/etc/resolv.conf
/etc/sysconfig/ntwork-scripts/ifcfg-eth0
the vmware network adapter is set to bridged networking
Code:
#ethtool eth0
link yes
Issues:
1.The VM's are able to ping each other but not my windows machine
2.I am unable to ping my gateway or DNS
3.telnet localhost returns with error
Code:
#telnet localhost
telnet: connect to address 127.0.0.1: connection refused
telnet: unable to connect to remote host: connection refused
Code:
#vi /etc/hosts
::1 localhost6.localdomain6 localhost6
127.0.0.1 locahost.localdomain localhost
192.168.0.233 server.deepsoft.com server
Code:
#vi /etc/resolv.conf
search deepsoft
nameserver x.x.x.x
Can anyone guide me, how can I fix this?
I want to use my linux on putty but due to this issue I am unable to do so
Every time I try to ping, I get host unreachable error
Last edited by deep27ak; 11-09-2011 at 04:53 AM.
|
|
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
11-09-2011, 05:35 AM
|
#2
|
|
Member
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562
Rep: 
|
It sounds like an issue with the network adapter component of vmware. But I'm not entirely clear on what can ping what - you haven't always said which machine you are pinging from.
Is this right:
On RHEL 1 you can ping RHEL 2 successfully, but not ping the windows host or your gateway?
Same on RHEL2?
On the windows host you can't ping the RHEL guests (but you could before)?
What does ifconfig -a report on each guest? What does ipconfig /all report on the host?
|
|
|
2 members found this post helpful.
|
11-09-2011, 06:02 AM
|
#3
|
|
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,157
Original Poster
|
Quote:
Originally Posted by SecretCode
It sounds like an issue with the network adapter component of vmware. But I'm not entirely clear on what can ping what - you haven't always said which machine you are pinging from.
Is this right:
On RHEL 1 you can ping RHEL 2 successfully, but not ping the windows host or your gateway?
Same on RHEL2?
On the windows host you can't ping the RHEL guests (but you could before)?
What does ifconfig -a report on each guest? What does ipconfig /all report on the host?
|
ok let me explain again
windows 7 is not able to ping either linux machine on VM
and both the machines on VM can ping each other
I have attached few files, please check them :
Issue is with linux VM through which I am not able to ping windows machine and vice versa
|
|
|
|
11-09-2011, 06:07 AM
|
#4
|
|
Member
Registered: Jan 2010
Posts: 417
Rep:
|
could you also post the output on the linux VMs of those commands:
Code:
route
ifconfig
nmap -sP 192.168.0.0/24
and the equivalent under windows
also I suggest you make all your ping tests using IP addresses, this way, we know dns is not involved.
|
|
|
|
11-09-2011, 06:15 AM
|
#5
|
|
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,157
Original Poster
|
Quote:
Originally Posted by 16pide
could you also post the output on the linux VMs of those commands:
Code:
route
ifconfig
nmap -sP 192.168.0.0/24
and the equivalent under windows
also I suggest you make all your ping tests using IP addresses, this way, we know dns is not involved.
|
you can check attach fles
I am pinging through IP address from windows as well as linux machine
Last edited by deep27ak; 11-09-2011 at 06:21 AM.
|
|
|
|
11-09-2011, 06:57 AM
|
#6
|
|
Member
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562
Rep: 
|
ifconfig says you have an IPv4 address, nmap says you don't. That's odd.
Please post the output of ipconfig /all from the host.
|
|
|
|
11-09-2011, 07:03 AM
|
#7
|
|
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,157
Original Poster
|
Quote:
Originally Posted by SecretCode
ifconfig says you have an IPv4 address, nmap says you don't. That's odd.
Please post the output of ipconfig /all from the host.
|
you can check the attachment
|
|
|
|
11-09-2011, 07:46 AM
|
#8
|
|
Member
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562
Rep: 
|
Are you not able to copy & paste as text? Using code tags? Much easier for us to work with.
|
|
|
|
11-09-2011, 07:50 AM
|
#9
|
|
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,157
Original Poster
|
Quote:
Originally Posted by SecretCode
Are you not able to copy & paste as text? Using code tags? Much easier for us to work with.
|
Since I am not able to connect through putty that is why i am using these attachment because its not possible to copy and paste from VM to windows
sorry for that but please can you tell me what could be the issue
I deleted that network adapter and created a new one in the VM but still same problem.
|
|
|
|
11-09-2011, 08:24 AM
|
#10
|
|
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,157
Original Poster
|
well thnx friends for your interest but it seems I have solved the problem
I will leave the solution for other users who face this issue
It is actually nothing to do with LINUX or WINDOWS
Quote:
|
It is something with vmware so I apologize for posting this post
|
When I had installed vmware workstation, I didn't noticed by default a vmware network adapter also got installed which was handling all the network adapter stuff.
I am still surprised to see that the default network adapter option in there was changed to something else and that is the reason my VMs were unable to connect to their network adapter
Well its pretty VM stuff so I won't elaborate further
Thanks again SecretCode and 16pide
|
|
|
|
11-09-2011, 09:48 AM
|
#11
|
|
Member
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562
Rep: 
|
Quote:
Originally Posted by SecretCode
It sounds like an issue with the network adapter component of vmware.
|
I was right!
Glad you've found the fix.
|
|
|
|
09-05-2012, 02:02 AM
|
#12
|
|
LQ Newbie
Registered: Sep 2012
Posts: 2
Rep: 
|
Please help
Quote:
Originally Posted by deep27ak
well thnx friends for your interest but it seems I have solved the problem
I will leave the solution for other users who face this issue
It is actually nothing to do with LINUX or WINDOWS
When I had installed vmware workstation, I didn't noticed by default a vmware network adapter also got installed which was handling all the network adapter stuff.
I am still surprised to see that the default network adapter option in there was changed to something else and that is the reason my VMs were unable to connect to their network adapter
Well its pretty VM stuff so I won't elaborate further
Thanks again SecretCode and 16pide
|
Hi deep27ak,
I have the same problem as you had when doing my project. It takes me several weeks digging webpages as well as forums but I could not figure out how to solve it.
Please be kind enough to help me solve this painful trouble. Looking forward to you. Highly appreciated.
|
|
|
|
09-05-2012, 02:33 AM
|
#13
|
|
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,157
Original Poster
|
Quote:
Originally Posted by tieulytamhoan
Hi deep27ak,
I have the same problem as you had when doing my project. It takes me several weeks digging webpages as well as forums but I could not figure out how to solve it.
Please be kind enough to help me solve this painful trouble. Looking forward to you. Highly appreciated.
|
The problem I faced was that
The network adapter I selected in my virtual box was selected to NAT which I changed to "Bridged" and selected my ethernet adapter
Check the network settings of your VMware
|
|
|
|
09-05-2012, 07:46 PM
|
#14
|
|
LQ Newbie
Registered: Sep 2012
Posts: 2
Rep: 
|
Solved
Quote:
Originally Posted by deep27ak
The problem I faced was that
The network adapter I selected in my virtual box was selected to NAT which I changed to "Bridged" and selected my ethernet adapter
Check the network settings of your VMware
|
Thanks for your enthusiasm, deep2k7. Problem was found.
It was something didn't go well with the network card configured inside my virtual CentOS Linux running VMWare.
Solution shared for who has to cope with this painful issue:
1. Remove the network card in "Network Configuration".
2. Restart both virtual machine and physical machine.
3. Make a new network card.
4. Testing ping.
[5. If trouble still exist -> write emails for VMWare & Linux ^_^]
Cheers, guys!
|
|
|
|
12-16-2012, 11:40 PM
|
#15
|
|
LQ Newbie
Registered: Dec 2012
Posts: 1
Rep: 
|
Thanks a ton for the tip... it worked for me 
|
|
|
|
| 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 02:59 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
|
|