Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have recently installed enterprise Linux provided by Oracle (Redhat). I am trying to ping the box from my Windows box and I am getting request timeout error. Both the boxes are connected to the network using a router and firewall is disabled on the linux box. Both machines can connect to internet.
You don't say if you can ping the Linux (Redhat) box by ip address. If you can then it's a name resolution issue.
If it's a name resolution issue then I hesitate to offer my experience as with Redhat provided by Oracle you are probably looking for more than a homebrew solution.
However, on Fedora machines where I want that to be possible on a mixed Windows/Linux network all I have to do is install and run samba and edit my /etc/nsswitch.conf file so that the line that reads:
Code:
hosts: files dns
now reads:
Code:
hosts: files wins dns
It's important that the entry wins comes before any entry to do with dns or my machines try to resolve the local name on the internet. There may be other entries on that line in the file so I always keep 'wins' after the 'files' entry
This solution only applies as it stands to Fedora/CentOS and possibly Red Hat.
On other distributions it can be necessary to install other packages.
Some require 'wins_nss' and others 'winbind' before it will work.
on the Linux box and check that it is getting an ip address in the same range as the windows machine. I assume that you are allocating ip addresses by dhcp?
I can successfully ping 212.58.251.202. The ifconfig command shows the ip address of LINUX box as 192.168.15.100 and my Windows IP address is 192.168.1.66.
Yes, your'e right I am getting IP address automatically from DHCP.
Although both machines can ping an ip address on the internet, you haven't said if they can each ping the router. I think we need to establish that next because depending on your answer, it's either the router blocking local pinging or one of the machines. I think we still need to determine which.
As that's Enterprise Red Hat/Oracle Linux, does it have SELinux on it and enabled? Worth temporarily disabling that if so and trying.
i encounter the same scenario where i couldnot able to ping from windows to linux or vice versa, however i am in the same network ie linux 192.168.1.5 and windows also 192.168.1.35
i encounter the same scenario where i couldnot able to ping from windows to linux or vice versa, however i am in the same network ie linux 192.168.1.5 and windows also 192.168.1.35
your response will be appreciated
Regards
Again it sounds like you have firewalls enabled on both PC's
Both Windows and Linux may enable the firewall by default during install (RHEL does) did you verify they were off ? or are you assuming they are off because you didn't recall specifically configuring them ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.