Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to configure ExpressRoute and site-to-site coexistence
How do I advertise our Azure's RFC1918 subnets into ER from Azure so our on-premise WAN router can see them?
- This should be automatic
To troubleshoot,
- In case of co-existence, you should deploy two VNET gateways in the GatewaySubnet
- One of type "VPN" and other of type "ExpressRoute"
- They should use the same GatewaySubnet.
- One of type "VPN" and other of type "ExpressRoute"
- Please go through the Limits and limitations
- ExpressRoute-VPN Gateway coexist configurations are not supported on the Basic SKU
- **The gateway subnet must be /27 or a shorter prefix**, such as /26, /25, or you receive an error message when you add the ExpressRoute virtual network gateway.
- ExpressRoute-VPN Gateway coexist configurations are not supported on the Basic SKU
- Now, Link the virtual network to this circuit
- Once done, the Gateway would advertise the VNET's address range to the Circuit
- The circuit, in turn will send the traffic to OnPrem via BGP
Once the configuration is done,
- Check if the BGP status is established or not
- Refer : Validate BGP and routes on the MSEE
- Run the command Get-AzExpressRouteCircuitRouteTable and check the BGP routes
- Make sure your VNET's Range and OnPrem range are available in the "Network" and the "NextHop" corresponds to the GatewaySubnet's IP and OnPrem IP Correspondingly.
- Now, to check from the VNET Gateway, use
- Get-AzVirtualNetworkGatewayLearnedRoute
You confirmed now you are able to see the routes and the set up works.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.