Mikrotik Script 8: 2 PPPOE Connections to be Active Simultaneously and Load-Blancing in Urdu & Hindi

Описание к видео Mikrotik Script 8: 2 PPPOE Connections to be Active Simultaneously and Load-Blancing in Urdu & Hindi

Clik or copy the link for downloding Script
https://fb.watch/hdKKJLHp3s/
   • Mikrotik Script 11: Recursive gateway...  
  / hadinetowrk  
===================================
You can use multiple uplinks, but the strategies of their use you can choose from depend on their properties. Bonding can only be used to group together L2-transparent interfaces, which is not the case of PPPoE.
If I get you right, the PPPoE clients are running on the modem, so on each RJ45 port, there is a DHCP server running, and each of these DHCP servers assigns IP addresses from a different private subnet?
Point to Point over Ethernet (PPPoE) is simply a method of encapsulating PPP packets into Ethernet frames. PPPoE is an extension of the standard Point to Point Protocol (PPP) and it the successor of PPPoA. PPPoE standard is defined in RFC 2516.
What is load balancing in mikrotik?
Introduction. Network load balancing is the ability to balance traffic across two or more WAN links without using routing protocols like BGP. Load Balancing's aim is to spread traffic across multiple links to get better link usage. This can be done on one per-packet or per-connection basis.
Introduction
In this article, we will look at another advanced method of failover using recursive routing and scopes from the routing section. Recursive routing occurs when a route (either static or dynamically learned) has a next-hop that is not directly connected to the local router. It is necessary to restrict a set of routes that can be used to look up immediate next-hops. Nexthop values of RIP or OSPF routes, for example, are supposed to be directly reachable and should be looked up only using connected routes. This is achieved using a scope and target-scope properties.

Setup Overview
Let`s assume we have the following setup: our gateway device has two public network uplinks. Then we mark traffic in two parts, one with the name "ISP1" and the second as "ISP2" which goes through the ether1 and ether2 accordingly. In this setup, we want to monitor two hosts: Host1 and Host2. We will use Google DNS servers with IP 8.8.8.8 (Host1) and 8.8.4.4 (Host2), but it is not mandatory to use specifically these addresses.

Before a detailed example overview, in a setup where we have private IP addresses behind the public IP, we should configure source NAT:

/ip/firewall/nat
add chain=srcnat action=masquerade out-interface=ether1
add chain=srcnat action=masquerade out-interface=ether2
Let`s start with marking traffic by configuring routing tables and firewall mangle rules, so we will have everything preconfigured when we go to the routing section:

/routing/table
add fib name=to_ISP1
add fib name=to_ISP2

/ip/firewall/mangle
add chain=output connection-state=new connection-mark=no-mark action=mark-connection new-connection-mark=ISP1_conn out-interface=ether1
add chain=output connection-mark=ISP1_conn action=mark-routing new-routing-mark=to_ISP1 out-interface=ether1
add chain=output connection-state=new connection-mark=no-mark action=mark-connection new-connection-mark=ISP2_conn out-interface=ether2
add chain=output connection-mark=ISP2_conn action=mark-routing new-routing-mark=to_ISP2 out-interface=ether2
We will split the routing configuration into three parts. First, we will configure Host1 and Host2 as destination addresses in the routing section:

/ip/route/
add dst-address=8.8.8.8 scope=10 gateway=10.111.0.1
add dst-address=8.8.4.4 scope=10 gateway=10.112.0.1


/ip/route/
add distance=1 gateway=8.8.8.8 routing-table=to_ISP1 target-scope=11 check-gateway=ping
add distance=2 gateway=8.8.4.4 routing-table=to_ISP1 target-scope=11 check-gateway=ping
Configure similar recursive routes for the second gateway:


Recursive Routes in RoS 7.x hadi network
Recursive Routes - MikroTik
Recursive routing for failover
Dual WAN failover using recursive routing
RouterOS 7.5 - failover with recursive routing and PBR
Dual WAN Recursive Failover ROSv7
Related searches
mikrotik dual wan failover recursive
how to setup mikrotik router as failover on two connections
recursive routing example
mikrotik failover configuration
mikrotik dual wan router
mikrotik failover recursive
recursive routing gre tunnel
how to configure auto failover in mikrotik router
Recursive routing on Mikrotik
ROS 6.49.6 How to fix or improve config for Recursive Routing
3 recursive route failover
MikroTik MTCRE - Recursive Routing (Easy Automatic Failover)
MikroTik RouterOS v7 dual DHCP WAN recursive failover w
Recursive routing on Mikrotik

mikrotik dual wan failover recursive
how to setup mikrotik router as failover on two connections
recursive routing example
mikrotik failover configuration
mikrotik dual wan router
mikrotik failover recursive
recursive routing gre tunnel
how to configure auto failover in mikrotik router
Basic ISP Failover with MikroTik

Комментарии

Информация по комментариям в разработке