How to verify BGP routing for OpenShift Virtualization guests on Azure
Red Hat’s OpenShift 4.22 walkthrough distinguishes established BGP sessions from a working application path that preserves the guest’s source IP.
A working BGP session does not tell an Azure Red Hat OpenShift operator whether an application can reach a guest VM, or what source address the application will see on the return path. Red Hat’s Nov. 16 deployment walkthrough tests those questions separately. It gives teams planning a VM migration a concrete set of checks to run before relying on the connector announced Nov. 19.
Check the route before testing the application
Red Hat tested BGP Cloud Connector 1.1.0 in Azure West US 2 on ARO Standard 4.22.22, with three compute nodes and OpenShift Virtualization 4.22.16. Two compute nodes served as routers. Each established a session with both endpoint IPs of a single Azure Route Server, for four sessions in total. Route Server distributes routing information; it does not carry the application traffic.
In that topology, the four established sessions are an early checkpoint, not the acceptance test. Red Hat also checked that IP forwarding was enabled on both selected Azure network interfaces, that the ClusterUserDefinedNetwork and RouteAdvertisements reconciled, and that Azure learned the advertised guest-network prefix. The walkthrough calls for checking effective routes and network security rules rather than treating a configured address range as evidence that traffic can pass.
Test in both directions and read the server logs
Red Hat sent HTTP requests from an Azure VM to an OpenShift Virtualization VM and then reversed the test. On the reverse leg, the Azure server log showed the guest’s ClusterUserDefinedNetwork address as the source. That is the check that matters if an application or firewall needs to distinguish guests by IP address. Red Hat also observed return traffic through the alternate router using equal-cost multipath; that observation is not a guarantee about failover behavior in another network.
The walkthrough is for ARO Standard with service-principal authentication and a guest-network prefix that does not overlap connected networks. Its results do not establish connectivity from peered networks or on-premises systems. For a migration that depends on either, repeat the route, security-rule and end-to-end traffic checks from those actual network segments before moving workloads.
sources
- Deploying BGP Cloud Connector on ARO Standardcloud.redhat.com
- BGP cloud connector for Microsoft Azure Red Hat OpenShift now availablewww.redhat.com
comments · 0