Skip to content

Instantly share code, notes, and snippets.

@muvaf
Created May 1, 2026 22:31
Show Gist options
  • Select an option

  • Save muvaf/32a5349d781ce609496d5693c11aa37d to your computer and use it in GitHub Desktop.

Select an option

Save muvaf/32a5349d781ce609496d5693c11aa37d to your computer and use it in GitHub Desktop.
# 2e. Add new default route as primary, downgrade Cogent to backup
/ip route add dst-address=0.0.0.0/0 gateway=38.104.247.130 distance=1 check-gateway=ping comment="WAN2 primary"
/ip route set [find dst-address=0.0.0.0/0 gateway=38.104.67.124] distance=2 check-gateway=ping comment="WAN1 backup"
# 2f. Verify
/ip route print where dst-address=0.0.0.0/0
/ping 1.1.1.1 count=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment