PCC Load Balancing WAN with DHCP WAN address

Hi All,

I’ve been using PCC for a long time without issue, but now I’ve come across an issue whereby both WAN addresses are dynamically assigned by the ISP which includes a dynamic gateway, I don’t seem to be able to mark the gateway in this scenarios even if I create a static default route to the interface with marks they don’t seem to be able to detect the gateway address which has been assigned, is there a workaround for this?

Kind Regards

Hi All,

My issue has been resolved by adding the below to the DHCP-client script section.

:if ($bound=1) do={/ip route set [find routing-table=<routing mark>] gateway=$"gateway-address" }

I did need to create a dummy entry to start within the routing table with the created as this command sets(changes existing) and doesn’t add a new one.

Thanks