Mikrotik Router A IP 192.168.6.1 on 192.168.6.0/24 network
Mikrotik Router A IP 171.171.1.6 connected to Mikrotik Router B 171.171.1.5 via wirless
Mikrotik ROuter B IP 10.0.0.1 on 10.10.0.0/16 network
Mikrotik ROuter B connected to Third Party MPLS Maipu ROuter having IP 10.10.0.254
MPLS other site Maiput Router having IP 192.168.4.254 on 192.168.4.0/24 network
I can connect from Mikrotik ROuter B to 192.168.4.0/network
I want to connect from 192.168.6.0/24 i.e from Mikrotik ROuter A to 192.168.4.0/24 network
How can I configure network I don’t have acces to Maipu router
Pls. guide me
Are you using OSPF?
As you don’t have access to Router B you’ll need to resort to use masquerading.
- On router A set routes to 192.168.4.0/24 gateway 171.171.1.5
- On router A set a masquerading rule for src-address != 10.0.0.0/16 dst-address=192.168.6.0/24 on interface where IP 171.171.1.6 is assigned.
That will enable you to communicate devices on router A network with devices on 192.168.4.0 network (router B), as the masquerading on Router A will make connections going to router B to appear to be coming directly from router A: 171.171.1.6.
However, it won’t work the other way around (i.e. 192.168.4.x devices from router B LAN connecting with 192.168.6.0 devices) as you cannot set a route there.
I am not using OSPF
Thanks for reply will try ur solution
I tried above solution but it didn’t work
pls. give me solution
Her MTK is mikrotik router, & all mtk router I can access but MPLS router I don’t have access
MTK B to MTK C I can access through MPLS Network
but not able to access from MTK A to MTK C
I have added network diagram for more clarity
Pls. guide me
This clears things…
So you have access to all MKTs? great…
I assume MKT A - B network is 171.171.1.4/30, so MKT A and MKT B communicate through this network, and that MKT C has 10.10.1.254 as gateway to MKT B (ping 10.10.0.1 from MKT C to confirm).
If my assumptions are correct (do a traceroute from MKT C to MKT B 192.168.0.1 and 192.168.1.1 and post it here if don’t):
-
On MKT A set a route to 192.168.4.0/24 gateway 171.171.1.5, this tells MKT A how to send traffic addressed to 192.168.4.0/24 to MKT B
-
On MKT C set routes to MKT A through MKT B:
dst-address=192.168.3.0/24 gateway=10.10.0.1
dst-address 192.168.5.0/24 gateway=10.10.0.1
dst-address 192.168.6.0/24 gateway=10.10.0.1
Odd ip addressing scheme BTW, things are done in reverse, wasting public IP addresses in the process… don’t know your specifics but a proper cleanup will ease things for OPSF/MPLS deployment so that you don’t have to worry about static routing anymore.