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.
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.
|
 |
01-19-2005, 05:50 PM
|
#1
|
Member
Registered: Aug 2003
Posts: 41
Rep:
|
pinging in one direction but not the other
Okay... I'm a fairly seasoned Linux type, and I've trouble-shot some tuffies, but I'm stumped on this one.
We've got a Domino server running on Linux (SuSE 9.0) which has NO internet access and that's how we like it. It can be pinged by every machine in the network.
We also have 5 Win2K boxes running Notes; none of which cannot be pinged (although, at one point they were pingable, or I never would've gotten them on the Notes network in the first place. No host file settings have been changed, none have internet access, etc.
We also have 2 Linux servers, one mail (OpenBSD running qmail), the other will be (as soon as I can figure out what is happening here) a 2nd Domino Server (using Simply Mepis 2004.4), both of which have access to the internet and the internal network via a A/B ethernet switch. Both can talk to the internet fine, both can ping the main intranet Domino server. I can even ssh into the main server with either server using either the host name, or the the ip address. The Mail server can be pinged by all the machines in the network, and the 2nd Domino one can not.
I have combed all the documentation on resolv.conf, hosts, ifconfig, and these forums and can't find any reason why the Windows Machines nor the Mepis machine cannot be pinged but can ping the primary server and mail server, and why the primary server and mail server can ping each other, but not anyone else, meanwhile Lotus Notes sits happily on top having no trouble traversing the network. WTF?
I have static ips on all machines, the router (Linksys) has a firewall, but again, my internet connection is fine. DHCP is not set, the NICs on my internet capable servers have aliased ips and have no trouble switching back and forth between networks, all the windows machines can browse the Samba Server and associated shares, but not each other.
Any ideas?
Because of the # of machines involved, I've refrained from posting all the various hosts files and interfaces screen captures. But if there are any files that you would need to see, I'll post them stat.
Thanks in advance
Sam
|
|
|
01-19-2005, 09:34 PM
|
#2
|
Member
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129
Rep:
|
Are you pinging with IP numbers or pc names?
What is in the /etc/hosts file on the Linux box that can't ping the windows pcs?
If it is by pc names, try setting the /etc/hosts file. For example, mine server looks like this:
192.168.1.1 SERVERPC.dygnet SERVERPC
127.0.0.1 localhost
192.168.1.10 DYGPC.dygnet DYGPC # Main Workstation
192.168.1.11 HKGPC.dygnet HKGPC # Harriet's PC
192.168.1.12 TVPC.dygnet TVPC #Television PC
|
|
|
01-19-2005, 10:15 PM
|
#3
|
Member
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340
Rep:
|
How many routers do you have, and are all the boxes hooked up to the same one?
|
|
|
01-19-2005, 11:16 PM
|
#4
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
If it helps any - I had a similar problem and it ended up being a bad NIC.
|
|
|
01-20-2005, 11:40 AM
|
#5
|
Member
Registered: Aug 2003
Posts: 41
Original Poster
Rep:
|
Quote:
Originally posted by RoofRabbit
Are you pinging with IP numbers or pc names?
What is in the /etc/hosts file on the Linux box that can't ping the windows pcs?
If it is by pc names, try setting the /etc/hosts file. For example, mine server looks like this:
192.168.1.1 SERVERPC.dygnet SERVERPC
127.0.0.1 localhost
192.168.1.10 DYGPC.dygnet DYGPC # Main Workstation
192.168.1.11 HKGPC.dygnet HKGPC # Harriet's PC
192.168.1.12 TVPC.dygnet TVPC #Television PC
|
Both really. Either way yields the same results
I've got the hosts files on all the machines, including the Windows machines set exactly the same using the format specified above. It's probably one of those stupid little details that I've just forgotten was important, or something that SuSE's YaST configurator and OpenBSD configure properly from the get-go which I am unaware of.
One minor detail that I'm not sure is important, but is the only variance I see above from what I've got set up is that your machine.domain listings don't have a .suffix at the end (i.e.; .com, .net, .etc). Might that make a difference? My working servers have their hosts files with the suffixes in place and they can be pinged just fine, so I dunno. Just a thought.
If I could ping the ips and not the hostnames, then it would obviously be a DNS issue, but where I can ping a machine, either way works.
If my Windows machines couldn't ping the server but could ping each other, than I'd suspect the server's config to be screwy somewhere, but the situation is the opposite. ALL machines can ping the primary and mail servers. The windows machines CAN'T ping EACH OTHER, nor can they be pinged by any of the servers. Only the primary and mail servers are ping-able. What's even more weird, is now my new server ProMepis (debian-based) server behaves like the windows machines and not like the OpenBSD and SuSE machine.
Perhaps a place to start is what services allow a windows machine to receive pings? Or more pointedly, are their services or settings in either OS that can PREVENT pings from being received.
Thanks for your answers. Any further ideas would be greatly appreciated.
|
|
|
01-20-2005, 01:05 PM
|
#6
|
Senior Member
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039
Rep:
|
OK
With the Windows machines:
Quote:
We also have 5 Win2K boxes running Notes; none of which cannot be pinged (although, at one point they were pingable, or I never would've gotten them on the Notes network in the first place. No host file settings have been changed, none have internet access, etc.
|
Have they got any VPN software installed? Most VPN client software has a firewall component with a default drop rule (I found out to my ongoing frustration)
With the Linux Server:
I know it's obvious and you have probably checked it at least three times but...
Are you sure that they have the same sub-net mask?
Class B to Class C might see the target machine
Class C to Class B will cause many a sleepless night.
|
|
|
All times are GMT -5. The time now is 09:47 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
|
|