Community discussions

MikroTik App
 
amrTelecom
just joined
Topic Author
Posts: 4
Joined: Thu Aug 03, 2023 4:50 pm

Load balance and comunication betwin to networks

Thu Aug 03, 2023 5:12 pm

Diagrama-Loja1_Loja2.drawio.png
Hello everybody,

I have this scenario to solve and I'm facing a problem to comunicate this two networks.
How can i configure the two Mikrotik Routers to be possible comunicate my two networks 192.168.1.0 and 192.168.0.0 and have load balance betwin the two links.

thanks in advance!
You do not have the required permissions to view the files attached to this post.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19405
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Load balance and comunication betwin to networks

Thu Aug 03, 2023 5:47 pm

To be clear you are stating that for the LHR(image)
You want to load balance LAN (0.0) to Link1 local and through Link2 (via etheport3)

Vice versa the RHR (image) to load balance the LAN (1.0) to LINK2 local and LINK1 (via ethorport3)

What does your config look like so far.. What have you done?
/export file=anynameyouwish (minus router serial number and any public WANIP information)
 
amrTelecom
just joined
Topic Author
Posts: 4
Joined: Thu Aug 03, 2023 4:50 pm

Re: Load balance and comunication betwin to networks

Thu Aug 03, 2023 5:59 pm

What does your config look like so far..

i have basically this configuration in the both routers so far:

/interface bridge
add name=DHCP-Server
/interface ethernet
set [ find default-name=ether2 ] name=ether2-LINK1
set [ find default-name=ether3 ] name=ether3-LINK-L2
set [ find default-name=ether4 ] name=ether4-SERVER
set [ find default-name=ether6 ] name=ether6-DHCP-Server
set [ find default-name=ether7 ] name=ether7-DHCP-Server
set [ find default-name=ether8 ] name=ether8-DHCP-Server
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik1
/ip pool
add name=dhcp_pool ranges=192.168.0.2-192.168.0.254
/ip dhcp-server
add address-pool=dhcp_pool disabled=no interface=DHCP-Server \
    name=dhcp1 relay=192.168.0.1
/interface bridge port
add bridge=DHCP-Server interface=ether6-DHCP-Server
add bridge=DHCP-Server interface=ether7-DHCP-Server
add bridge=DHCP-Server interface=ether8-DHCP-Server
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/ip address
add address=10.0.0.1/30 interface=ether3-LINK-L2 network=10.0.0.0
add address=192.168.0.106 interface=ether4-SERVER network=192.168.0.0
add address=192.168.0.1 interface=DHCP-Server network=192.168.0.0
/ip dhcp-client
add disabled=no interface=ether2-LINK1
/ip dhcp-server network
add address=192.168.0.0/24 gateway=192.168.0.1
/ip route
add check-gateway=ping distance=1 dst-address=192.168.1.0/24 gateway=\
    ether3-LINK-L2
/system identity
set name=RB-Loja1
Last edited by amrTelecom on Fri Aug 04, 2023 2:30 am, edited 2 times in total.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19405
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Load balance and comunication betwin to networks

Thu Aug 03, 2023 6:22 pm

I see no clear definition of TWO WANS.
Nor do I see any load balancing config ie mangling???
 
amrTelecom
just joined
Topic Author
Posts: 4
Joined: Thu Aug 03, 2023 4:50 pm

Re: Load balance and comunication betwin to networks

Thu Aug 03, 2023 7:39 pm

I see no clear definition of TWO WANS.
Nor do I see any load balancing config ie mangling???
I need just a north about how to do the rest. Wich protocols should i focus to study and make this happen?
Last edited by amrTelecom on Fri Aug 04, 2023 2:34 am, edited 1 time in total.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19405
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Load balance and comunication betwin to networks

Thu Aug 03, 2023 8:38 pm

Is this a business? If so, then get some proper training MT courses, or hire a consultant.
I am not the one to teach you all about MT configurations for such a venture, especially when you have seemingly no MT knowledge.

If you are a home owner different case.
 
amrTelecom
just joined
Topic Author
Posts: 4
Joined: Thu Aug 03, 2023 4:50 pm

Re: Load balance and comunication betwin to networks

Thu Aug 03, 2023 11:51 pm

Is this a business? If so, then get some proper training MT courses, or hire a consultant.
I am not the one to teach you all about MT configurations for such a venture, especially when you have seemingly no MT knowledge.

If you are a home owner different case.
It's just for fun and knowledge. I already solved the problem about communication between the networks 0.0 and 1.0 adding static route.
Now i just need to solve how comunicate the links in both networks and make the load balance.

Who is online

Users browsing this forum: No registered users and 7 guests