Hello. I have two LAN interfaces with two addresses in one local network for my MikroTik.
For example LAN1 192.168.0.1(gate) and LAN2 192.168.0.2(just second address)
Problem is that I need that Pref. Source to my local subnet always be 192.168.0.1, but in routing table created by default Pref. Source now 192.168.0.2 and I can’t change it.
With two LAN’s you need two subnets. If both ip’s are on the same LAN and the router has to choose the source ip I believe it will always choose the lowest.
Given the subnet length of /24 both 192.168.0.1 and 192.168.0.2 are within the same subnet. This means that they should be in on the same network. You can bridge two LAN ports together by creating a bridge which you may choose to call LAN. Then both ports can be added to to that LAN bridge. You can then assign one or more ports to that single bridge interface.
If the ports are not switched or bridged together then they are not part of the same layer 2 network so they should not be part of the same layer 3 network.