\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Ilham (ilperdan0)} \pdfinfo{ /Title (azure-expressroute.pdf) /Creator (Cheatography) /Author (Ilham (ilperdan0)) /Subject (Azure ExpressRoute Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{3AA325} \definecolor{LightBackground}{HTML}{F2F9F1} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Azure ExpressRoute Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Ilham (ilperdan0)} via \textcolor{DarkBackground}{\uline{cheatography.com/126607/cs/26239/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Ilham (ilperdan0) \\ \uline{cheatography.com/ilperdan0} \\ \uline{\seqsplit{www}.packetnotes.com} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 21st January, 2021.\\ Updated 21st January, 2021.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Create an ExpressRoute circuit and peering}} \tn % Row 0 \SetRowColor{LightBackground} Where is the menu to config ExpressRoute circuit in Azure portal? & Create a resource \textgreater{} Networking \textgreater{} ExpressRoute. \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} What we do after we create a circuit on Azure Portal? & Send the provider the value in the Service key field to enable them to configure the connection. \tn % Row Count 9 (+ 5) % Row 2 \SetRowColor{LightBackground} What we do after the provider status is reported as Provisioned? & For Layer 2 connectivity, configure the routing for the peerings. For L3, the provider will configure that. \tn % Row Count 15 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{ExpressRoute Circuit Properties}} \tn % Row 0 \SetRowColor{LightBackground} Circuit name & A meaningful name for your circuit, without any white space or special characters. \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Provider & The ExpressRoute provider with which you've registered your subscription. \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} Peering location & A location enabled by the ExpressRoute provider in which to create your circuit. \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} Bandwidth & Select your bandwidth, from 50 Mbps up to 10 Gbps. Start with a low value. You can increase it later with no interruption to service. However, you can't reduce the bandwidth if you set it too high initially. \tn % Row Count 17 (+ 8) % Row 4 \SetRowColor{LightBackground} SKU & Select Standard if you have up to 10 virtual networks and only need to connect to resources in the same geopolitical region. Otherwise, select Premium. \tn % Row Count 23 (+ 6) % Row 5 \SetRowColor{white} Billing model & Select Unlimited to pay a flat fee regardless of usage. Or select Metered to pay according to the volume of traffic that enters and exits the circuit. \tn % Row Count 29 (+ 6) % Row 6 \SetRowColor{LightBackground} \seqsplit{Subscription} & The subscription you've registered with your ExpressRoute provider. \tn % Row Count 32 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{ExpressRoute Circuit Properties (cont)}} \tn % Row 7 \SetRowColor{LightBackground} Resource group & The Azure resource group in which to create the circuit. \tn % Row Count 2 (+ 2) % Row 8 \SetRowColor{white} Location & The Azure location in which to create the circuit. \tn % Row Count 4 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Configure Private Peering}} \tn % Row 0 \SetRowColor{LightBackground} Peer ASN & The autonomous system number for your side of the peering. This ASN can be public or private, and 16 bits or 32 bits. \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} Primary subnet & This is the address range of the primary /30 subnet that you created in your network. You'll use the first IP address in this subnet for your router. Microsoft uses the second for its router. \tn % Row Count 12 (+ 7) % Row 2 \SetRowColor{LightBackground} Secondary subnet & This is the address range of your secondary /30 subnet. This subnet provides a secondary link to Microsoft. The first two addresses are used to hold the IP address of your router and the Microsoft router. \tn % Row Count 20 (+ 8) % Row 3 \SetRowColor{white} VLAN ID & This is the VLAN on which to establish the peering. The primary and secondary links will both use this VLAN ID. \tn % Row Count 24 (+ 4) % Row 4 \SetRowColor{LightBackground} Shared key & This is an optional MD5 hash that's used to encode messages passing over the circuit \tn % Row Count 27 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Use private peering to connect your network to your virtual networks running in Azure.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.12 cm} x{4.88 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Configure Microsoft Peering}} \tn % Row 0 \SetRowColor{LightBackground} Advertised public prefixes & This is a list of the address prefixes that you use over the BGP session. These prefixes must be registered to you, and must be prefixes for public address ranges. \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} Customer ASN & This is optional. It's the client-side autonomous system number to use if you are advertising prefixes that aren't registered to the peer ASN. \tn % Row Count 13 (+ 6) % Row 2 \SetRowColor{LightBackground} Routing registry name & This name identifies the registry in which the customer ASN and public prefixes are registered. \tn % Row Count 17 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Use Microsoft peering to connect to Office 365 and its associated services.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Connect a VNet to an ExpressRoute circuit}} \tn % Row 0 \SetRowColor{LightBackground} What we create before connect to a private circuit? & Must create an Azure virtual network gateway by using a subnet on one of your Azure virtual networks. \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} What a virtual network gateway provides & Provides the entry point to network traffic that enters from your on-premises network. It directs incoming traffic through the virtual network to your Azure resources. \tn % Row Count 15 (+ 9) % Row 2 \SetRowColor{LightBackground} What we use to control traffic that's routed from on-premises network? & Network security groups and firewall rules \tn % Row Count 19 (+ 4) % Row 3 \SetRowColor{white} How many virtual networks can be linked to an ExpressRoute circuit & Up to 10 virtual networks, but these virtual networks must be in the same geopolitical region as the ExpressRoute circuit. \tn % Row Count 26 (+ 7) % Row 4 \SetRowColor{LightBackground} How many ExpressRoute circuit can a single virtual network can connect to? & You can link a single virtual network to four ExpressRoute circuits if necessary. \tn % Row Count 31 (+ 5) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Connect a VNet to an ExpressRoute circuit (cont)}} \tn % Row 5 \SetRowColor{LightBackground} What is Connection Weight property? & If there are multiple circuits across different providers to prefer one circuit to another. \tn % Row Count 5 (+ 5) % Row 6 \SetRowColor{white} What is ExpressRoute Direct option? & An ultra-high-speed option from Microsoft. \tn % Row Count 8 (+ 3) % Row 7 \SetRowColor{LightBackground} How is ExpressRoute Direct different with ExpressRoute? & It provides dual 100-Gbps connectivity \tn % Row Count 11 (+ 3) % Row 8 \SetRowColor{white} What is FastPath & When FastPath is enabled, it sends network traffic directly to a virtual machine that's the intended destination. The traffic bypasses the virtual network gateway, improving the performance between Azure virtual networks and on-premises networks. \tn % Row Count 24 (+ 13) % Row 9 \SetRowColor{LightBackground} What FastPath doesn't support? & FastPath doesn't support virtual network peering (where you have virtual network peering. It also doesn't support user-defined routes on the gateway subnet. \tn % Row Count 32 (+ 8) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Architecture of ExpressRoute}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{8.4cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ilperdan0_1611234809_Architecture_ExpressRoute.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{A circuit provides a physical connection for transmitting data through the ExpressRoute provider's edge routers to the Microsoft edge routers.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{How Azure ExpressRoute works}} \tn % Row 0 \SetRowColor{LightBackground} Where ExpressRoute is supported? & across all regions and locations \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Why we need to work with an ExpressRoute partner to implement ExpressRoute? & The partner provides the edge service: an authorized and authenticated connection that operates through a partner-controlled router. The edge service is responsible for extending your network to the Microsoft cloud. \tn % Row Count 13 (+ 11) % Row 2 \SetRowColor{LightBackground} What are circuits? & The connections to an endpoint in an ExpressRoute location that enable customer to peer on-premises networks with the virtual networks available through the endpoint. \tn % Row Count 22 (+ 9) % Row 3 \SetRowColor{white} What a circuit provides? & provides a physical connection for transmitting data through the ExpressRoute provider's edge routers to the Microsoft edge routers. \tn % Row Count 29 (+ 7) % Row 4 \SetRowColor{LightBackground} Do circuit establishes via public internet? & No, A circuit is established across a private wire rather than the public internet. \tn % Row Count 34 (+ 5) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{How Azure ExpressRoute works (cont)}} \tn % Row 5 \SetRowColor{LightBackground} What are the prerequisites for ExpressRoute & - An {\bf{ExpressRoute connectivity partner}} or {\bf{cloud exchange provider}} that can set up a connection from your on-premises networks to the Microsoft cloud.\{\{nl\}\} - An {\bf{Azure subscription}} that is registered with your chosen ExpressRoute connectivity partner.\{\{nl\}\} - An {\bf{active Microsoft Azure account}} to request an ExpressRoute circuit.\{\{nl\}\} - An {\bf{active Office 365 subscription}}\{\{nl\}\} \tn % Row Count 20 (+ 20) % Row 6 \SetRowColor{white} ExpressRoute network and routing requirements & - Ensure that BGP sessions for routing domains have been configured. For each ExpressRoute circuit, Microsoft requires redundant BGP sessions between Microsoft's routers and customer peering routers.\{\{nl\}\} - Using NAT to IP Public is mandatory to connect through Microsoft peering. Microsoft will reject anything except public IP addresses through Microsoft peering.\{\{nl\}\} - Reserve several blocks of IP addresses in your network for routing traffic to the Microsoft cloud. 1 /29 or 2 /30.\{\{nl\}\} - One of these subnets is used to configure the primary circuit to the Microsoft cloud, and the other implements a secondary circuit. \{\{nl\}\} - Use the first address in these subnets to communicate with services in the Microsoft cloud. Microsoft uses the second address to establish a BGP session. \tn % Row Count 60 (+ 40) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{How Azure ExpressRoute works (cont)}} \tn % Row 7 \SetRowColor{LightBackground} ExpressRoute supports two peering schemes: & - {\bf{private peering}} to connect to Azure IaaS and PaaS services deployed inside Azure virtual networks. \{\{nl\}\} - {\bf{Microsoft peering}} to connect to Azure PaaS services, Office 365 services, and Dynamics 365. \tn % Row Count 11 (+ 11) % Row 8 \SetRowColor{white} What is the constraint of ExpressRoute private peering? & The resources that customer access must all be located in one or more Azure virtual networks with private IP addresses. Customer can't access resources through their public IP address over a private peering. \tn % Row Count 22 (+ 11) % Row 9 \SetRowColor{LightBackground} ExpressRoute availability & Microsoft guarantees a minimum of 99.95 percent availability for an ExpressRoute dedicated circuit. \tn % Row Count 27 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{ExpressRoute Peering}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{8.4cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ilperdan0_1611236264_ExpressRoute_Peering.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{- {\bf{private peering}} to connect to Azure IaaS and PaaS services deployed inside Azure virtual networks. \{\{nl\}\} \newline - {\bf{Microsoft peering}} to connect to Azure PaaS services, Office 365 services, and Dynamics 365.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Create a New Circuit Connection}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{8.4cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ilperdan0_1611267916_3-create-connection.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}