Does 0.0.0.0/7 represent the same range as 1.0.0.0/8?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












The range of 0.0.0.0/7 is 0.0.0.0 - 1.255.255.255.

The range of 1.0.0.0/8 is 1.0.0.0 - 1.255.255.255.



AFAIK, 0.0.0.0/8 (0.0.0.0 - 0.255.255.255) is not usable. So, do these represent the same range practically?



ip route add 0.0.0.0/7 dev eth1 # 1
ip route add 1.0.0.0/8 dev eth1 # 2


Is the effect the same?










share|improve this question









New contributor




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















  • 1




    I get it now, but I suspect you should also read this.
    – Michael Hampton♦
    2 hours ago










  • @MichaelHampton +1 for the link. Edited the post.
    – Szymon Marczak
    1 hour ago














up vote
1
down vote

favorite












The range of 0.0.0.0/7 is 0.0.0.0 - 1.255.255.255.

The range of 1.0.0.0/8 is 1.0.0.0 - 1.255.255.255.



AFAIK, 0.0.0.0/8 (0.0.0.0 - 0.255.255.255) is not usable. So, do these represent the same range practically?



ip route add 0.0.0.0/7 dev eth1 # 1
ip route add 1.0.0.0/8 dev eth1 # 2


Is the effect the same?










share|improve this question









New contributor




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















  • 1




    I get it now, but I suspect you should also read this.
    – Michael Hampton♦
    2 hours ago










  • @MichaelHampton +1 for the link. Edited the post.
    – Szymon Marczak
    1 hour ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











The range of 0.0.0.0/7 is 0.0.0.0 - 1.255.255.255.

The range of 1.0.0.0/8 is 1.0.0.0 - 1.255.255.255.



AFAIK, 0.0.0.0/8 (0.0.0.0 - 0.255.255.255) is not usable. So, do these represent the same range practically?



ip route add 0.0.0.0/7 dev eth1 # 1
ip route add 1.0.0.0/8 dev eth1 # 2


Is the effect the same?










share|improve this question









New contributor




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











The range of 0.0.0.0/7 is 0.0.0.0 - 1.255.255.255.

The range of 1.0.0.0/8 is 1.0.0.0 - 1.255.255.255.



AFAIK, 0.0.0.0/8 (0.0.0.0 - 0.255.255.255) is not usable. So, do these represent the same range practically?



ip route add 0.0.0.0/7 dev eth1 # 1
ip route add 1.0.0.0/8 dev eth1 # 2


Is the effect the same?







networking routing ip cidr






share|improve this question









New contributor




Szymon Marczak 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 question









New contributor




Szymon Marczak 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 question




share|improve this question








edited 1 hour ago





















New contributor




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









asked 2 hours ago









Szymon Marczak

1085




1085




New contributor




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





New contributor





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






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







  • 1




    I get it now, but I suspect you should also read this.
    – Michael Hampton♦
    2 hours ago










  • @MichaelHampton +1 for the link. Edited the post.
    – Szymon Marczak
    1 hour ago












  • 1




    I get it now, but I suspect you should also read this.
    – Michael Hampton♦
    2 hours ago










  • @MichaelHampton +1 for the link. Edited the post.
    – Szymon Marczak
    1 hour ago







1




1




I get it now, but I suspect you should also read this.
– Michael Hampton♦
2 hours ago




I get it now, but I suspect you should also read this.
– Michael Hampton♦
2 hours ago












@MichaelHampton +1 for the link. Edited the post.
– Szymon Marczak
1 hour ago




@MichaelHampton +1 for the link. Edited the post.
– Szymon Marczak
1 hour ago










1 Answer
1






active

oldest

votes

















up vote
4
down vote



accepted










Clearly these are not the same.



However, nothing in 0.0.0.0/8 is a valid destination address, so the effect of each route would be the same. Attempts to connect to anything in 0.0.0.0/8 would just fail as always with an Invalid argument error, while attempts to connect to 1.0.0.0/8 would be routed as specified.






share|improve this answer




















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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
    );



    );






    Szymon Marczak is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f938713%2fdoes-0-0-0-0-7-represent-the-same-range-as-1-0-0-0-8%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    4
    down vote



    accepted










    Clearly these are not the same.



    However, nothing in 0.0.0.0/8 is a valid destination address, so the effect of each route would be the same. Attempts to connect to anything in 0.0.0.0/8 would just fail as always with an Invalid argument error, while attempts to connect to 1.0.0.0/8 would be routed as specified.






    share|improve this answer
























      up vote
      4
      down vote



      accepted










      Clearly these are not the same.



      However, nothing in 0.0.0.0/8 is a valid destination address, so the effect of each route would be the same. Attempts to connect to anything in 0.0.0.0/8 would just fail as always with an Invalid argument error, while attempts to connect to 1.0.0.0/8 would be routed as specified.






      share|improve this answer






















        up vote
        4
        down vote



        accepted







        up vote
        4
        down vote



        accepted






        Clearly these are not the same.



        However, nothing in 0.0.0.0/8 is a valid destination address, so the effect of each route would be the same. Attempts to connect to anything in 0.0.0.0/8 would just fail as always with an Invalid argument error, while attempts to connect to 1.0.0.0/8 would be routed as specified.






        share|improve this answer












        Clearly these are not the same.



        However, nothing in 0.0.0.0/8 is a valid destination address, so the effect of each route would be the same. Attempts to connect to anything in 0.0.0.0/8 would just fail as always with an Invalid argument error, while attempts to connect to 1.0.0.0/8 would be routed as specified.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 hours ago









        Michael Hampton♦

        160k26296601




        160k26296601




















            Szymon Marczak is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            Szymon Marczak is a new contributor. Be nice, and check out our Code of Conduct.












            Szymon Marczak is a new contributor. Be nice, and check out our Code of Conduct.











            Szymon Marczak is a new contributor. Be nice, and check out our Code of Conduct.













             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f938713%2fdoes-0-0-0-0-7-represent-the-same-range-as-1-0-0-0-8%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            Installing NextGIS Connect into QGIS 3?

            One-line joke