Different ip address on different devices?












2















When using google and various other websites like https://www.whatismyip.com/ I've noticed that my ipv6 is different for my phone, on my laptop, and on my desktop but my ipv4 address stays the same.



Why isn't my ipv6 the same across all devices but my ipv4 is?



I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet and then each device gets assigned a local ip address?



Side note: Most of the time websites show me my ipv6 address when asking what my ip address is (which is different depending which device I use)



I just set up a website and it works using the ipv4 address, but if for some reason I lose the ipv4 address, which ipv6 address should I use, the one that's hosting the server?



My isp is xfinity.










share|improve this question


















  • 5





    "I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet" — it was never supposed to be this way. It's only the way it is with IPv4 due to the shortage of IPv4 addresses. In an ideal world (i.e., with IPv6), this is not needed. As for your website, are you not using a domain to access it?

    – slhck
    Jan 21 at 15:27











  • Not at this point no. So the router is assigning each device their own ipv6 addresses like they did back in the old days with ipv4?

    – user987938
    Jan 21 at 15:58











  • Yes. What that means for hosting depends on where you actually host your website. A device within your network?

    – slhck
    Jan 21 at 16:05











  • Yes it'll be a device within my network

    – user987938
    Jan 22 at 2:41
















2















When using google and various other websites like https://www.whatismyip.com/ I've noticed that my ipv6 is different for my phone, on my laptop, and on my desktop but my ipv4 address stays the same.



Why isn't my ipv6 the same across all devices but my ipv4 is?



I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet and then each device gets assigned a local ip address?



Side note: Most of the time websites show me my ipv6 address when asking what my ip address is (which is different depending which device I use)



I just set up a website and it works using the ipv4 address, but if for some reason I lose the ipv4 address, which ipv6 address should I use, the one that's hosting the server?



My isp is xfinity.










share|improve this question


















  • 5





    "I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet" — it was never supposed to be this way. It's only the way it is with IPv4 due to the shortage of IPv4 addresses. In an ideal world (i.e., with IPv6), this is not needed. As for your website, are you not using a domain to access it?

    – slhck
    Jan 21 at 15:27











  • Not at this point no. So the router is assigning each device their own ipv6 addresses like they did back in the old days with ipv4?

    – user987938
    Jan 21 at 15:58











  • Yes. What that means for hosting depends on where you actually host your website. A device within your network?

    – slhck
    Jan 21 at 16:05











  • Yes it'll be a device within my network

    – user987938
    Jan 22 at 2:41














2












2








2








When using google and various other websites like https://www.whatismyip.com/ I've noticed that my ipv6 is different for my phone, on my laptop, and on my desktop but my ipv4 address stays the same.



Why isn't my ipv6 the same across all devices but my ipv4 is?



I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet and then each device gets assigned a local ip address?



Side note: Most of the time websites show me my ipv6 address when asking what my ip address is (which is different depending which device I use)



I just set up a website and it works using the ipv4 address, but if for some reason I lose the ipv4 address, which ipv6 address should I use, the one that's hosting the server?



My isp is xfinity.










share|improve this question














When using google and various other websites like https://www.whatismyip.com/ I've noticed that my ipv6 is different for my phone, on my laptop, and on my desktop but my ipv4 address stays the same.



Why isn't my ipv6 the same across all devices but my ipv4 is?



I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet and then each device gets assigned a local ip address?



Side note: Most of the time websites show me my ipv6 address when asking what my ip address is (which is different depending which device I use)



I just set up a website and it works using the ipv4 address, but if for some reason I lose the ipv4 address, which ipv6 address should I use, the one that's hosting the server?



My isp is xfinity.







networking router browser ip






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 21 at 15:22









user987938user987938

132




132








  • 5





    "I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet" — it was never supposed to be this way. It's only the way it is with IPv4 due to the shortage of IPv4 addresses. In an ideal world (i.e., with IPv6), this is not needed. As for your website, are you not using a domain to access it?

    – slhck
    Jan 21 at 15:27











  • Not at this point no. So the router is assigning each device their own ipv6 addresses like they did back in the old days with ipv4?

    – user987938
    Jan 21 at 15:58











  • Yes. What that means for hosting depends on where you actually host your website. A device within your network?

    – slhck
    Jan 21 at 16:05











  • Yes it'll be a device within my network

    – user987938
    Jan 22 at 2:41














  • 5





    "I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet" — it was never supposed to be this way. It's only the way it is with IPv4 due to the shortage of IPv4 addresses. In an ideal world (i.e., with IPv6), this is not needed. As for your website, are you not using a domain to access it?

    – slhck
    Jan 21 at 15:27











  • Not at this point no. So the router is assigning each device their own ipv6 addresses like they did back in the old days with ipv4?

    – user987938
    Jan 21 at 15:58











  • Yes. What that means for hosting depends on where you actually host your website. A device within your network?

    – slhck
    Jan 21 at 16:05











  • Yes it'll be a device within my network

    – user987938
    Jan 22 at 2:41








5




5





"I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet" — it was never supposed to be this way. It's only the way it is with IPv4 due to the shortage of IPv4 addresses. In an ideal world (i.e., with IPv6), this is not needed. As for your website, are you not using a domain to access it?

– slhck
Jan 21 at 15:27





"I thought a ip address(s) is supposed to be shared across all devices using the same router to access the internet" — it was never supposed to be this way. It's only the way it is with IPv4 due to the shortage of IPv4 addresses. In an ideal world (i.e., with IPv6), this is not needed. As for your website, are you not using a domain to access it?

– slhck
Jan 21 at 15:27













Not at this point no. So the router is assigning each device their own ipv6 addresses like they did back in the old days with ipv4?

– user987938
Jan 21 at 15:58





Not at this point no. So the router is assigning each device their own ipv6 addresses like they did back in the old days with ipv4?

– user987938
Jan 21 at 15:58













Yes. What that means for hosting depends on where you actually host your website. A device within your network?

– slhck
Jan 21 at 16:05





Yes. What that means for hosting depends on where you actually host your website. A device within your network?

– slhck
Jan 21 at 16:05













Yes it'll be a device within my network

– user987938
Jan 22 at 2:41





Yes it'll be a device within my network

– user987938
Jan 22 at 2:41










1 Answer
1






active

oldest

votes


















5














IPv4 addresses are scarce. There are less than 4 billion addresses possible, while there are more people than that in the world. Therefore, your router allows multiple devices to share one IPv4 address. The downside is that the router need to keep track of who is talking with who. It will re-send all packets with translated addresses, which explains why all devices appear to have the IPv4 address of the router.



IPv6 is newer and designed to avoid this process altogether. Each device can have its own IPv6 address; you can easily get 4 billion IPv6 addresses just for yourself. The router may still keep track of connections, but it now only needs to do so for firewall reasons. There's no rewriting needed; packets that pass the firewall can be forwarded as-is.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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: 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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396662%2fdifferent-ip-address-on-different-devices%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    IPv4 addresses are scarce. There are less than 4 billion addresses possible, while there are more people than that in the world. Therefore, your router allows multiple devices to share one IPv4 address. The downside is that the router need to keep track of who is talking with who. It will re-send all packets with translated addresses, which explains why all devices appear to have the IPv4 address of the router.



    IPv6 is newer and designed to avoid this process altogether. Each device can have its own IPv6 address; you can easily get 4 billion IPv6 addresses just for yourself. The router may still keep track of connections, but it now only needs to do so for firewall reasons. There's no rewriting needed; packets that pass the firewall can be forwarded as-is.






    share|improve this answer




























      5














      IPv4 addresses are scarce. There are less than 4 billion addresses possible, while there are more people than that in the world. Therefore, your router allows multiple devices to share one IPv4 address. The downside is that the router need to keep track of who is talking with who. It will re-send all packets with translated addresses, which explains why all devices appear to have the IPv4 address of the router.



      IPv6 is newer and designed to avoid this process altogether. Each device can have its own IPv6 address; you can easily get 4 billion IPv6 addresses just for yourself. The router may still keep track of connections, but it now only needs to do so for firewall reasons. There's no rewriting needed; packets that pass the firewall can be forwarded as-is.






      share|improve this answer


























        5












        5








        5







        IPv4 addresses are scarce. There are less than 4 billion addresses possible, while there are more people than that in the world. Therefore, your router allows multiple devices to share one IPv4 address. The downside is that the router need to keep track of who is talking with who. It will re-send all packets with translated addresses, which explains why all devices appear to have the IPv4 address of the router.



        IPv6 is newer and designed to avoid this process altogether. Each device can have its own IPv6 address; you can easily get 4 billion IPv6 addresses just for yourself. The router may still keep track of connections, but it now only needs to do so for firewall reasons. There's no rewriting needed; packets that pass the firewall can be forwarded as-is.






        share|improve this answer













        IPv4 addresses are scarce. There are less than 4 billion addresses possible, while there are more people than that in the world. Therefore, your router allows multiple devices to share one IPv4 address. The downside is that the router need to keep track of who is talking with who. It will re-send all packets with translated addresses, which explains why all devices appear to have the IPv4 address of the router.



        IPv6 is newer and designed to avoid this process altogether. Each device can have its own IPv6 address; you can easily get 4 billion IPv6 addresses just for yourself. The router may still keep track of connections, but it now only needs to do so for firewall reasons. There's no rewriting needed; packets that pass the firewall can be forwarded as-is.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 21 at 16:03









        MSaltersMSalters

        7,36711725




        7,36711725






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1396662%2fdifferent-ip-address-on-different-devices%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

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            Origin of the phrase “under your belt”?