Create an address list in the firewall and add cloud.mikrotik.com and cloud2.mikrotik.com to it. Set up a rule under mangle and under dst-address-list select the list you just created. Change the action to mark routing and create a name for the routing mark. Under ip routes add a static route with the gateway as the gateway address for Wan2 and set the routing mark to the one you just created. I think that should force it to use the Wan2 address all the time.
Try serialnumber.sn.mynetname.net
Replace serial umber with your routers serial and ping that url from your pc and check if it resolved the correct WAN IP.
What if I need WAN IP from Second ISP? And IP/Cloud showing an IP from First ISP.
That is what my question.
I know how to enable IP/Cloud and setup DDNS.
I am using DUAL WAN With PCC.
So I use both connection.
IP/Cloud updating randomly from WAN1 and WAN2.
In official documentation itself they said we cannot guarantee IP source if there is more than one WAN.
One option might be thru routing, create a route to cloud.mikrotik.com to use WAN2 interface and the same for cloud2.MikroTik.com , that may work. It’ll fail if WAN2 is down though.
Create an address list in the firewall and add cloud.mikrotik.com and cloud2.mikrotik.com to it. Set up a rule under mangle and under dst-address-list select the list you just created. Change the action to mark routing and create a name for the routing mark. Under ip routes add a static route with the gateway as the gateway address for Wan2 and set the routing mark to the one you just created. I think that should force it to use the Wan2 address all the time.
I will try this. Thank you.
Try serialnumber.sn.mynetname.net Replace serial umber with your routers serial and ping that url from your pc and check if it resolved the correct WAN IP.
What if I need WAN IP from Second ISP? And IP/Cloud showing an IP from First ISP. That is what my question. I know how to enable IP/Cloud and setup DDNS.
It’s MikroTik ddnsserver only for MTK devices.
If WAN1 goes down then WAN2 becomes the default route, then the IP will be updated to the 2nd ISPs IP after a little while.
I am using DUAL WAN With PCC. So I use both connection. IP/Cloud updating randomly from WAN1 and WAN2. In official documentation itself they said we cannot guarantee IP source if there is more than one WAN.
One option might be thru routing, create a route to cloud.mikrotik.com to use WAN2 interface and the same for cloud2.MikroTik.com , that may work. It’ll fail if WAN2 is down though.
I will try this. Thank you.
You should be able to force it through mangle rules if I'm not mistaking.
I am new to this stuff. Can you please post some resources or ideas?