WAN encapsulation Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?SonicWall tz 215 with three LAN and three WANHow does frame relay and MPLS fit in with BGP and WAN/internet/cloud routing?Can't Ping INTERNET from clients but I CAN from Internal RoutersCisco 1921 private LAN can't access internet on WAN interfaceRunning office WAN via MPLS connected Datacenter's WAN connection. Thoughts?Using an ASE(MPLS) line to route datacenter WAN traffic to officeWhat problem does Frame Relay or ATM solve that Ethernet does not?Lost Ethertype in encrypted MACsec framesWAN/Campus network design - Learning purposesDifference between WAN and VPN(tunnels)

Does the Giant Rocktopus have a Swim Speed?

Is it true to say that an hosting provider's DNS server is what links the entire hosting environment to ICANN?

macOS-like app switching in Plasma 5

Did Xerox really develop the first LAN?

What does the "x" in "x86" represent?

Why was the term "discrete" used in discrete logarithm?

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

If 'B is more likely given A', then 'A is more likely given B'

What LEGO pieces have "real-world" functionality?

Are variable time comparisons always a security risk in cryptography code?

What are the motives behind Cersei's orders given to Bronn?

What are the pros and cons of Aerospike nosecones?

Why does Python start at index 1 when iterating an array backwards?

What would be the ideal power source for a cybernetic eye?

The logistics of corpse disposal

How can players work together to take actions that are otherwise impossible?

IndentationError when pasting code in Python 3 interpreter mode

Are my PIs rude or am I just being too sensitive?

What would be Julian Assange's expected punishment, on the current English criminal law?

Models of set theory where not every set can be linearly ordered

Marking the functions of a sentence: 'She may like it'

3 doors, three guards, one stone

Java 8 stream max() function argument type Comparator vs Comparable

How does cp -a work



WAN encapsulation



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?SonicWall tz 215 with three LAN and three WANHow does frame relay and MPLS fit in with BGP and WAN/internet/cloud routing?Can't Ping INTERNET from clients but I CAN from Internal RoutersCisco 1921 private LAN can't access internet on WAN interfaceRunning office WAN via MPLS connected Datacenter's WAN connection. Thoughts?Using an ASE(MPLS) line to route datacenter WAN traffic to officeWhat problem does Frame Relay or ATM solve that Ethernet does not?Lost Ethertype in encrypted MACsec framesWAN/Campus network design - Learning purposesDifference between WAN and VPN(tunnels)










1















I am having some trouble understanding why does a WAN link need encapsulation, such as MPLS or frame relay? Is it merely to encrypt the info from one LAN to another LAN across the internet?










share|improve this question
























  • Do you perhaps mean "encode" (put into computer form) not "encrypt" (provide privacy/secrecy) ? Providing secrecy is not normally an L2 function.

    – jonathanjo
    5 hours ago












  • Is this the same as asking why not every network node is an IP router? I think so but I'm not sure.

    – immibis
    46 mins ago















1















I am having some trouble understanding why does a WAN link need encapsulation, such as MPLS or frame relay? Is it merely to encrypt the info from one LAN to another LAN across the internet?










share|improve this question
























  • Do you perhaps mean "encode" (put into computer form) not "encrypt" (provide privacy/secrecy) ? Providing secrecy is not normally an L2 function.

    – jonathanjo
    5 hours ago












  • Is this the same as asking why not every network node is an IP router? I think so but I'm not sure.

    – immibis
    46 mins ago













1












1








1








I am having some trouble understanding why does a WAN link need encapsulation, such as MPLS or frame relay? Is it merely to encrypt the info from one LAN to another LAN across the internet?










share|improve this question
















I am having some trouble understanding why does a WAN link need encapsulation, such as MPLS or frame relay? Is it merely to encrypt the info from one LAN to another LAN across the internet?







protocol-theory transport-protocol wan






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 6 hours ago









jonathanjo

12.3k1937




12.3k1937










asked 9 hours ago









Alexandre Amaral BednellAlexandre Amaral Bednell

965




965












  • Do you perhaps mean "encode" (put into computer form) not "encrypt" (provide privacy/secrecy) ? Providing secrecy is not normally an L2 function.

    – jonathanjo
    5 hours ago












  • Is this the same as asking why not every network node is an IP router? I think so but I'm not sure.

    – immibis
    46 mins ago

















  • Do you perhaps mean "encode" (put into computer form) not "encrypt" (provide privacy/secrecy) ? Providing secrecy is not normally an L2 function.

    – jonathanjo
    5 hours ago












  • Is this the same as asking why not every network node is an IP router? I think so but I'm not sure.

    – immibis
    46 mins ago
















Do you perhaps mean "encode" (put into computer form) not "encrypt" (provide privacy/secrecy) ? Providing secrecy is not normally an L2 function.

– jonathanjo
5 hours ago






Do you perhaps mean "encode" (put into computer form) not "encrypt" (provide privacy/secrecy) ? Providing secrecy is not normally an L2 function.

– jonathanjo
5 hours ago














Is this the same as asking why not every network node is an IP router? I think so but I'm not sure.

– immibis
46 mins ago





Is this the same as asking why not every network node is an IP router? I think so but I'm not sure.

– immibis
46 mins ago










3 Answers
3






active

oldest

votes


















4














IP packets are encapsulated in a layer 2 protocol, whether they are sent on a LAN or WAN. Frame relay is one such WAN layer 2 protocol. There are others, but most are being rapidly replaced by Ethernet. On LANs, of course, you have Ethernet and Wi-fi.



MPLS doesn't quite fit into the TCP/IP or OSI model. Some consider it a "layer 2.5" protocol.






share|improve this answer
































    2














    The term encapsulation is used to describe a process of adding headers and trailers around some data. For example, here is what happens when you send an email using your favourite email program (like Outlook or Thunderbird):



    • The email is sent from the Application layer to the Transport layer.


    • The Transport layer encapsulates the data and adds its own header (with its own information, such as which port will be used) and passes the data to the Internet layer


    • The Internet layer encapsulates the received data and adds its own header, usually with information about the source and destination IP addresses. The Internet layer than passes the data to the Network Access layer


    • The Network Access layer is the only layer that adds both a header and a trailer. The data is then sent through a physical network link.


    Fore more details wiki






    share|improve this answer






























      1














      Layer 2 Encapsulation covers a number of purposes, most notably framing, error detection, addressing, and protocol layering, and these really apply whether the networking is wide area or local area.




      • Framing: We need some way to reliably chunk the data into frames


      • Error detection: If the encapsulation has addressing or length fields, it's normally vastly much more efficient if it can do its own error detection (and perhaps correction), so it can discard frames which have been corrupted. It's good to put this at a low level, because it's much more likely to have knowledge of what kinds of errors are probably and improbable.


      • Addressing: Very frequently there are multiple devices on the medium, and we want to be able to select which to disturb with this frame: most notable for broadcast media such as ethernet, and often not present in encapsulation for point-to-point networks.


      • Protocol layering: it's very common that the technology should be capable of being used by several upper protocols, perhaps internet protocol and some other. The encapsulation has some method of saying which upper-layer protocol stack should receive it.

      The simplest encapsulation is SLIP, which just does framing and nothing else: it's for point to point links, so addressing isn't used, and the only upper protocol suppported is IP, so it doesn't even have to say that.



      One of the most complex is ethernet, which does framing, error checking, broadcast/unicast, local addressing and upper protocol selection.






      share|improve this answer























        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "496"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f58483%2fwan-encapsulation%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        4














        IP packets are encapsulated in a layer 2 protocol, whether they are sent on a LAN or WAN. Frame relay is one such WAN layer 2 protocol. There are others, but most are being rapidly replaced by Ethernet. On LANs, of course, you have Ethernet and Wi-fi.



        MPLS doesn't quite fit into the TCP/IP or OSI model. Some consider it a "layer 2.5" protocol.






        share|improve this answer





























          4














          IP packets are encapsulated in a layer 2 protocol, whether they are sent on a LAN or WAN. Frame relay is one such WAN layer 2 protocol. There are others, but most are being rapidly replaced by Ethernet. On LANs, of course, you have Ethernet and Wi-fi.



          MPLS doesn't quite fit into the TCP/IP or OSI model. Some consider it a "layer 2.5" protocol.






          share|improve this answer



























            4












            4








            4







            IP packets are encapsulated in a layer 2 protocol, whether they are sent on a LAN or WAN. Frame relay is one such WAN layer 2 protocol. There are others, but most are being rapidly replaced by Ethernet. On LANs, of course, you have Ethernet and Wi-fi.



            MPLS doesn't quite fit into the TCP/IP or OSI model. Some consider it a "layer 2.5" protocol.






            share|improve this answer















            IP packets are encapsulated in a layer 2 protocol, whether they are sent on a LAN or WAN. Frame relay is one such WAN layer 2 protocol. There are others, but most are being rapidly replaced by Ethernet. On LANs, of course, you have Ethernet and Wi-fi.



            MPLS doesn't quite fit into the TCP/IP or OSI model. Some consider it a "layer 2.5" protocol.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 6 hours ago

























            answered 7 hours ago









            Ron TrunkRon Trunk

            39.8k33781




            39.8k33781





















                2














                The term encapsulation is used to describe a process of adding headers and trailers around some data. For example, here is what happens when you send an email using your favourite email program (like Outlook or Thunderbird):



                • The email is sent from the Application layer to the Transport layer.


                • The Transport layer encapsulates the data and adds its own header (with its own information, such as which port will be used) and passes the data to the Internet layer


                • The Internet layer encapsulates the received data and adds its own header, usually with information about the source and destination IP addresses. The Internet layer than passes the data to the Network Access layer


                • The Network Access layer is the only layer that adds both a header and a trailer. The data is then sent through a physical network link.


                Fore more details wiki






                share|improve this answer



























                  2














                  The term encapsulation is used to describe a process of adding headers and trailers around some data. For example, here is what happens when you send an email using your favourite email program (like Outlook or Thunderbird):



                  • The email is sent from the Application layer to the Transport layer.


                  • The Transport layer encapsulates the data and adds its own header (with its own information, such as which port will be used) and passes the data to the Internet layer


                  • The Internet layer encapsulates the received data and adds its own header, usually with information about the source and destination IP addresses. The Internet layer than passes the data to the Network Access layer


                  • The Network Access layer is the only layer that adds both a header and a trailer. The data is then sent through a physical network link.


                  Fore more details wiki






                  share|improve this answer

























                    2












                    2








                    2







                    The term encapsulation is used to describe a process of adding headers and trailers around some data. For example, here is what happens when you send an email using your favourite email program (like Outlook or Thunderbird):



                    • The email is sent from the Application layer to the Transport layer.


                    • The Transport layer encapsulates the data and adds its own header (with its own information, such as which port will be used) and passes the data to the Internet layer


                    • The Internet layer encapsulates the received data and adds its own header, usually with information about the source and destination IP addresses. The Internet layer than passes the data to the Network Access layer


                    • The Network Access layer is the only layer that adds both a header and a trailer. The data is then sent through a physical network link.


                    Fore more details wiki






                    share|improve this answer













                    The term encapsulation is used to describe a process of adding headers and trailers around some data. For example, here is what happens when you send an email using your favourite email program (like Outlook or Thunderbird):



                    • The email is sent from the Application layer to the Transport layer.


                    • The Transport layer encapsulates the data and adds its own header (with its own information, such as which port will be used) and passes the data to the Internet layer


                    • The Internet layer encapsulates the received data and adds its own header, usually with information about the source and destination IP addresses. The Internet layer than passes the data to the Network Access layer


                    • The Network Access layer is the only layer that adds both a header and a trailer. The data is then sent through a physical network link.


                    Fore more details wiki







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 7 hours ago









                    serverAdmin123serverAdmin123

                    3617




                    3617





















                        1














                        Layer 2 Encapsulation covers a number of purposes, most notably framing, error detection, addressing, and protocol layering, and these really apply whether the networking is wide area or local area.




                        • Framing: We need some way to reliably chunk the data into frames


                        • Error detection: If the encapsulation has addressing or length fields, it's normally vastly much more efficient if it can do its own error detection (and perhaps correction), so it can discard frames which have been corrupted. It's good to put this at a low level, because it's much more likely to have knowledge of what kinds of errors are probably and improbable.


                        • Addressing: Very frequently there are multiple devices on the medium, and we want to be able to select which to disturb with this frame: most notable for broadcast media such as ethernet, and often not present in encapsulation for point-to-point networks.


                        • Protocol layering: it's very common that the technology should be capable of being used by several upper protocols, perhaps internet protocol and some other. The encapsulation has some method of saying which upper-layer protocol stack should receive it.

                        The simplest encapsulation is SLIP, which just does framing and nothing else: it's for point to point links, so addressing isn't used, and the only upper protocol suppported is IP, so it doesn't even have to say that.



                        One of the most complex is ethernet, which does framing, error checking, broadcast/unicast, local addressing and upper protocol selection.






                        share|improve this answer



























                          1














                          Layer 2 Encapsulation covers a number of purposes, most notably framing, error detection, addressing, and protocol layering, and these really apply whether the networking is wide area or local area.




                          • Framing: We need some way to reliably chunk the data into frames


                          • Error detection: If the encapsulation has addressing or length fields, it's normally vastly much more efficient if it can do its own error detection (and perhaps correction), so it can discard frames which have been corrupted. It's good to put this at a low level, because it's much more likely to have knowledge of what kinds of errors are probably and improbable.


                          • Addressing: Very frequently there are multiple devices on the medium, and we want to be able to select which to disturb with this frame: most notable for broadcast media such as ethernet, and often not present in encapsulation for point-to-point networks.


                          • Protocol layering: it's very common that the technology should be capable of being used by several upper protocols, perhaps internet protocol and some other. The encapsulation has some method of saying which upper-layer protocol stack should receive it.

                          The simplest encapsulation is SLIP, which just does framing and nothing else: it's for point to point links, so addressing isn't used, and the only upper protocol suppported is IP, so it doesn't even have to say that.



                          One of the most complex is ethernet, which does framing, error checking, broadcast/unicast, local addressing and upper protocol selection.






                          share|improve this answer

























                            1












                            1








                            1







                            Layer 2 Encapsulation covers a number of purposes, most notably framing, error detection, addressing, and protocol layering, and these really apply whether the networking is wide area or local area.




                            • Framing: We need some way to reliably chunk the data into frames


                            • Error detection: If the encapsulation has addressing or length fields, it's normally vastly much more efficient if it can do its own error detection (and perhaps correction), so it can discard frames which have been corrupted. It's good to put this at a low level, because it's much more likely to have knowledge of what kinds of errors are probably and improbable.


                            • Addressing: Very frequently there are multiple devices on the medium, and we want to be able to select which to disturb with this frame: most notable for broadcast media such as ethernet, and often not present in encapsulation for point-to-point networks.


                            • Protocol layering: it's very common that the technology should be capable of being used by several upper protocols, perhaps internet protocol and some other. The encapsulation has some method of saying which upper-layer protocol stack should receive it.

                            The simplest encapsulation is SLIP, which just does framing and nothing else: it's for point to point links, so addressing isn't used, and the only upper protocol suppported is IP, so it doesn't even have to say that.



                            One of the most complex is ethernet, which does framing, error checking, broadcast/unicast, local addressing and upper protocol selection.






                            share|improve this answer













                            Layer 2 Encapsulation covers a number of purposes, most notably framing, error detection, addressing, and protocol layering, and these really apply whether the networking is wide area or local area.




                            • Framing: We need some way to reliably chunk the data into frames


                            • Error detection: If the encapsulation has addressing or length fields, it's normally vastly much more efficient if it can do its own error detection (and perhaps correction), so it can discard frames which have been corrupted. It's good to put this at a low level, because it's much more likely to have knowledge of what kinds of errors are probably and improbable.


                            • Addressing: Very frequently there are multiple devices on the medium, and we want to be able to select which to disturb with this frame: most notable for broadcast media such as ethernet, and often not present in encapsulation for point-to-point networks.


                            • Protocol layering: it's very common that the technology should be capable of being used by several upper protocols, perhaps internet protocol and some other. The encapsulation has some method of saying which upper-layer protocol stack should receive it.

                            The simplest encapsulation is SLIP, which just does framing and nothing else: it's for point to point links, so addressing isn't used, and the only upper protocol suppported is IP, so it doesn't even have to say that.



                            One of the most complex is ethernet, which does framing, error checking, broadcast/unicast, local addressing and upper protocol selection.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 6 hours ago









                            jonathanjojonathanjo

                            12.3k1937




                            12.3k1937



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Network Engineering Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f58483%2fwan-encapsulation%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

                                Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»

                                Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр