Re: ping problem ...




Lew Pitcher wrote:
onkar wrote:
I am configuring ADSL connection on my Linux box
every thing goes fine - network activated but ...

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
-----no response ----
[snip]

OK, so you send pings out, but you don't get a ping response.

It's not your /etc/hosts nor your /etc/resolv.conf. Both of those files
work with hostname-to-ip address mappings, and since you are pinging by
IP address, neither of those files is involved with the ping.

It sounds like a routing problem of some sort.

Let's see the results of
/sbin/ifconfig
and
/sbin/route -n

Give us both, from before and after the ping problem shows up. That is
to say, give us the ifconfig and route output when ping works and the
ifconfig and route output when ping fails.

Also, tell us a bit about your network. Where, for instance, is
192.168.1.1 in relation to the system you issue the ping on? Is it the
same system, or a different system. If it is on a different system,
does ping to it work when your DSL is disabled? If not, let's see the
routing tables for the 192.168.1.1 system as well.

--
Lew Pitcher

<<< Hi,
Maybe you can explain me something.

Ping works with the ICMP protocol, right?

Could it happen that a firewall blocks ping but not ftp or telnet?

Also there are 2 parts in a ping, the sending and the echoing.

Could a firewall accept the sending but forbids the echoing?

And what about the ifconfig command: which protocol does it use?

Many thanks in advance

J.B. >>>

.



Relevant Pages

  • Re: ping problem ...
    ... Lew Pitcher wrote: ... PING 192.168.1.1 56bytes of data. ... It could also be the results of a firewall ... What do your firewall rules look like? ...
    (comp.os.linux.networking)
  • Re: rtl 8139 cp problems
    ... When i installed kubuntu i wasnt able to set it up with dchp. ... ifconfig show the correct output, ... I can ping the nic ... So i plugged another pci nic in, unfortunately again a realtek rtl 8139 ...
    (Ubuntu)
  • Re: network card configuration
    ... ifconfig showed the lo up and running but i ran the command anyway. ... > route table still shows the same information. ... You could try a broadcast ping ... kind of "The Standard All-Purpose Configuration Tool is 'vim'". ...
    (comp.os.linux.networking)
  • Re: Network setup - I have NO idea! Please help :-)
    ... >> In SUSE, what happens when you set your computer for DHCP? ... > So I can ping from ifconfig? ... I will try using ifconfig when I get back ... As for two networks cards. ...
    (alt.os.linux.suse)
  • Re: ping problem in new vxWorks 6.6
    ... I have ethernet interface configured and I receive from ifconfig the ... But when I try to ping: ... Pinging host with 64 bytes of data: ... Incase u need the exact commands, ...
    (comp.os.vxworks)