I have two Azure VMs behind the load balancer. VMs don't have any public IP, only LB has one static public IP address.
Sometimes VM gets outgoing public IP 13.93.5.128, which is not right. When I restart one VM, it gets right IP but second VM get this bad IP. It changes even without restart.
According this - https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections - I think I'm using Load-balanced VM (no Instance Level Public IP address on VM)
(SNAT).
Trying outgoing IP with dig myip.opendns.com @resolver1.opendns.com
.
How can I have outgoing IP for all VMs behind Load Balancer always the same (load balancer's one)?