I want to have simple yet specific setup created in MS Azure and I would like to know if it is actually possible.
In my setup I need one Windows VM, which would have two network interfaces, both of which would be connected to a loadbalancer and the loadbalancer would connect the VM to internet with public IP. All the traffic from internet would go to the loadbalancer, which would then route it to one of my VM's network interfaces, based on source subnet: say, would go to VM_IP1 and everything else would go to VM_IP2.
I tried playing with free subscription but it seems I need to pay for custom routes and advanced scripts as well as for contacting official technical support. Can someone please advice, whether MS Azure supports such kind of routing and if so, how it should be set?
Thanks a lot!


As far as I know, we can’t use Load Balancer in this way, because in Azure Load Balancer, we can’t specify a network adapter in the backend pools (just support VM).
enter image description here I create a VM with 2 NICs, and Azure Load Balancer just can find the primary NIC: enter image description here As a workaround, maybe you can create a VM (vm1) work as a router, two VMs in the same VNet, then add router on VM1, in this way, we can route to VM2's NIC1, and everything else to vm2's NIC2.

  • Just checking in to see if the information provided was helpful. Please let me know if you would like further assistance. – Jason Ye Jan 11 '17 at 6:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.