Expressroute Private peering vlan advice

azure-000 1 Reputation point
2024-02-21T13:19:08.83+00:00

We are trying to configure azure expressroute. I have a provisioned circuit. We are using one epl connection via Comcast. From what I see in the documentation we need to configure to /30 networks. 0ne ip for our router and one for msee router we need two on each side to account for the redundant connections on the Microsoft side. the fact we have only one epl I assume would mean we need to be able to pass two vlans (one for each of our side /29 networks. These need to be separate/different vlan tags. When looking at the private peering on the Circuit it asks for each /29 (primary and secondary) but only asks for one vlan tag. since we need two different tags to account for each /29 on our side what is Microsoft expecting for the value on the circuit vlan field?

Azure ExpressRoute
Azure ExpressRoute
An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
340 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,006 Reputation points Microsoft Employee
    2024-02-21T14:14:34.65+00:00

    Hello @azure-000 ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to understand more about VLAN ID configured in the peering of ExpressRoute service in Azure portal.

    Azure ExpressRoute uses BGP to exchange routes between your on-premises network, your instances in Azure, and Microsoft public addresses. We establish multiple BGP sessions with your network for different traffic profiles. An ExpressRoute circuit has multiple routing domains/peerings associated with it: Azure public, Azure private, and Microsoft. Each peering is configured identically on a pair of routers (in active-active or load sharing configuration) for high availability.

    Each peering requires separate BGP sessions (one pair for each peering type). The BGP session pairs provide a highly available link.

    Your service provider can establish two Ethernet virtual circuits over the physical connection. The physical connection (for example, an optical fiber) is terminated on a layer 1 (L1) device. The two Ethernet virtual circuits are tagged with different VLAN IDs, one for the primary circuit, and one for the secondary.

    To establish a redundant pair of BGP sessions per peering, we require the below:

    • A pair of subnets that aren't part of any address space reserved for virtual networks. One subnet will be used for the primary link, while the other will be used for the secondary link. From each of these subnets, you'll assign the first usable IP address to your router as Microsoft uses the second usable IP for its router. You have three options for this pair of subnets:
      • IPv4: Two /30 subnets.
      • IPv6: Two /126 subnets.
      • Both: Two /30 subnets and two /126 subnets.
    • A valid VLAN ID to establish this peering on. Ensure that no other peering in the circuit uses the same VLAN ID. For both Primary and Secondary links you must use the same VLAN ID.
    • AS number for peering.

    Refer: https://video2.skills-academy.com/en-us/azure/expressroute/expressroute-routing#ip-addresses-used-for-peerings

    https://video2.skills-academy.com/en-us/azure/expressroute/expressroute-howto-routing-portal-resource-manager#private

    If the first IP address of the /30 subnet assigned for the link between the MSEE-PR and MSEE is used on the interface of MSEE-PR, Azure always uses the second IP address for MSEEs.

    So basically, we are using a pair of VLAN subinterfaces with the same VLAN ID and different /30 subnets for primary and secondary BGP sessions/peerings.

    For the router configuration using dot1Q encapsulation, you could refer the below doc which provides interface and routing configuration samples for Cisco IOS-XE and Juniper MX series routers when you're working with Azure ExpressRoute.

    Refer: https://video2.skills-academy.com/en-us/azure/expressroute/expressroute-config-samples-routing#cisco-ios-xe-based-routers

    NOTE: As mentioned in the doc, samples on this page are purely for guidance. You must work with your vendor's sales/technical team and your networking team to find appropriate configurations to meet your needs. Microsoft won't support issues related to configurations listed in this page. Contact your device vendor for support issues.

    And you need to verify that the customer (C-Tag) and service (S-Tag) VLAN tags match both on MSEE-PR and MSEE pair.

    Now, coming to your question:

    Since we need two different tags to account for each /29 on our side what is Microsoft expecting for the value on the circuit vlan field?

    You can use any valid number as the VLAN ID to establish the peering (such as 5, 100, 152 etc). For both Primary and Secondary links, you must use the same VLAN ID. This VLAN ID configured by you in the Azure portal is called C-tag or customer tag because it is customer defined.

    NOTE: Make sure that no other peering in the circuit uses the same VLAN ID.

    Once configured, you need to share this VLAN ID and s-key of the ExpressRoute circuit with your service provider for them to configure it in the routers. The VLAN ID configured on the portal should match with the ones configured in the routers for the ExpressRoute ARP (Address Resolution Protocol) to come UP.

    The VLAN IDs defined by you in the Azure portal are different than the VLAN IDs at service provider end. The ones defined by you in the portal are the inner tags called customer tag (c-tag) and the ones at service provider ends are the outer tags or service provider tag (s-tag). The VLAN IDs configured by you in the portal must be same for both Primary and Secondary links (this is for the routing domain/peering and not for the circuit).

    Refer this thread with similar discussion: https://video2.skills-academy.com/en-us/answers/questions/637318/azure-expressroute

    For more information on C-tag and S-tag, you can refer this blog.

    References: https://video2.skills-academy.com/en-us/azure/expressroute/expressroute-workflows#5-configure-routing-domains

    https://video2.skills-academy.com/en-us/azure/expressroute/expressroute-howto-routing-portal-resource-manager#private

    https://video2.skills-academy.com/en-us/azure/architecture/reference-architectures/hybrid-networking/expressroute

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.