top button
Flag Notify
Site Registration

Attempt to ping a machine at IP 10.1.0.11 and get nothing back?

+2 votes
268 views

My host ip is: 192.168.1.110 with on a /24 subnet The router has two interfaces 192.168.1.1/24 (eth0) and 10.1.0.1/24 (eth1) The remote machine has two interfaces 10.1.0.11/24 (eth0) and 10.2.0.11/24 (eth1) The routing table for the remote machine is: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.2.0.1 0.0.0.0 UG 0 0 0 eth0 10.1.0.0 0.0.0.0 255.255.255.0 U 1000 0 0 eth1 What might be the problem and why? How could I correct it by only modifying the remote machine?

posted Sep 16, 2013 by Vinay Shukla

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.2.0.1 0.0.0.0 UG 0 0 0 eth0
10.1.0.0 0.0.0.0 255.255.255.0 U 1000 0 0 eth1

To reach the 192.168.1/24 subnet, the routing table should have the routers reachable IP as the default route (0.0.0.0) but instead it has 10.2.0.1 which is not an interface on the router.
On the remote machines routing table, change the default gateway (0.0.0.0) route (currently set as 10.2.0.1) to 10.1.0.1/24

answer Sep 16, 2013 by Arvind Singh
Similar Questions
+1 vote

Is it possible to get the QEMU guest agent on a CentOS 5.11 virtual machine? Has anyone installed from source? I am running the VM on a CentOS 7 virtual host with qemu-1.5.3.

+4 votes

Can someone please write a C program to reverse "N" nodes of list. In the above question N= 3.
Program should be generic so it can work for any value assigned to N.

Input List => 1 2 3 4 5 6 7 8 9 10 11
Output List => 3 2 1 6 5 4 9 8 7 10 11
for N=3

Input List => 1 2 3 4 5 6 7 8 9 10 11
Output List => 4 3 2 1 8 7 6 5 9 10 11
for n=4

...