The only way I know of to find out if ICMP is enabled is to try to ping.
(Unless you compiled your own kernel, of course; then you can simply check
the config file.) "ping 127.0.0.1" is a good test on any reasonably stock
Linux system. 

But stock kernels without ICMP support are rare, so that's not where I would
start my thinking (unless you are using some quite unusual Linux distribution).

What does "I cannot ping out from the internal machine" mean? How are you
trying to ping and what response are you getting (ping fails in at least 3
distinct ways, and each indicates a different sort of problem)? Do any of
the following succeed?

        ping 127.0.0.1
        ping localhost
        ping <host's own eth0 IP address>
        ping <some internal LAN IP address>
        ping <nameserver IP address (from /etc/resolv.conf)>
        ping <gateway IP address (from "route -n")>

If none of these works, you may actually have a kernel without ICMP support.
If some work and others fail, the details will help identify the nature of
the problem. 

You might also want to mention, in any future posting, which Linux
distribution and version you use, and what kernel version (usually returned
as part of "uname -a").

At 02:18 PM 4/9/00 -0400, Charles Farinella wrote:
>Trying to set up IP Masquerade.  How can I tell if I have ICMP enabled in
>my kernel?  My internal network is good, as well as my main internet
>connection.  I cannot ping out from the internal machine, and suspect I
>need to recompile my kernel to inclued ICMP.  I'm a little nervous
>about that. :-)  How can I find out for sure?
>

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to