Dear all,
Hope you will be fine.
it is stated that I have 2 WANs from the same ISP each WAN is 70Mbps Now I want to PCC Load Balancing on 2 WANs.
Is the mentioned Script enough for PCC Load Balancing?
Thanks for sharing,
But I have a problem. As mentioned in the video. when I deployed the same configuration as in the video when I checked in connection tracking there is no connection which is marked as isp1_conn and isp2_conn.
when I again restore to my previous PCC load balance configuration I checked in connection tracking is working well but few established connection has no mark connection to tou bound all connection with wan.
Is my configuration enough or not or i need to add few rule in my existing configuration.
This just accepts the incoming packet, with no marks or anything. The problem with that is, if the packet comes in over pppoe-out1, the router may try to send it back out pppoe-out2, thus breaking…anything really.
What you should do is mark the connection when it comes into the WAN interfaces. This is an example of how I am running dual wan
## Mark connections coming in from each WAN so it goes back out over same interface
/ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=pppoe-out1 new-connection-mark=ISP1_conn passthrough=yes
/ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=ether4-WAN2 new-connection-mark=ISP2_conn passthrough=yes
## Mark new connections that do no have a connection-mark to use one of the two WANs (based on per connection classifier)
/ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark dst-address-type=!local in-interface=bridge new-connection-mark=ISP1_conn passthrough=yes per-connection-classifier=src-address:2/0
/ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark dst-address-type=!local in-interface=bridge new-connection-mark=ISP2_conn passthrough=yes per-connection-classifier=src-address:2/1
This of course is just a small slice of the configuration needed for dual WAN to work. I have been working on trying to perfect a setup for the past week, and think I am nailing it down.