Does IPv6 have similar concept of network mask? The Next CEO of Stack OverflowUnderstanding why some IPs don't have a mask addressHow much influence does multicast and IPv6 have on latency?Simple network mask questionIs the structure of the CEF IPv6 trie similar with the IPv4 trie structure?IPv6: is it possible to use a /64 block when you have multiple routers?How does a browser understand a subnet mask in IPv4?How does IPv6 AH guarranties authentication?Does every subnet have broadcast and network addresses?IPv6 address scheme for network gearHow can know the subnet mask in IPv6 network?

Inappropriate reference requests from Journal reviewers

Monthly twice production release for my software project

Can we say or write : "No, it'sn't"?

If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?

How to make a variable always equal to the result of some calculations?

Science fiction short story involving a paper written by a schizophrenic

What is the difference between "behavior" and "behaviour"?

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

How do scammers retract money, while you can’t?

Shade part of a Venn diagram

Customer Requests (Sometimes) Drive Me Bonkers!

Why does standard notation not preserve intervals (visually)

Extending anchors in TikZ

Only print output after finding pattern

Is HostGator storing my password in plaintext?

At which OSI layer a user-generated data resides?

How should I support this large drywall patch?

How did people program for Consoles with multiple CPUs?

How to get regions to plot as graphics

Can a caster that cast Polymorph on themselves stop concentrating at any point even if their Int is low?

My Curious Music Box

Why does the UK parliament need a vote on the political declaration?

Anatomically Correct Strange Women In Ponds Distributing Swords

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?



Does IPv6 have similar concept of network mask?



The Next CEO of Stack OverflowUnderstanding why some IPs don't have a mask addressHow much influence does multicast and IPv6 have on latency?Simple network mask questionIs the structure of the CEF IPv6 trie similar with the IPv4 trie structure?IPv6: is it possible to use a /64 block when you have multiple routers?How does a browser understand a subnet mask in IPv4?How does IPv6 AH guarranties authentication?Does every subnet have broadcast and network addresses?IPv6 address scheme for network gearHow can know the subnet mask in IPv6 network?










4















Does IPv6 have similar concept of network mask?



How does it represent a network?



In the output of ifconfig, does prefixlen 128 represent a network mask?



lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1552397 bytes 88437726 (88.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1552397 bytes 88437726 (88.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


Thanks.










share|improve this question




























    4















    Does IPv6 have similar concept of network mask?



    How does it represent a network?



    In the output of ifconfig, does prefixlen 128 represent a network mask?



    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 1552397 bytes 88437726 (88.4 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 1552397 bytes 88437726 (88.4 MB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


    Thanks.










    share|improve this question


























      4












      4








      4








      Does IPv6 have similar concept of network mask?



      How does it represent a network?



      In the output of ifconfig, does prefixlen 128 represent a network mask?



      lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
      inet 127.0.0.1 netmask 255.0.0.0
      inet6 ::1 prefixlen 128 scopeid 0x10<host>
      loop txqueuelen 1000 (Local Loopback)
      RX packets 1552397 bytes 88437726 (88.4 MB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 1552397 bytes 88437726 (88.4 MB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


      Thanks.










      share|improve this question
















      Does IPv6 have similar concept of network mask?



      How does it represent a network?



      In the output of ifconfig, does prefixlen 128 represent a network mask?



      lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
      inet 127.0.0.1 netmask 255.0.0.0
      inet6 ::1 prefixlen 128 scopeid 0x10<host>
      loop txqueuelen 1000 (Local Loopback)
      RX packets 1552397 bytes 88437726 (88.4 MB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 1552397 bytes 88437726 (88.4 MB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


      Thanks.







      subnet ipv6






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 22 at 13:00







      Tim

















      asked Mar 22 at 12:46









      TimTim

      655518




      655518




















          2 Answers
          2






          active

          oldest

          votes


















          9














          IPv6 uses network masks exactly the same way as IPv4. The only real difference is that they're much longer (128 bits). IPv6 uses the slash notation exclusively (no dotted decimal), so masks range from /0 to /128.



          Becasue of the much larger address space, it's rare to see a mask length longer than /64.






          share|improve this answer























          • Thanks. IPv6 address itself is 128 bits, If a network mask is 128 bits, does that mean the network only has one host? See my update for an example

            – Tim
            Mar 22 at 12:59












          • Yes. It's the equivalent of using a /32 for IPv4.

            – Ron Trunk
            Mar 22 at 13:04











          • Do you mean prefixlen 128 represent a network mask? How can the network for prefixlen 128 (only one host) be so different from the network for the IPv4 network mask 255.0.0.0 (have many hosts) for the same network interface? Do they represent the same network?

            – Tim
            Mar 22 at 13:05







          • 4





            They are different addressing schemes, so there is no correspondence between them. Also, the IPv4 loopback address, 127.0.0.1, is always written with a /8 mask (per the RFC), even though technically, there's only one host.

            – Ron Trunk
            Mar 22 at 13:26







          • 1





            @chrylis, we have adopted /127 for all our point-to-point links, except for the connection to the telcos, where they require /126 because of the way IPv4 used /30. We have tried, and tried to explain things to them, but they will not listen, so we are careful to test in the lab that any devices we use to connect to them really are immune to the ping pong attack.

            – Ron Maupin
            Mar 23 at 11:50


















          3














          Your example contains a netmask. It is however not specified as a bitmask since this would be very long and confusing but as the length of one-bits in the mask. This is called the prefix length and is given either separately (as in your example) or with slash notation:



          inet6 ::1 prefixlen 128


          This is equivalent to ::1/128 would look like



          ip. 0000:0000:0000:0000:0000:0000:0000:0001
          mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff


          While the mask is pretty much the same as in v4 there are some conventions around assignment. For having a good notation the prefixlen is typically given in multiple of four and /64 is regarded as a single LAN (also required by some autoconf technologies).



          If you think of ipv6 it is a good idea to regard the prefix always as dynamic and allow renumbering, then you are good to go.






          share|improve this answer










          New contributor




          eckes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            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%2f57867%2fdoes-ipv6-have-similar-concept-of-network-mask%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            9














            IPv6 uses network masks exactly the same way as IPv4. The only real difference is that they're much longer (128 bits). IPv6 uses the slash notation exclusively (no dotted decimal), so masks range from /0 to /128.



            Becasue of the much larger address space, it's rare to see a mask length longer than /64.






            share|improve this answer























            • Thanks. IPv6 address itself is 128 bits, If a network mask is 128 bits, does that mean the network only has one host? See my update for an example

              – Tim
              Mar 22 at 12:59












            • Yes. It's the equivalent of using a /32 for IPv4.

              – Ron Trunk
              Mar 22 at 13:04











            • Do you mean prefixlen 128 represent a network mask? How can the network for prefixlen 128 (only one host) be so different from the network for the IPv4 network mask 255.0.0.0 (have many hosts) for the same network interface? Do they represent the same network?

              – Tim
              Mar 22 at 13:05







            • 4





              They are different addressing schemes, so there is no correspondence between them. Also, the IPv4 loopback address, 127.0.0.1, is always written with a /8 mask (per the RFC), even though technically, there's only one host.

              – Ron Trunk
              Mar 22 at 13:26







            • 1





              @chrylis, we have adopted /127 for all our point-to-point links, except for the connection to the telcos, where they require /126 because of the way IPv4 used /30. We have tried, and tried to explain things to them, but they will not listen, so we are careful to test in the lab that any devices we use to connect to them really are immune to the ping pong attack.

              – Ron Maupin
              Mar 23 at 11:50















            9














            IPv6 uses network masks exactly the same way as IPv4. The only real difference is that they're much longer (128 bits). IPv6 uses the slash notation exclusively (no dotted decimal), so masks range from /0 to /128.



            Becasue of the much larger address space, it's rare to see a mask length longer than /64.






            share|improve this answer























            • Thanks. IPv6 address itself is 128 bits, If a network mask is 128 bits, does that mean the network only has one host? See my update for an example

              – Tim
              Mar 22 at 12:59












            • Yes. It's the equivalent of using a /32 for IPv4.

              – Ron Trunk
              Mar 22 at 13:04











            • Do you mean prefixlen 128 represent a network mask? How can the network for prefixlen 128 (only one host) be so different from the network for the IPv4 network mask 255.0.0.0 (have many hosts) for the same network interface? Do they represent the same network?

              – Tim
              Mar 22 at 13:05







            • 4





              They are different addressing schemes, so there is no correspondence between them. Also, the IPv4 loopback address, 127.0.0.1, is always written with a /8 mask (per the RFC), even though technically, there's only one host.

              – Ron Trunk
              Mar 22 at 13:26







            • 1





              @chrylis, we have adopted /127 for all our point-to-point links, except for the connection to the telcos, where they require /126 because of the way IPv4 used /30. We have tried, and tried to explain things to them, but they will not listen, so we are careful to test in the lab that any devices we use to connect to them really are immune to the ping pong attack.

              – Ron Maupin
              Mar 23 at 11:50













            9












            9








            9







            IPv6 uses network masks exactly the same way as IPv4. The only real difference is that they're much longer (128 bits). IPv6 uses the slash notation exclusively (no dotted decimal), so masks range from /0 to /128.



            Becasue of the much larger address space, it's rare to see a mask length longer than /64.






            share|improve this answer













            IPv6 uses network masks exactly the same way as IPv4. The only real difference is that they're much longer (128 bits). IPv6 uses the slash notation exclusively (no dotted decimal), so masks range from /0 to /128.



            Becasue of the much larger address space, it's rare to see a mask length longer than /64.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 22 at 12:52









            Ron TrunkRon Trunk

            39.4k33780




            39.4k33780












            • Thanks. IPv6 address itself is 128 bits, If a network mask is 128 bits, does that mean the network only has one host? See my update for an example

              – Tim
              Mar 22 at 12:59












            • Yes. It's the equivalent of using a /32 for IPv4.

              – Ron Trunk
              Mar 22 at 13:04











            • Do you mean prefixlen 128 represent a network mask? How can the network for prefixlen 128 (only one host) be so different from the network for the IPv4 network mask 255.0.0.0 (have many hosts) for the same network interface? Do they represent the same network?

              – Tim
              Mar 22 at 13:05







            • 4





              They are different addressing schemes, so there is no correspondence between them. Also, the IPv4 loopback address, 127.0.0.1, is always written with a /8 mask (per the RFC), even though technically, there's only one host.

              – Ron Trunk
              Mar 22 at 13:26







            • 1





              @chrylis, we have adopted /127 for all our point-to-point links, except for the connection to the telcos, where they require /126 because of the way IPv4 used /30. We have tried, and tried to explain things to them, but they will not listen, so we are careful to test in the lab that any devices we use to connect to them really are immune to the ping pong attack.

              – Ron Maupin
              Mar 23 at 11:50

















            • Thanks. IPv6 address itself is 128 bits, If a network mask is 128 bits, does that mean the network only has one host? See my update for an example

              – Tim
              Mar 22 at 12:59












            • Yes. It's the equivalent of using a /32 for IPv4.

              – Ron Trunk
              Mar 22 at 13:04











            • Do you mean prefixlen 128 represent a network mask? How can the network for prefixlen 128 (only one host) be so different from the network for the IPv4 network mask 255.0.0.0 (have many hosts) for the same network interface? Do they represent the same network?

              – Tim
              Mar 22 at 13:05







            • 4





              They are different addressing schemes, so there is no correspondence between them. Also, the IPv4 loopback address, 127.0.0.1, is always written with a /8 mask (per the RFC), even though technically, there's only one host.

              – Ron Trunk
              Mar 22 at 13:26







            • 1





              @chrylis, we have adopted /127 for all our point-to-point links, except for the connection to the telcos, where they require /126 because of the way IPv4 used /30. We have tried, and tried to explain things to them, but they will not listen, so we are careful to test in the lab that any devices we use to connect to them really are immune to the ping pong attack.

              – Ron Maupin
              Mar 23 at 11:50
















            Thanks. IPv6 address itself is 128 bits, If a network mask is 128 bits, does that mean the network only has one host? See my update for an example

            – Tim
            Mar 22 at 12:59






            Thanks. IPv6 address itself is 128 bits, If a network mask is 128 bits, does that mean the network only has one host? See my update for an example

            – Tim
            Mar 22 at 12:59














            Yes. It's the equivalent of using a /32 for IPv4.

            – Ron Trunk
            Mar 22 at 13:04





            Yes. It's the equivalent of using a /32 for IPv4.

            – Ron Trunk
            Mar 22 at 13:04













            Do you mean prefixlen 128 represent a network mask? How can the network for prefixlen 128 (only one host) be so different from the network for the IPv4 network mask 255.0.0.0 (have many hosts) for the same network interface? Do they represent the same network?

            – Tim
            Mar 22 at 13:05






            Do you mean prefixlen 128 represent a network mask? How can the network for prefixlen 128 (only one host) be so different from the network for the IPv4 network mask 255.0.0.0 (have many hosts) for the same network interface? Do they represent the same network?

            – Tim
            Mar 22 at 13:05





            4




            4





            They are different addressing schemes, so there is no correspondence between them. Also, the IPv4 loopback address, 127.0.0.1, is always written with a /8 mask (per the RFC), even though technically, there's only one host.

            – Ron Trunk
            Mar 22 at 13:26






            They are different addressing schemes, so there is no correspondence between them. Also, the IPv4 loopback address, 127.0.0.1, is always written with a /8 mask (per the RFC), even though technically, there's only one host.

            – Ron Trunk
            Mar 22 at 13:26





            1




            1





            @chrylis, we have adopted /127 for all our point-to-point links, except for the connection to the telcos, where they require /126 because of the way IPv4 used /30. We have tried, and tried to explain things to them, but they will not listen, so we are careful to test in the lab that any devices we use to connect to them really are immune to the ping pong attack.

            – Ron Maupin
            Mar 23 at 11:50





            @chrylis, we have adopted /127 for all our point-to-point links, except for the connection to the telcos, where they require /126 because of the way IPv4 used /30. We have tried, and tried to explain things to them, but they will not listen, so we are careful to test in the lab that any devices we use to connect to them really are immune to the ping pong attack.

            – Ron Maupin
            Mar 23 at 11:50











            3














            Your example contains a netmask. It is however not specified as a bitmask since this would be very long and confusing but as the length of one-bits in the mask. This is called the prefix length and is given either separately (as in your example) or with slash notation:



            inet6 ::1 prefixlen 128


            This is equivalent to ::1/128 would look like



            ip. 0000:0000:0000:0000:0000:0000:0000:0001
            mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff


            While the mask is pretty much the same as in v4 there are some conventions around assignment. For having a good notation the prefixlen is typically given in multiple of four and /64 is regarded as a single LAN (also required by some autoconf technologies).



            If you think of ipv6 it is a good idea to regard the prefix always as dynamic and allow renumbering, then you are good to go.






            share|improve this answer










            New contributor




            eckes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
























              3














              Your example contains a netmask. It is however not specified as a bitmask since this would be very long and confusing but as the length of one-bits in the mask. This is called the prefix length and is given either separately (as in your example) or with slash notation:



              inet6 ::1 prefixlen 128


              This is equivalent to ::1/128 would look like



              ip. 0000:0000:0000:0000:0000:0000:0000:0001
              mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff


              While the mask is pretty much the same as in v4 there are some conventions around assignment. For having a good notation the prefixlen is typically given in multiple of four and /64 is regarded as a single LAN (also required by some autoconf technologies).



              If you think of ipv6 it is a good idea to regard the prefix always as dynamic and allow renumbering, then you are good to go.






              share|improve this answer










              New contributor




              eckes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                3












                3








                3







                Your example contains a netmask. It is however not specified as a bitmask since this would be very long and confusing but as the length of one-bits in the mask. This is called the prefix length and is given either separately (as in your example) or with slash notation:



                inet6 ::1 prefixlen 128


                This is equivalent to ::1/128 would look like



                ip. 0000:0000:0000:0000:0000:0000:0000:0001
                mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff


                While the mask is pretty much the same as in v4 there are some conventions around assignment. For having a good notation the prefixlen is typically given in multiple of four and /64 is regarded as a single LAN (also required by some autoconf technologies).



                If you think of ipv6 it is a good idea to regard the prefix always as dynamic and allow renumbering, then you are good to go.






                share|improve this answer










                New contributor




                eckes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                Your example contains a netmask. It is however not specified as a bitmask since this would be very long and confusing but as the length of one-bits in the mask. This is called the prefix length and is given either separately (as in your example) or with slash notation:



                inet6 ::1 prefixlen 128


                This is equivalent to ::1/128 would look like



                ip. 0000:0000:0000:0000:0000:0000:0000:0001
                mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff


                While the mask is pretty much the same as in v4 there are some conventions around assignment. For having a good notation the prefixlen is typically given in multiple of four and /64 is regarded as a single LAN (also required by some autoconf technologies).



                If you think of ipv6 it is a good idea to regard the prefix always as dynamic and allow renumbering, then you are good to go.







                share|improve this answer










                New contributor




                eckes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer








                edited Mar 26 at 4:36





















                New contributor




                eckes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Mar 22 at 20:01









                eckeseckes

                1313




                1313




                New contributor




                eckes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                eckes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                eckes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.



























                    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%2f57867%2fdoes-ipv6-have-similar-concept-of-network-mask%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

                    Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

                    Tähtien Talli Jäsenet | Lähteet | NavigointivalikkoSuomen Hippos – Tähtien Talli

                    Do these cracks on my tires look bad? The Next CEO of Stack OverflowDry rot tire should I replace?Having to replace tiresFishtailed so easily? Bad tires? ABS?Filling the tires with something other than air, to avoid puncture hassles?Used Michelin tires safe to install?Do these tyre cracks necessitate replacement?Rumbling noise: tires or mechanicalIs it possible to fix noisy feathered tires?Are bad winter tires still better than summer tires in winter?Torque converter failure - Related to replacing only 2 tires?Why use snow tires on all 4 wheels on 2-wheel-drive cars?