Hello @R May ,
You were testing the F5 BIG-IP Load balancer on Azure and were facing some issues with packet drops. The load balancer has a NIC with private IP, but it can be configured to use either the private IP or client IP for the source IP for the server-side connections. When you were using the private IP for source IP, TCP and HTTP packets were successfully arriving at the server and the client was getting a response. However, when you tried using the client IP (global IP) for the source IP at the server-side, packets weren't arriving at the server.
You found it to be an Azure configuration issue and were able to resolve it.
You needed to enable the "IP forwarding" option for the internal NIC and setup UDR directing default to the load balancer's internal IP.
Thank you for sharing the resolution.
Since the F5 BIG-IP Load balancer is deployed as a Virtual machine instance in Azure which has a NIC with private IP and is responsible for forwarding network traffic to an address other than its own, the IP forwarding option must be enabled.
I checked the Multi-NIC F5 BIG-IP deployment in Azure Vnet document and looks like it has IP forwarding mentioned but only in the Azure CLI commands. So, this setting may have been missed in your initial deployment.
IP forwarding enables a NIC attached to a VM to:
- Receive network traffic not destined for any of the IP addresses assigned in any of the NIC's IP configurations.
- Send network traffic with a different source IP address than is assigned in any of the NIC's IP configurations.
You must enable IP forwarding for every NIC attached to the VM that needs to forward traffic. A VM can forward traffic whether it has multiple NICs or a single NIC attached to it.
IP forwarding is typically used with user-defined routes.
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview#user-defined
Kindly let us know if you need further assistance on this issue.
Please don’t forget to close the thread by clicking "Accept the answer", as this can be beneficial to other community members.