Why traceroute is not resolving an IP address

Hi.

I have 3 computers, say PC1, PC2 and PC3, with debian installed on each. Each of these 3 computers has 3 ethernets.

I have connected PC2 to PC1 using eth0, and also PC2 to PC3 using eth1. I have configured DHCP on PC2 to give an IP to PC1 and PC3. According to command ipconfig all seems to be ok.

I can make a ping from PC1 to PC2 and vice-versa. I can also make a ping from PC2 to PC3 and vice-versa.

However, when I try to ping PC1 from PC3 or if I try to ping PC3 from PC1 it says network is unreachable.

Also, if I ping the IP of eth2 of PC2 from PC1 it says network is unreachable. Looks like PC2 don't have the forwarding activated, however I executed sysctl -p /etc/sysctl.conf and it says:
net.ip_v4.ip_forward = 1

So why packets are not being transmitted from one network to the other?

Thanks.
LVL 15
gplanaAsked:
Who is Participating?
 
gplanaAuthor Commented:
Now it's solved. I killed network manager on PC1 and PC3, and also removed (commented) a line on dhcpd.conf that force just to relay on known servers.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.