Mikrotik to Mikrotik Connection Doesn't Work

Hi,

I want to share internet to one of mikrotik from the one that has internet service.

What I want to do is to assign local IP to other mikrotik and share internet between these two.

My current setup is

Mikrotik A: (The one with internet)

ip address : 10.10.1.13/29 bound to bridge_X
I have src-natted this block to access internet and I can access to internet with this ip Mikrotik A without any problem

Mikrotik B:
ip address: 10.10.1.15/30 bound to WAN etherhet (which is connected to bridge_X)
route: 10.10.1.14


Shouldn’t I be getting internet with this configuration? or do I have to specify exact ip address as stated on Mikrotik A?

Thanks for help

Default route on Mikrotik B should be via IP address of Mikrotik A - in this case 10.10.1.13.

In addition to that: I don’t think things will work at all. Mikrotik A has IP address 10.10.1.13/29, which means valid addresses are between 10.10.1.9 and 10.10.1.14 (and 10.10.1.15 is broadcast address for Mikrotik A). Mikrotik B has subnet mask /30, so valid addresses would be 10.10.1.13-10.10.1.14. Address 10.10.1.15 is again broadcast address.

Thanks for prompt response Mkx,

What if I change the IP setup to the following;

Mikrotik A:
10.10.1.29/30
Firewall > NAT > Srcnat > 10.10.1.28/30


ip address add network=10.10.1.29/30 interface=X_BRIDGE
ip firewall nat add chain=srcnat action=src-nat to-addresses=OUT_IP_HERE  src-address=10.10.1.28/30 log=no log-prefix=""

Mikrotik B:
10.10.1.30/30
Route (GW): 10.10.1.29


ip address add network=10.10.1.30/30 interface=WAN_CONNECTED_TO_X_BRIDGE
ip route add dst-address=0.0.0.0/0 gateway=10.10.1.29

In this case would it work?

What I actually want to achieve is to only address ip from /30 instead of /24

More or less, only it should be like this:


# on MT A
/ip address add address=10.10.1.29/30 interface=X_BRIDGE
#
# on MT B
/ip address add address=10.10.1.30/30 interface=WAN_CONNECTED_TO_X_BRIDGE
/ip route add gateway=10.10.1.29 # dst-address=0.0.0.0/0 can be omitted, that's default

But it would only work if those were the only addresses bound to both interfaces … if they are really bridges with many client devices connected, then things will break. If you wan’t to get some better insight, then describe your use case in greater detail … and post config so we can compare it to your intended set-up.