Avatar of gplana
gplanaFlag for Spain

asked on 

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.
Linux Networking

Avatar of undefined
Last Comment
gplana
ASKER CERTIFIED SOLUTION
Avatar of gplana
gplana
Flag of Spain image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Linux Networking
Linux Networking

The variety of Linux distributions creates myriad issues relating to configuration and operations when computers are networked, not the least of which is the use of various network management applications, some of which are included with specific distributions, while others are standalone applications.

19K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo