Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Need the help to ping vice versa from one network to another network. In between there is 1 ubuntu server. Eth0 is connected with 192.168.88.0/24 and eth1 is connected with 192.168.100.0/24 network. I want to ping from 192.168.88.99 to 192.168.100.2.

route -n:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.88.1    0.0.0.0         UG    100    0        0 eth0
192.168.88.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.100.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1

ifconfig –a:

eth1    Link encap:Ethernet  HWaddr 00:50:b6:56:1c:35
          inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::250:b6ff:fe56:1c35/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:656 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:48334 (48.3 KB)  TX bytes:41896 (41.8 KB)

eth0   Link encap:Ethernet  HWaddr 00:13:a9:8f:d7:06
          inet addr:192.168.88.254  Bcast:192.168.88.255  Mask:255.255.255.0
          inet6 addr: fe80::213:a9ff:fe8f:d706/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1109 errors:0 dropped:0 overruns:0 frame:0
          TX packets:863 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:237787 (237.7 KB)  TX bytes:93132 (93.1 KB)
          Interrupt:18

I can ping from the machine 192.168.88.99 to 192.168.88.254 and 192.168.100.1 but cannot ping 192.168.100.2.

In the same way I can ping from the machine 192.168.100.2 to 192.168.100.1 and 192.168.88.254 but cannot ping 192.168.88.99.

iptables –L:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

cat /proc/sys/net/ipv4/ip_forward:

1

ufw status:

Status: inactive
share|improve this question
    
Routing seems OK to me... What OS is running on 192.168.88.99 and 192.168.100.2? Could there be a local firewall running? Are those systems configured to respond to incoming pings? Can you ping those systems from the Ubuntu server? If that works, are you sure that they also respond to pings not originating from their local subnet? –  Andy Friese Dec 15 '12 at 13:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.