LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-19-2005, 05:50 PM   #1
dehuszar
Member
 
Registered: Aug 2003
Posts: 41

Rep: Reputation: 15
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
 
Old 01-19-2005, 09:34 PM   #2
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
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
 
Old 01-19-2005, 10:15 PM   #3
lowpro2k3
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Rep: Reputation: 30
How many routers do you have, and are all the boxes hooked up to the same one?
 
Old 01-19-2005, 11:16 PM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
If it helps any - I had a similar problem and it ended up being a bad NIC.
 
Old 01-20-2005, 11:40 AM   #5
dehuszar
Member
 
Registered: Aug 2003
Posts: 41

Original Poster
Rep: Reputation: 15
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.
 
Old 01-20-2005, 01:05 PM   #6
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X windows re-direction zugvogel Linux - General 1 11-24-2005 02:56 PM
Point me in the right direction amnesty_puppy Linux - Networking 2 01-02-2005 11:57 AM
Can someone point me in the right direction? Desai Linux - Networking 4 09-22-2004 08:25 AM
Newbie needs direction Aragorn44267 Linux - Networking 3 08-22-2002 08:53 AM
linux - the direction? gui10 Linux - General 6 10-23-2001 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration