cannot ping internal network (ping operation not permitted)

From: H. S. (g_reate_xcalibur_at_yahoo.com)
Date: 03/08/04

  • Next message: Raymond Leung: "Query for proxy server running on Linux"
    Date: Mon, 08 Mar 2004 02:21:18 -0500
    
    

    Hi,

    Recently I installed Debian (Sarge) (running 2.4.24-1-686) from scratch.
    I setup my home network (using the same iptables script I have been
    using all this while) -- and -- have lost internal network. I am
    connected to the internet through eth0 and ppp0. eth1 connects to the
    internal computer. I am unable to ping my local machine even when the
    iptables ruleset is completely open -- everything is allowed to connect
    anywhere. Connection to the outside world though eth0 works perfectly
    fine though.

    Here is what I currently have:
    My interface setup:
    bijli:~# cat /etc/network/interfaces
    # The loopback interface
    auto lo
    iface lo inet loopback

    # The first network card - this entry was created during the Debian
    installation
    # (network, broadcast and gateway are optional)
    auto eth0
    iface eth0 inet static
             address 192.168.0.1
             netmask 255.255.255.0
             network 192.168.0.0
             broadcast 192.168.0.255
    auto eth1
    iface eth1 inet static
             address 192.168.0.2
             netmask 255.255.255.0
             network 192.168.0.0
             broadcast 192.168.0.255

    Routing information:
    bijli:~# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    64.230.254.67 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    0.0.0.0 64.230.254.67 0.0.0.0 UG 0 0 0 ppp0

    Forwarding is enabled. But pinging internal machine fails:
    bijli:~# ping 192.168.0.10
    PING 192.168.0.10 (192.168.0.10) 56(84) bytes of data.
     From 192.168.0.1 icmp_seq=1 Destination Port Unreachable
     From 192.168.0.1 icmp_seq=1 Destination Port Unreachable
     From 192.168.0.1 icmp_seq=1 Destination Port Unreachable
     From 192.168.0.1 icmp_seq=1 Destination Port Unreachable
     From 192.168.0.1 icmp_seq=1 Destination Port Unreachable
     From 192.168.0.1 icmp_seq=1 Destination Port Unreachable
    ping: sendmsg: Operation not permitted
     From 192.168.0.1 icmp_seq=2 Destination Port Unreachable
    ping: sendmsg: Operation not permitted
     From 192.168.0.1 icmp_seq=3 Destination Port Unreachable
    ping: sendmsg: Operation not permitted
     From 192.168.0.1 icmp_seq=4 Destination Port Unreachable
    ping: sendmsg: Operation not permitted
     From 192.168.0.1 icmp_seq=5 Destination Port Unreachable
    ping: sendmsg: Operation not permitted

    --- 192.168.0.10 ping statistics ---
    5 packets transmitted, 0 received, +10 errors, 100% packet loss, time 4234ms

    Where do I start finding where the problem is?

    Thanks a ton,
    ->HS

    -- 
    (Please remove all underscores from my email address to get the correct 
    one. Apologies for the inconvenience, but this is to reduce spam.)
    

  • Next message: Raymond Leung: "Query for proxy server running on Linux"