{"id":112,"date":"2024-06-12T03:09:34","date_gmt":"2024-06-12T07:09:34","guid":{"rendered":"https:\/\/15packets.com\/?p=112"},"modified":"2024-06-12T03:10:16","modified_gmt":"2024-06-12T07:10:16","slug":"wan-basics","status":"publish","type":"post","link":"https:\/\/15packets.com\/?p=112","title":{"rendered":"WAN Connection Types"},"content":{"rendered":"\n<p class=\"has-medium-font-size\">The process of connecting from anywhere with an internet connection, maybe a corporate office or your home; how does our connection path look like through the <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">WAN<\/mark><\/strong> (Wide Area Network)?<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"565\" src=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-19-1024x565.png\" alt=\"\" class=\"wp-image-115\" style=\"width:1423px;height:auto\" srcset=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-19-1024x565.png 1024w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-19-300x166.png 300w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-19-768x424.png 768w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-19-1536x847.png 1536w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-19-2048x1130.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">Let&#8217;s specifically talk about corporate office-to-data center communication. There are a lot of different reasons as to why a direct connection from a data center to a corporate office is needed. One reason may be a phone system living in a data center. Then each phone in multiple different locations can directly talk to the data center and corporate office. Or it could be a POS system, email servers, databases, web servers, you name it, it could be anything.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"662\" src=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-20-1024x662.png\" alt=\"\" class=\"wp-image-116\" style=\"width:1409px;height:auto\" srcset=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-20-1024x662.png 1024w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-20-300x194.png 300w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-20-768x497.png 768w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-20-1536x993.png 1536w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-20-2048x1324.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">Now we will talk about some much older designs first before we advance to some more modern designs.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">The first way we used to connect our corporate office to our data center would be through something called a <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Leased Line<\/mark><\/strong> which uses T1 and T3. A T1 line would be a copper connection at speeds of ~1.54 Mb\/s. Some even connected through <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">T3 speeds<\/mark><\/strong> which are around <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">~43.74 Mb\/s<\/mark><\/strong>. These are American standards. European standards include the <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">E1 and E3 (2.048 &amp; 34.368 Mb\/s)<\/mark><\/strong>. This leased line is a dedicated link between two places so you have the right to all the bandwidth (not shared amongst others). They are however expensive.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Another <em>&#8220;older&#8221;<\/em> alternative to a leased line would be something called <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">MPLS (Multi Protocol Label Switching)<\/mark><\/strong>. The way this works in simple terms is when you order this service from an ISP you are buying the right to have your stuff talk to <strong>ONLY<\/strong> your stuff and nothing else. A good diagram is shown below of what this means. Keep in mind that this is still WAN but you are only allowed to talk to devices within your infrastructure across the internet and nothing else. Additionally, you are sharing bandwidth with other customers, so you don&#8217;t get the advantage as you do in that respect as you do with a leased line.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-21-1024x576.png\" alt=\"\" class=\"wp-image-117\" style=\"width:1404px;height:auto\" srcset=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-21-1024x576.png 1024w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-21-300x169.png 300w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-21-768x432.png 768w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-21-1536x864.png 1536w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-21-2048x1152.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">To keep your data private they use <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Virtual Circuits<\/mark><\/strong> which you can think of as VPN in a way but at the ISP level. The way they can do this is by, as the name says, <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Label<\/mark><\/strong> the frame\/packet uniquely to the given customer. Seen from the OSI\/TCP\/IP model it can be seen at <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">level 2.5 (between Datalink and Network)<\/mark><\/strong>. Now the carrier network knows with that label where to send the data. Also, keep in mind that this connection isn&#8217;t <em>necessarily<\/em> encrypted. Additionally, all of this is done through L3 routing (IP packets). Lastly, the router that clients route traffic in\/out of is called the <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">CE (Client Edge)<\/mark><\/strong> router, and the ISP end; we call that the <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">PE (Provider Edge)<\/mark><\/strong> router. <\/p>\n\n\n\n<p class=\"has-medium-font-size\">Another newer modern way to connect our cooperate office to our data center is through something called <strong><mark style=\"background-color:#8ed1fc\" class=\"has-inline-color\">Metro-E<\/mark><\/strong> or <strong><mark style=\"background-color:#8ed1fc\" class=\"has-inline-color\">Metro-Ethernet<\/mark><\/strong>. At the hardware end, you ask your ISP for a dedicated fiber line (or two) to and from your cooperate office and data center. This can <em>really<\/em> only be done in the city as long-distance fiber lines are stupidly expensive and little to no one is willing to pay for such a long line. These connections usually start at a <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">1Gb\/s<\/mark><\/strong> connection and move up upwards of <strong><mark style=\"background-color:#cf2e2e\" class=\"has-inline-color\">10Gb\/s<\/mark><\/strong> or more. This connection can also be referred to as a P2P <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">(Point to Point)<\/mark><\/strong> connection. In rare cases, you might need a dedicated line for a larger distance. With fiber options, you can rent a dedicated wavelength to help achieve this but again, not common and unlikely to deal with.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">The link is also often L2. You will also need to provide your own hardware (ie. switches). The provider only provides the cable. In some cases though some providers may install a piece of their own proprietary equipment for you to connect to. The diagram below can be seen as an <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">E-Line connection<\/mark><\/strong>, there are multiple types but this is just one of them. The actual line itself the provider gives you can be seen as an <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">EVC (Ethernet Virtual Circit)<\/mark><\/strong>. A diagram of this version of <strong><mark style=\"background-color:#8ed1fc\" class=\"has-inline-color\">Metro-E<\/mark><\/strong> can be shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-22-1024x576.png\" alt=\"\" class=\"wp-image-121\" style=\"width:1416px;height:auto\" srcset=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-22-1024x576.png 1024w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-22-300x169.png 300w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-22-768x432.png 768w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-22-1536x864.png 1536w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-22-2048x1152.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">Another form of <strong><mark style=\"background-color:#8ed1fc\" class=\"has-inline-color\">Metro-E<\/mark><\/strong> can be seen as the equivalent of a cloud switch and you get a whole mesh going. Each place you connect to (ie. data center, corporate office, site) will have its own fiber and this is a zero-compromise solution. This can be labeled as a <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">E-LAN<\/mark><\/strong>. Another diagram can be seen below<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-23-1024x576.png\" alt=\"\" class=\"wp-image-122\" style=\"width:1447px;height:auto\" srcset=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-23-1024x576.png 1024w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-23-300x169.png 300w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-23-768x432.png 768w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-23-1536x864.png 1536w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-23-2048x1152.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">Yet another form of <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Metro-E<\/mark><\/strong> is known as a <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">Hub and Spoke<\/mark><\/strong> method of connection. This is where you have a central hub location and your spokes are connections from different sites all connecting to the hub under dedicated fiber connections from a provider. This connection is also called an <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">E-Tree<\/mark><\/strong>. You can think of this as the edge router of the data center in the analogy below being the root and the leaves being the different sites. Another analogy of this can be seen below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"578\" src=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-24-1024x578.png\" alt=\"\" class=\"wp-image-123\" style=\"width:1450px;height:auto\" srcset=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-24-1024x578.png 1024w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-24-300x169.png 300w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-24-768x433.png 768w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-24-1536x867.png 1536w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-24-2048x1156.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">The cheapest but <em>more<\/em> common way to connect sites\/offices to our data center may just be through a <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">regular old internet connection<\/mark><\/strong> from any  ISP. The way we would make sure our data connection is private though would be through a custom encrypted VPN tunnel site-to-site. Keep in mind though, the biggest drawback of this solution is the connection speed. You are sending traffic through the global internet and there is <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\"><span style=\"text-decoration: underline;\">A LOT<\/span><\/mark><\/strong> of traffic that goes through the public internet. Packet loss is very common and since there is no dedicated line or path, so this problem is inevitable. Additionally, there is no packet prioritization; QoS (Quality of Service). <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-25-1024x576.png\" alt=\"\" class=\"wp-image-124\" style=\"width:1444px;height:auto\" srcset=\"https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-25-1024x576.png 1024w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-25-300x169.png 300w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-25-768x432.png 768w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-25-1536x864.png 1536w, https:\/\/15packets.com\/wp-content\/uploads\/2024\/06\/image-25-2048x1152.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">There is a competitor\/replacement between using the public internet with a VPN and MPLS though and its name is <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">SD-WAN (Software Defined WAN<\/mark><\/strong>). More on SD-WAN in a later section though as this one is packed with information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The process of connecting from anywhere with an internet connection, maybe a corporate office or your home; how does our connection path look like through the WAN (Wide Area Network)? Let&#8217;s specifically talk about corporate office-to-data center communication. There are<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-112","post","type-post","status-publish","format-standard","hentry","category-ccna"],"_links":{"self":[{"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/posts\/112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/15packets.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=112"}],"version-history":[{"count":7,"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions"}],"predecessor-version":[{"id":128,"href":"https:\/\/15packets.com\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions\/128"}],"wp:attachment":[{"href":"https:\/\/15packets.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/15packets.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/15packets.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}