Operating System - Linux
1828402 Members
4157 Online
109977 Solutions
New Discussion

Re: it dose not ping at all

 
file system
Frequent Advisor

it dose not ping at all

Hi all
There is Urgent problem.
I have installed linux ES .
but it dose not net work.
it only ping itself. and it cannot ping broadcast.

what is problem. I will do every way that you give solution. please.
it is urgent. please.

iptables disabled.
5 REPLIES 5
Alexander Chuzhoy
Honored Contributor

Re: it dose not ping at all

How does it get the IP (DHCP/manually)

What shows the output from ifconfig command?
what is the netmask?
Ivan Ferreira
Honored Contributor

Re: it dose not ping at all

1-) Run netstat -ni twice at one minute interval. Check to see if the input packets increases. If so, you network connectivity is working.

2-) Run ethtool ethX, and check if the link is detected.

3-) Ensure that the firewall is not preventing ping. run:

service iptables stop

4-) You won't ping broadcast ;). You could ping another host on your network.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
g33k
Valued Contributor

Re: it dose not ping at all

well I guess you use ping -b broadcast_adress

well another thing is about devices, windows don't reply brouadcast pings(nice try from MS for pseudo security)
and in linux you can set if it will reply or not broadcasts (if /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts is 1 then system doesn't reply).


file system
Frequent Advisor

Re: it dose not ping at all

finally it works. thank you all
First
it had not loopback address.
so I add lo address then
Second
the network cable dose not have suitable port.
the box has 3 network ports, I think it seems to have wrong port, I pulled off the cable back front of the linux box, it logged like tg3: eth1: Link is down.
tg3: eth1: Link is up at 100 Mbps, half duplex

it has routing table like this.
[root@ns-affis ipv4]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
211.237.50.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 211.237.50.2 0.0.0.0 UG 0 0 0 eth0

Now, the problem has solved. thank you all.
Alan_152
Honored Contributor

Re: it dose not ping at all

please print out here the contents of "ifconfig -a", and "ping 127.0.0.1"