[SOLVED] Pinging is not happening from Client Machine
Linux - NewbieThis 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.
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.
Yes My linux (RHEL-5) is running with Squid & DHCP same server, and DNS running in Windows server, in DHCP i have given DNS IP, so my client IP details is like below,
Yes Internet is working there is no issue with internet in client as well as server,
Clients are able to ping each other & also it is pining to server (DNS-Windows & Squid-RHEL), Even clients are able to ping google.com by IP
C:\Documents and Settings\Owner>ping 74.125.236.161
Pinging 74.125.236.161 with 32 bytes of data:
Reply from 74.125.236.161: bytes=32 time=79ms TTL=51
Reply from 74.125.236.161: bytes=32 time=22ms TTL=51
Reply from 74.125.236.161: bytes=32 time=50ms TTL=51
Reply from 74.125.236.161: bytes=32 time=35ms TTL=51
Ping statistics for 74.125.236.161:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 22ms, Maximum = 79ms, Average = 46ms
C:\Documents and Settings\Owner>
But client are not able to ping by word like ping.google.com, by IP it is able to ping no issue,
This is not transparent squid, this is normal Squid configured on RHEL-5,
Office Network Setup:
Linux Squid Server + DHCP Server, Coming all client internet by this server only, so specific websites have blocked in this squid server,
Windows DNS server, This server made for internal usage purpose to login some domain users...
I have tried with Without DNS also, Like removed dns details from DHCPD.CONF file and checked with ping, till its not working properly
check the time settings of your client. Is it syncing with the domain server if it is under domain
The time gap should be maximum of 5 min between domain client and server
Finally i have put ISP 2 DNS IP's in DHCPD.CONF file its started to ping....
Thank you very much dear....
Now one more problem raised,
At one of my friend office, I have configured DNS+DHCP+Squid+HTTP+FTP+Mail in RHEL-5 Server, everything is working fine except DNS, The same problem were there what i have problem for my office server,
When i am stoping IP Tables I am getting ping request like time out from client Machine,
C:\Users\sysadmin>ping www.google.com -t
But When i am again starting iptables i am unable to ping,
C:\Users\sysadmin>ping google.com -t
Ping request could not find host google.com. Please check the name and try again
.
Below things are working fine in client and server
Internet is working fine (Both Side)
By IP google is pinging (both side)
By name pinging only in server side
In client given 8.8.8.8 & 4.2.2.2 DNS and checked for ping its not pinging
Have tried with almost all options not getting where is problem,
And when i am starting iptables nslookup giving error like
C:\Users\sysadmin>nslookup
DNS request timed out.
timeout was 2 seconds.
Default Server: UnKnown
Address: 192.168.4.1
But When i am stopping iptables nslookup is working fine...
C:\Users\sysadmin>nslookup
Default Server: xyz.com
Address: 192.168.4.1
Please help me on this (Hope problem is in Linux DNS only, but not getting how to solve it)
zone "xyz.com" {
type master;
file "xyz.com.zone";
allow-transfer {192.168.4.254;};
};
zone "4.168.192.in-addr.arpa" {
type master;
file "4.168.192.in-addr.arpa.zone";
};
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.