troubleshooting Question

Why traceroute is not resolving an IP address

Avatar of gplana
gplanaFlag for Spain asked on
Linux Networking
1 Comment1 Solution242 ViewsLast Modified:
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.
ASKER CERTIFIED SOLUTION
gplana

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros