Linux assigns an fe80::/64 address to an interface. Shouldn't that be fe80::/10?











up vote
8
down vote

favorite
2












Per the IPv6 standard, Linux assigns IPv6 link local addresses to interfaces. These interfaces are always assigned /64 addresses. Is this correct? I would think they should be /10. Why are they assigned /64 addresses?










share|improve this question




















  • 1




    This related question may be of interest as well: networkengineering.stackexchange.com/q/130/5842
    – kasperd
    Feb 10 at 14:35










  • @kasperd - Indeed it is, thank you.
    – Omnifarious
    Feb 13 at 1:11















up vote
8
down vote

favorite
2












Per the IPv6 standard, Linux assigns IPv6 link local addresses to interfaces. These interfaces are always assigned /64 addresses. Is this correct? I would think they should be /10. Why are they assigned /64 addresses?










share|improve this question




















  • 1




    This related question may be of interest as well: networkengineering.stackexchange.com/q/130/5842
    – kasperd
    Feb 10 at 14:35










  • @kasperd - Indeed it is, thank you.
    – Omnifarious
    Feb 13 at 1:11













up vote
8
down vote

favorite
2









up vote
8
down vote

favorite
2






2





Per the IPv6 standard, Linux assigns IPv6 link local addresses to interfaces. These interfaces are always assigned /64 addresses. Is this correct? I would think they should be /10. Why are they assigned /64 addresses?










share|improve this question















Per the IPv6 standard, Linux assigns IPv6 link local addresses to interfaces. These interfaces are always assigned /64 addresses. Is this correct? I would think they should be /10. Why are they assigned /64 addresses?







linux networking network-interface ipv6






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 30 at 22:42

























asked Jan 30 at 22:03









Omnifarious

895616




895616








  • 1




    This related question may be of interest as well: networkengineering.stackexchange.com/q/130/5842
    – kasperd
    Feb 10 at 14:35










  • @kasperd - Indeed it is, thank you.
    – Omnifarious
    Feb 13 at 1:11














  • 1




    This related question may be of interest as well: networkengineering.stackexchange.com/q/130/5842
    – kasperd
    Feb 10 at 14:35










  • @kasperd - Indeed it is, thank you.
    – Omnifarious
    Feb 13 at 1:11








1




1




This related question may be of interest as well: networkengineering.stackexchange.com/q/130/5842
– kasperd
Feb 10 at 14:35




This related question may be of interest as well: networkengineering.stackexchange.com/q/130/5842
– kasperd
Feb 10 at 14:35












@kasperd - Indeed it is, thank you.
– Omnifarious
Feb 13 at 1:11




@kasperd - Indeed it is, thank you.
– Omnifarious
Feb 13 at 1:11










2 Answers
2






active

oldest

votes

















up vote
11
down vote



accepted










The address space allocated to link-local addresses is fe80::/10, but the next 54 bits are defined to be all zeroes, so the effective range is fe80::/64. Which puts it in line with the usual custom for IPv6 addresses.



RFC 4291:




2.5.6.  Link-Local IPv6 Unicast Addresses

Link-Local addresses are for use on a single link. Link-Local
addresses have the following format:

| 10 |
| bits | 54 bits | 64 bits |
+----------+-------------------------+----------------------------+
|1111111010| 0 | interface ID |
+----------+-------------------------+----------------------------+






share|improve this answer




























    up vote
    0
    down vote













    FE80::/64 includes 2^48 Ethernet addresses and some other link-level derived combinations, but not necessarily all types. The /10 allows for future expansion of new types not yet defined.






    share|improve this answer








    New contributor




    MR.X 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: "106"
      };
      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',
      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
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














       

      draft saved


      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f420814%2flinux-assigns-an-fe80-64-address-to-an-interface-shouldnt-that-be-fe80-10%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








      up vote
      11
      down vote



      accepted










      The address space allocated to link-local addresses is fe80::/10, but the next 54 bits are defined to be all zeroes, so the effective range is fe80::/64. Which puts it in line with the usual custom for IPv6 addresses.



      RFC 4291:




      2.5.6.  Link-Local IPv6 Unicast Addresses

      Link-Local addresses are for use on a single link. Link-Local
      addresses have the following format:

      | 10 |
      | bits | 54 bits | 64 bits |
      +----------+-------------------------+----------------------------+
      |1111111010| 0 | interface ID |
      +----------+-------------------------+----------------------------+






      share|improve this answer

























        up vote
        11
        down vote



        accepted










        The address space allocated to link-local addresses is fe80::/10, but the next 54 bits are defined to be all zeroes, so the effective range is fe80::/64. Which puts it in line with the usual custom for IPv6 addresses.



        RFC 4291:




        2.5.6.  Link-Local IPv6 Unicast Addresses

        Link-Local addresses are for use on a single link. Link-Local
        addresses have the following format:

        | 10 |
        | bits | 54 bits | 64 bits |
        +----------+-------------------------+----------------------------+
        |1111111010| 0 | interface ID |
        +----------+-------------------------+----------------------------+






        share|improve this answer























          up vote
          11
          down vote



          accepted







          up vote
          11
          down vote



          accepted






          The address space allocated to link-local addresses is fe80::/10, but the next 54 bits are defined to be all zeroes, so the effective range is fe80::/64. Which puts it in line with the usual custom for IPv6 addresses.



          RFC 4291:




          2.5.6.  Link-Local IPv6 Unicast Addresses

          Link-Local addresses are for use on a single link. Link-Local
          addresses have the following format:

          | 10 |
          | bits | 54 bits | 64 bits |
          +----------+-------------------------+----------------------------+
          |1111111010| 0 | interface ID |
          +----------+-------------------------+----------------------------+






          share|improve this answer












          The address space allocated to link-local addresses is fe80::/10, but the next 54 bits are defined to be all zeroes, so the effective range is fe80::/64. Which puts it in line with the usual custom for IPv6 addresses.



          RFC 4291:




          2.5.6.  Link-Local IPv6 Unicast Addresses

          Link-Local addresses are for use on a single link. Link-Local
          addresses have the following format:

          | 10 |
          | bits | 54 bits | 64 bits |
          +----------+-------------------------+----------------------------+
          |1111111010| 0 | interface ID |
          +----------+-------------------------+----------------------------+







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 30 at 22:23









          ilkkachu

          54k782147




          54k782147
























              up vote
              0
              down vote













              FE80::/64 includes 2^48 Ethernet addresses and some other link-level derived combinations, but not necessarily all types. The /10 allows for future expansion of new types not yet defined.






              share|improve this answer








              New contributor




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






















                up vote
                0
                down vote













                FE80::/64 includes 2^48 Ethernet addresses and some other link-level derived combinations, but not necessarily all types. The /10 allows for future expansion of new types not yet defined.






                share|improve this answer








                New contributor




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




















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  FE80::/64 includes 2^48 Ethernet addresses and some other link-level derived combinations, but not necessarily all types. The /10 allows for future expansion of new types not yet defined.






                  share|improve this answer








                  New contributor




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









                  FE80::/64 includes 2^48 Ethernet addresses and some other link-level derived combinations, but not necessarily all types. The /10 allows for future expansion of new types not yet defined.







                  share|improve this answer








                  New contributor




                  MR.X 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






                  New contributor




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









                  answered Nov 23 at 14:59









                  MR.X

                  1




                  1




                  New contributor




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





                  New contributor





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






                  MR.X 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



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f420814%2flinux-assigns-an-fe80-64-address-to-an-interface-shouldnt-that-be-fe80-10%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

                      Entries order in /etc/network/interfaces

                      新発田市

                      Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)