-1

enter image description here

Hello i have this 2 routers how i can make them ping each other and alos the devices connected to them

2
  • 4
    This configuration doesn't make any sense if those IP addresses are configured on the link between the routers. The routers should have a shared network on the point to point link. – Teun Vink Jun 1 at 16:49
  • As Teun has mentioned the general practice would be to use a /30 for the interconnection with both routers existing on the same /30 subnet. This scenario is not viable as is, both routers need to share a subnet in order for ping or any type of layer 3 communication to take place. Years ago when I was newer Teun downvoted many of my questions or comments, that being said he knows his stuff ;). – Ty Smith Jun 2 at 1:58
3

Routers need to have interfaces on a common subnet in your example. If the addresses you show are for the common link, they are not in the same subnet.

You can either:

  1. Change router1's interface to 10.2.1.2/30, or
  2. Change router2's interface to 10.1.1.2/30
0

I solved it i putted a serial connection between the 2 routers with 2 diffrent subnets and addes it to the ospf and the ping wotk in all places

0

Routers need to share an IP subnet with each other in order to communicate. If you use a link-only subnet you can use a /31 subnet mask, e.g. 10.1.1.0/31 and 10.1.1.1/31. A /30 subnet wastes 50% of its address range.

Since there seems to a another subnet behind Router1 that Router2 can't see, make sure you add an appropriate static route to R2, or set up a routing protocol.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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