?
Solved

Can't ping ubuntu linux server

Posted on 2009-04-30
16
Medium Priority
?
2,429 Views
Last Modified: 2012-05-06
Cant ping server
Server can ping itselt (localhost or IP address)
Server is set with fixed IP address
/etc/nework/interfaces is setup correctly for fixed IP address
Server can ping other systems on lan
Server can ping other URL address
Server appears as a Samba share and connection is possible.
0
Comment
Question by:rcschroeder
  • 8
  • 3
  • 2
  • +2
15 Comments
 
LVL 18

Expert Comment

by:flyingsky
ID: 24270678
any fiirewall configured on the server to block ping?
0
 
LVL 4

Expert Comment

by:jordanrog
ID: 24270827
do you have any access lists running?
0
 

Author Comment

by:rcschroeder
ID: 24270961
Server is fresh install
No firewall was configured (unless 9.04 does this by default)
I have not configured access lists (again, unless 9.04 does this by default)
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
LVL 4

Expert Comment

by:jordanrog
ID: 24270996
I meant on your network gear
0
 

Author Comment

by:rcschroeder
ID: 24271029
No, nothing, and anyhow I am on the lan, I am not tryng to get in from outside.
0
 
LVL 18

Expert Comment

by:flyingsky
ID: 24271248
check to see if you have iptables or firehol running
0
 

Author Comment

by:rcschroeder
ID: 24271279
a ps -ef | grep ip or grep fire does not return anything
Is there another way to check?
0
 
LVL 18

Expert Comment

by:flyingsky
ID: 24271332
check if they are in /etc/init.d
also, do you have ipv6 running? if so, can you try disable it?
http://www.ubuntugeek.com/how-to-disable-ipv6-in-ubuntu.html
0
 

Author Comment

by:rcschroeder
ID: 24271438
hmm, no aliases in modeprobe.d
But there are several blacklist files
There must be another way to disable ipv6 in ubuntu
any ideas?
0
 

Author Comment

by:rcschroeder
ID: 24271472
anyhow 'lsmod | grep v6' returns nothing
0
 

Author Comment

by:rcschroeder
ID: 24271539
So it looks like iptables is not running and ipv6 is not running
What else could it be?
0
 

Author Comment

by:rcschroeder
ID: 24271567
I changed the server back to dhcp and rebooted
It did not help, I can still ping anything and everything from the server, but can't ping the server from any workstation on the lan. (OS X and Win XP Pro)

0
 
LVL 12

Expert Comment

by:rionroc
ID: 24272255
Hello

in command line, type:
iptables -F
iptables -X
iptables -t nat -F

then do a ping.

if it replies, meaning, the problem is on the firewall.

Cheers!
0
 

Expert Comment

by:jasonbrandt3
ID: 24340080
I just did a fresh install of Ubuntu server 9.04 64-bit and get the same problem.  I can get out and access my LAN, but not the internet.  I chose LAMP and SSH server during the install options.  No alias file in /etc/modprobe.d

sudo iptables -F
sudo iptables -x
iptables v1.4.1.1: no command specified
Try `iptables -h' or 'iptables --help' for more information.
netmonadmin@netmon1:~$ sudo iptables -t nat -F
netmonadmin@netmon1:~$ ping yahoo.com
connect: Network is unreachable

I get this when I try to run apt-get update
Cannot initiate the connection to security.ubuntu.com:80 (91.189.88.37). - con
nect (101 Network is unreachable)

Any other ideas?
0
 

Accepted Solution

by:
rcschroeder earned 0 total points
ID: 25818903
Turns out the problem only exists when there is a static IP address on the Ubuntu Server.
wicd fixed the problem
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question