LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-01-2015, 02:52 PM   #1
willc86
Member
 
Registered: Dec 2014
Posts: 56

Rep: Reputation: Disabled
Where to start diagnosing my unix server? Cant not ping internal networks


Hello everyone,

I am just trying to go in the steps to diagnose my server. I added kubuntu to my laptop, installed open ssh client and server

the host name is shadow. So, from different unix and windows machine, I can not ping shadow

and from shadow, I can not ping to any box, whether it is unix and/or windows. So, pretty much both ways, I can not ping to or from shadow.

Also, when I do arp -a it only reveals my gateway which is 192.168.0.1
or is there another command to reveal all other IPs on the network?
 
Old 11-01-2015, 03:25 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,935

Rep: Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300
The command below should show any machines which are up.

Quote:
nmap -sP 192.168.0.1/24
 
Old 11-01-2015, 06:39 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,175

Rep: Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683
Its also possible that the machines are set to drop ICMP pkts used by ping.
You can try http://linux.die.net/man/1/tcptraceroute or the telnet client.
 
Old 11-01-2015, 10:08 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
what is the IP of shadow? and are you pinging it by IP address or by name?

If by name, by what mechanism are you informing your computer that that name shadow is a host name that belongs to an IP address (and by extension the IP address that belongs to that name), do you have a host file, NIS, internal DNS? basically, how, if at all are internal network host names resolved to IP addresses within your network?

Simply naming the machine 'shadow' does not mean that other machines on the network have access to that information, you need some form of address resolution, such as DNS, or NIS

I would start by looking up the address of shadow and pinging the IP, if that works then your issue is name resolution, if it doesn't then check the firewall on shadow to make sure it isn't discarding ICMP packets as suggested by chrism01
 
Old 11-13-2015, 04:52 AM   #5
willc86
Member
 
Registered: Dec 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
thanks for your reply!

I am going to try that. If it is a DNS issue, can I install samba on it to make it compliant with windows standards? I am just practicing creating a back up server incase my main one fails. I have a server called venus, and if venus ever fails, I would like shadow to take over until it is back up.

How would I check on the fire wall to see if it drops ICMP packets? or I can easily google that information? Does this involve IP tables?

thanks!
 
Old 11-13-2015, 09:36 AM   #6
serverpoint.com
Member
 
Registered: Oct 2015
Posts: 52

Rep: Reputation: 6
I think the fail over is depends on what service you are running inside the server.
 
Old 11-14-2015, 12:03 AM   #7
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by willc86 View Post
thanks for your reply!

I am going to try that. If it is a DNS issue, can I install samba on it to make it compliant with windows standards? I am just practicing creating a back up server incase my main one fails. I have a server called venus, and if venus ever fails, I would like shadow to take over until it is back up.

How would I check on the fire wall to see if it drops ICMP packets? or I can easily google that information? Does this involve IP tables?

thanks!
if it's all linux i'd try either BIND9(dns) or and NIS server
 
Old 11-16-2015, 02:03 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,175

Rep: Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683
Quote:
How would I check on the fire wall to see if it drops ICMP packets? or I can easily google that information? Does this involve IP tables?
Yep, check the iptables cfg eg /etc/sysconfig/iptables or equiv. This assumes no intervening switch etc that may be doing that...
 
  


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
Cannot connect to corporate networks: can't find the server at start.ubuntu.com LaVenerabile Linux - Networking 3 01-11-2015 04:41 AM
I am new to unix platform so may i know what is unix internals and internal component hanu123 Linux - Newbie 14 01-29-2011 08:08 AM
Connection to internal network from server - no ping no ssh tweekzilla Linux - Networking 1 12-10-2007 10:19 PM
Redhat 9 server internet dies, goes up on internal ping. loewen Linux - Networking 3 09-04-2004 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:46 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