Community discussions

 
Ava469
just joined
Topic Author
Posts: 1
Joined: Tue Dec 11, 2018 7:07 am

mikrotik router joining two subnets

Sat Feb 09, 2019 8:23 am

I have two subnets which are geographically separated, connected by a wireless point to point link (5Mbps). Both networks are connected to internet through their own separate ILL WAN links which are configured on MikroTik routers. I want to connect the subnets through the routers. The scenario is :

Site 1:

192.168.10.0/24

Ether1 xxx.xxx.xxx.xxx/xx ---- connected to Internet

Ether2 192.168.10.1/24 ---- connected to local LAN

Site 2

10.10.10.0/24

Ether1 xxx.xxx.xxx.xxx/xx ---- connected to Internet

Ether2 10.10.10.1/24 ---- connected to local LAN

I want to connect the two LANs together so that there is a seamless traffic between the two mypremiercreditcard.

NO FIREWALL rules on either routers. Only source NAT masquerade on WAN links on both routers. NO destination NAT

I have tried the below, which, obviously does not work.

Site 1:

192.168.10.0/24

Ether1 xxx.xxx.xxx.xxx/xx ---- connected to Internet

Ether2 192.168.10.1/24 ---- connected to local LAN

Ether3 10.10.10.10/24 ---- P2P between Site 1 and 2

Site 2

10.10.10.0/24

Ether1 xxx.xxx.xxx.xxx/xx ---- connected to Internet

Ether2 10.10.10.1/24 ---- connected to local LAN

Ether3 192.168.10.10/24 ---- P2P between Site 1 and 2

What am I missing? (Beside, looks like everything?)

Thanks!
 
User avatar
Hominidae
just joined
Posts: 8
Joined: Thu Oct 19, 2017 12:50 am

Re: mikrotik router joining two subnets

Sat Feb 16, 2019 12:40 am

...just use a GRE tunnel on either side to connect to the remote public IP, add IPs of a third net (i.e., 192.168.111.x/24) to the GRE interfaces and add IP routes for your remote networks on either side, using the GRE interfaces/IPs as gateway.
You can optionally enable ipsec on the GRE tunnels, if you want.
Most likely you will need to enable inbound GRE traffic from either public IP in the other firewall.
 
Eggplant
newbie
Posts: 26
Joined: Thu Sep 13, 2007 4:39 am

Re: mikrotik router joining two subnets

Wed Feb 20, 2019 8:53 pm

Obviously with a P2P doing it over the WAN's is not what you were wanting.

Put the PtP wireless link between the Ether3 ports as you did, but you need to use the same subnet on both sides.

router A 10.100.0.1/24, wireless A .2/24, wireless B 3/24, router B .4/24

and then add routes across it for each.

add dst-network=10.10.10.0/24 gateway=10.100.0.4
add-dst-network=192.168.10.0/24 gateway=10.100.0.1
 
tizili
just joined
Posts: 1
Joined: Sat Apr 13, 2019 4:20 pm

Re: mikrotik router joining two subnets

Sat Apr 13, 2019 4:24 pm

I have two subnets which are geographically separated, connected by a wireless point to point link (5Mbps). Both networks are connected to internet through their own separate ILL WAN links which are configured on MikroTik routers. I want to connect the subnets through the routers. The scenario is :

Site 1:

192.168.10.0/24

Ether1 xxx.xxx.xxx.xxx/xx ---- connected to Internet

Ether2 192.168.10.1/24 ---- connected to local LAN

Site 2

10.10.10.0/24

Ether1 xxx.xxx.xxx.xxx/xx ---- connected to Internet

Ether2 10.10.10.1/24 ---- connected to local LAN

I want to connect the two LANs together so that there is a seamless traffic between the two.

NO FIREWALL rules on either routers. Only source NAT masquerade on WAN links on both routers. NO destination NAT

I have tried the below, which, obviously does not work.

Site 1:

192.168.10.0/24

Ether1 xxx.xxx.xxx.xxx/xx ---- connected to Internet

Ether2 192.168.10.1/24 ---- connected to local LAN

Ether3 10.10.10.10/24 ---- P2P between Site 1 and 2

Site 2

10.10.10.0/24

Ether1 xxx.xxx.xxx.xxx/xx ---- connected to Internet

Ether2 10.10.10.1/24 ---- connected to local LAN

Ether3 192.168.10.10/24 ---- P2P between Site 1 and 2

What am I missing? (Beside, looks like everything?)

Thanks! prepaidcardstatus

Who is online

Users browsing this forum: No registered users and 104 guests