I have a topology of three routers connected with each other.

enter image description here

The problem is that it has a different network address on two directly connected ports of router R1 and R2. So I am not able to ping R1 from R2.

Is there any way to make them communicate?

  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Dec 17, 2020 at 16:12

1 Answer 1


R1 and R2 are not in the same subnet. R1 is in and R2 is in Put R2 into and it should work.

You already wrote, that the IP ranges do not overlap. So, there really is no way for the devices to communicate with each other if their IP ranges are out of reach of each other. You would have to set a router in between these 2 devices to translate between the 2 networks. Other solution would be to use NAT to transform the source and/or destination IPs as they go out of an interface. But this would be a very stupid solution that is difficult to maintain/troubleshoot. Is there a reason why you built the setup like this?

  • " Is there a reason why you built the setup like this?"- It is a part of a corporate project.
    – Researcher
    Mar 3, 2020 at 5:50
  • So then to answer your question: No they cannot comunicate. You have to adjust one of the IPs to ensure, they are both within the same subnet. This is how the IP protocol is intended to be used.
    – Mario Jost
    Mar 3, 2020 at 11:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.