Simple static routes with 3 routers

Hi there,

I’ve got this situation:

I’m on Router A and I want to ping Router B.
Which static route I have to insert on all routers?

I’ve made a couple of configurations but I can communicate only between A and B - B and C. A can’t ping C.

Can somebody kindly help me?

Which router is closest to the internet?

If A, then:

  • RouterA:
    /ip route add dst-address=192.168.100.0/24 gateway=192.168.1.1
    RouterB:
    /ip route add gateway=192.168.1.2
    RouterC:
    /ip route add gateway=192.168.100.1

If B, then:

  • RouterA:
    /ip route add gateway=192.168.1.1
    RouterC:
    /ip route add gateway=192.168.100.1

If C, then:

  • RouterA:
    /ip route add gateway=192.168.1.1
    RouterB:
    /ip route add gateway=192.168.100.2
    RouterC:
    /ip route add dst-address=192.168.1.0/24 gateway=192.168.100.1

If you want to ignore the question about which is closest to the internet, you can skip the use of default routes and just add the following routes by themselves:

  • RouterA:
    /ip route add dst-address=192.168.100.0/24 gateway=192.168.1.1
    RouterC:
    /ip route add dst-address=192.168.1.0/24 gateway=192.168.100.1