We have a router running multiple(15) IP-addresses in a bridge on the wan-link. All IPs are on the same subnet with the same gw and default route outside the router.
How can I control, or at least check, which IP the Routerboard use outwards, e.g. when dialing PPP-links etc?
I assumed it would be either the first address entered or the lowest, but can’t be sure..
Been googling, but the answers I find are with src-nat, which won’t help here.
If you use Torch on the WAN interface you can see which IPs are being used. SRC NAT can be used to affect IPs used for outbound traffic - e.g. use a certain IP for particular services / hosts.
The router will typically choose the “preferred source” for a given subnet when it chooses to send out traffic unless specified elsewhere in configuration, changed via NAT, or a preferred source is set for a default route. Check your /ip route for that information. The preferred source address will usually be the first IP address that was enabled/added to the router.