# ExpressRoute

Options to connect your on-prem to Azure Cloud

### VPN - up to 1.5Gbps per tunnerl

### ExpressRoutes

Usually a provider is used to access the ExpressRoute service

```
[Customer On-Prem] <--> [Service Provider] <--> [MSEE Router] <--> [Azure] (Private Peering)
                                                       |---------> [Other Microsoft Public Services] (Microsoft Peering)
```

MSEE = Microsoft Enterprise Edge (Physical router)

In a provider's colo: A - the side that wants to connect (customer) Z - the side where A wants to connect to (Microsoft)

```
[Customer On-Prem] <-802.1q-> [Service Provider] <-QinQ-> [MSEE Router] <--> [Azure]
```

QinQ is used between SP and MSEE 802.Q is used between SP and Customer

* Available in 1, 2, 5, 10 Gbps (active/active. Potentially can get 20Gbps)
* Doesn't support MACSEC?

### ExpressRoute Direct

* Still needs to happen in a colo
* Supports MACSEC
* Customer can chose between QinQ and 802.1q
* Goes up to 100Gbps (active/active. Potentially can get to 200Gbps)

```
[Customer On-Prem] <- QinQ or 802.1q -> [MSEE Router] <--> [Azure]
```

You still need to define

### Virtual Network Gateway

* Virtual Gateway maintains BGP session with MSEE and exposes the internal virtual IP space to an external physical space
* Traffic from MSEE to VNET goes through Gateway
* Traffic from VNET to MSEE bypassess Gateway

#### FastPath

* Traffic from MSEE to VNET also bypasses Gateway
* Not all scenarios are supported. Unsupported scenarios will go through Gateway.
* Gateway is still required because it maintains BGP sessions.
* The gateway is created in a subnet of the VNET.
* It gets assigned a Public IP used for peering.

### ExpressRoute Circuit

* Virtual Circuit identified by an S-Key (Service Key). It is linked to a Provider and a Peering location

### ExpressRoute Connection

* Links a Circuit to a Virtual Gateway. You can have multiple connections over the same circuit.
* It has a routing Weight.

### Peering

* Keeps the BGP sessions running
* You have to provide an ASN, a VLANID (customer 802.1Q VLAN) and 2 subnets (/30) to be used as primary and secondary Types:
* Private - to access Customer Private resources in Azure
* Public (not available anymore. Merged into Microsoft Peering) - to access Azure Public Services
* Microsoft Peering - to access any Microsoft Public Services(like Office365) but now includes Azure Public Services.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cloud.nyquist.eu/azure/expressroute.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
