How can I find the external IP address of my router if the router is a subnet of bigger LAN












4














I re-edit to simplify my question. My computer’s IP address is 192.168.1.10 and the router/gateway's IP is 192.168.1.1 (internal IP). I'm trying to find the external IP of my gateway or router. The router is connected to the ISP and id doesn't have a public IP, so that external IP should be a private IP. How can I find that external private IP?










share|improve this question
























  • so www.ifconfig.me/ip isn't what you want?
    – barlop
    Jun 3 '13 at 11:17










  • Try with traceroute (or hping in traceroute mode). With a bit of luck, you will see an answer from a private IP just before the connection enters the Internet, and that IP will be the one of the outside router.
    – LSerni
    Jun 3 '13 at 11:19










  • The router itself doesn't have the IP, A NI of the Router has an IP(and not a switches NI ports). On the LAN side of a home router, is a switch, just one IP 192.168.1.1 On the other side, if it's connected to your ISP it must be a WAN that end.. It's not designed for a LAN to be connected there. I haven't used more advanced routers though that allow LANs there, but if you're connected to your ISP, it's not designed to have a LAN there. It's meant to either connect straight to the wall(if the socket in your "home router" there is a telephone socket),(cont)
    – barlop
    Jun 3 '13 at 12:35












  • or straight to a modem, if the socket is an ethernet/RJ45 socket labelled WAN.
    – barlop
    Jun 3 '13 at 12:36










  • I think if it could connect a LAN on that side, then the Router's Administration IP(don't know what NI that'd be associated with), but that's show you the IPs of any port. On a regular home router, you have the switch ports which don't have IPs(the computers on them do). and the other side has an interface which gets an IP, but if it was a more professional router then that interface could be given an IP by the Router, and then, it'd show you what IP it is being given But also, even my home router tells me my internet ip address. If it was sent a private one(theoretically) it'd display that.
    – barlop
    Jun 3 '13 at 12:40
















4














I re-edit to simplify my question. My computer’s IP address is 192.168.1.10 and the router/gateway's IP is 192.168.1.1 (internal IP). I'm trying to find the external IP of my gateway or router. The router is connected to the ISP and id doesn't have a public IP, so that external IP should be a private IP. How can I find that external private IP?










share|improve this question
























  • so www.ifconfig.me/ip isn't what you want?
    – barlop
    Jun 3 '13 at 11:17










  • Try with traceroute (or hping in traceroute mode). With a bit of luck, you will see an answer from a private IP just before the connection enters the Internet, and that IP will be the one of the outside router.
    – LSerni
    Jun 3 '13 at 11:19










  • The router itself doesn't have the IP, A NI of the Router has an IP(and not a switches NI ports). On the LAN side of a home router, is a switch, just one IP 192.168.1.1 On the other side, if it's connected to your ISP it must be a WAN that end.. It's not designed for a LAN to be connected there. I haven't used more advanced routers though that allow LANs there, but if you're connected to your ISP, it's not designed to have a LAN there. It's meant to either connect straight to the wall(if the socket in your "home router" there is a telephone socket),(cont)
    – barlop
    Jun 3 '13 at 12:35












  • or straight to a modem, if the socket is an ethernet/RJ45 socket labelled WAN.
    – barlop
    Jun 3 '13 at 12:36










  • I think if it could connect a LAN on that side, then the Router's Administration IP(don't know what NI that'd be associated with), but that's show you the IPs of any port. On a regular home router, you have the switch ports which don't have IPs(the computers on them do). and the other side has an interface which gets an IP, but if it was a more professional router then that interface could be given an IP by the Router, and then, it'd show you what IP it is being given But also, even my home router tells me my internet ip address. If it was sent a private one(theoretically) it'd display that.
    – barlop
    Jun 3 '13 at 12:40














4












4








4


1





I re-edit to simplify my question. My computer’s IP address is 192.168.1.10 and the router/gateway's IP is 192.168.1.1 (internal IP). I'm trying to find the external IP of my gateway or router. The router is connected to the ISP and id doesn't have a public IP, so that external IP should be a private IP. How can I find that external private IP?










share|improve this question















I re-edit to simplify my question. My computer’s IP address is 192.168.1.10 and the router/gateway's IP is 192.168.1.1 (internal IP). I'm trying to find the external IP of my gateway or router. The router is connected to the ISP and id doesn't have a public IP, so that external IP should be a private IP. How can I find that external private IP?







networking wireless-networking router ip routing






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 29 '13 at 10:10









user2428118

296516




296516










asked Jun 3 '13 at 4:05









andio

146114




146114












  • so www.ifconfig.me/ip isn't what you want?
    – barlop
    Jun 3 '13 at 11:17










  • Try with traceroute (or hping in traceroute mode). With a bit of luck, you will see an answer from a private IP just before the connection enters the Internet, and that IP will be the one of the outside router.
    – LSerni
    Jun 3 '13 at 11:19










  • The router itself doesn't have the IP, A NI of the Router has an IP(and not a switches NI ports). On the LAN side of a home router, is a switch, just one IP 192.168.1.1 On the other side, if it's connected to your ISP it must be a WAN that end.. It's not designed for a LAN to be connected there. I haven't used more advanced routers though that allow LANs there, but if you're connected to your ISP, it's not designed to have a LAN there. It's meant to either connect straight to the wall(if the socket in your "home router" there is a telephone socket),(cont)
    – barlop
    Jun 3 '13 at 12:35












  • or straight to a modem, if the socket is an ethernet/RJ45 socket labelled WAN.
    – barlop
    Jun 3 '13 at 12:36










  • I think if it could connect a LAN on that side, then the Router's Administration IP(don't know what NI that'd be associated with), but that's show you the IPs of any port. On a regular home router, you have the switch ports which don't have IPs(the computers on them do). and the other side has an interface which gets an IP, but if it was a more professional router then that interface could be given an IP by the Router, and then, it'd show you what IP it is being given But also, even my home router tells me my internet ip address. If it was sent a private one(theoretically) it'd display that.
    – barlop
    Jun 3 '13 at 12:40


















  • so www.ifconfig.me/ip isn't what you want?
    – barlop
    Jun 3 '13 at 11:17










  • Try with traceroute (or hping in traceroute mode). With a bit of luck, you will see an answer from a private IP just before the connection enters the Internet, and that IP will be the one of the outside router.
    – LSerni
    Jun 3 '13 at 11:19










  • The router itself doesn't have the IP, A NI of the Router has an IP(and not a switches NI ports). On the LAN side of a home router, is a switch, just one IP 192.168.1.1 On the other side, if it's connected to your ISP it must be a WAN that end.. It's not designed for a LAN to be connected there. I haven't used more advanced routers though that allow LANs there, but if you're connected to your ISP, it's not designed to have a LAN there. It's meant to either connect straight to the wall(if the socket in your "home router" there is a telephone socket),(cont)
    – barlop
    Jun 3 '13 at 12:35












  • or straight to a modem, if the socket is an ethernet/RJ45 socket labelled WAN.
    – barlop
    Jun 3 '13 at 12:36










  • I think if it could connect a LAN on that side, then the Router's Administration IP(don't know what NI that'd be associated with), but that's show you the IPs of any port. On a regular home router, you have the switch ports which don't have IPs(the computers on them do). and the other side has an interface which gets an IP, but if it was a more professional router then that interface could be given an IP by the Router, and then, it'd show you what IP it is being given But also, even my home router tells me my internet ip address. If it was sent a private one(theoretically) it'd display that.
    – barlop
    Jun 3 '13 at 12:40
















so www.ifconfig.me/ip isn't what you want?
– barlop
Jun 3 '13 at 11:17




so www.ifconfig.me/ip isn't what you want?
– barlop
Jun 3 '13 at 11:17












Try with traceroute (or hping in traceroute mode). With a bit of luck, you will see an answer from a private IP just before the connection enters the Internet, and that IP will be the one of the outside router.
– LSerni
Jun 3 '13 at 11:19




Try with traceroute (or hping in traceroute mode). With a bit of luck, you will see an answer from a private IP just before the connection enters the Internet, and that IP will be the one of the outside router.
– LSerni
Jun 3 '13 at 11:19












The router itself doesn't have the IP, A NI of the Router has an IP(and not a switches NI ports). On the LAN side of a home router, is a switch, just one IP 192.168.1.1 On the other side, if it's connected to your ISP it must be a WAN that end.. It's not designed for a LAN to be connected there. I haven't used more advanced routers though that allow LANs there, but if you're connected to your ISP, it's not designed to have a LAN there. It's meant to either connect straight to the wall(if the socket in your "home router" there is a telephone socket),(cont)
– barlop
Jun 3 '13 at 12:35






The router itself doesn't have the IP, A NI of the Router has an IP(and not a switches NI ports). On the LAN side of a home router, is a switch, just one IP 192.168.1.1 On the other side, if it's connected to your ISP it must be a WAN that end.. It's not designed for a LAN to be connected there. I haven't used more advanced routers though that allow LANs there, but if you're connected to your ISP, it's not designed to have a LAN there. It's meant to either connect straight to the wall(if the socket in your "home router" there is a telephone socket),(cont)
– barlop
Jun 3 '13 at 12:35














or straight to a modem, if the socket is an ethernet/RJ45 socket labelled WAN.
– barlop
Jun 3 '13 at 12:36




or straight to a modem, if the socket is an ethernet/RJ45 socket labelled WAN.
– barlop
Jun 3 '13 at 12:36












I think if it could connect a LAN on that side, then the Router's Administration IP(don't know what NI that'd be associated with), but that's show you the IPs of any port. On a regular home router, you have the switch ports which don't have IPs(the computers on them do). and the other side has an interface which gets an IP, but if it was a more professional router then that interface could be given an IP by the Router, and then, it'd show you what IP it is being given But also, even my home router tells me my internet ip address. If it was sent a private one(theoretically) it'd display that.
– barlop
Jun 3 '13 at 12:40




I think if it could connect a LAN on that side, then the Router's Administration IP(don't know what NI that'd be associated with), but that's show you the IPs of any port. On a regular home router, you have the switch ports which don't have IPs(the computers on them do). and the other side has an interface which gets an IP, but if it was a more professional router then that interface could be given an IP by the Router, and then, it'd show you what IP it is being given But also, even my home router tells me my internet ip address. If it was sent a private one(theoretically) it'd display that.
– barlop
Jun 3 '13 at 12:40










3 Answers
3






active

oldest

votes


















3














Try http://www.whatismyip.com/



This is what I always use when I need this info but cant access the modem.






share|improve this answer





















  • This won't help if the ISP is your gateway to the internet. For me whatismyip.com returns something like 79.25.147.39, but my routers IP is actually 10.192.23.58. This is because my ISP is running it's own NAT.
    – jnovacho
    Feb 13 '17 at 9:52



















0














I believe you are looking for the IP between the modem and the ISP, i.e. the external IP of the modem, not the external IP the router (The router is connected to the modem, perhaps in your case its internal). This isn't possible from your computer (traceroute will give you the private address), but you have a couple of choices.



1) Go to your default gateway on a browser and see if the WAN's private/CGN address is there.



2) Call your ISP (If you can get someone to ping your modem, you may have the same success as this guy)



3) Get a cable splitter* (may be illegal, but I mean if you don't go reading your neighbors stuff doesn't really matter, websites will always use https for sensitive information anyway), and then get a modem for that cable to turn it into ethernet, and then sniff that ethernet.



*Make sure the splitter/tap is read-only, and that the write port is plugged into your actual modem / wall cable!






share|improve this answer





























    0














    As you are looking for External IP of modem instead of IP address of router. So you can visit at http://whatsmyrouterip.com/, as whenever I have an issue related to IP I visit the website.






    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%2f602974%2fhow-can-i-find-the-external-ip-address-of-my-router-if-the-router-is-a-subnet-of%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









      3














      Try http://www.whatismyip.com/



      This is what I always use when I need this info but cant access the modem.






      share|improve this answer





















      • This won't help if the ISP is your gateway to the internet. For me whatismyip.com returns something like 79.25.147.39, but my routers IP is actually 10.192.23.58. This is because my ISP is running it's own NAT.
        – jnovacho
        Feb 13 '17 at 9:52
















      3














      Try http://www.whatismyip.com/



      This is what I always use when I need this info but cant access the modem.






      share|improve this answer





















      • This won't help if the ISP is your gateway to the internet. For me whatismyip.com returns something like 79.25.147.39, but my routers IP is actually 10.192.23.58. This is because my ISP is running it's own NAT.
        – jnovacho
        Feb 13 '17 at 9:52














      3












      3








      3






      Try http://www.whatismyip.com/



      This is what I always use when I need this info but cant access the modem.






      share|improve this answer












      Try http://www.whatismyip.com/



      This is what I always use when I need this info but cant access the modem.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Aug 29 '13 at 9:42









      user249544

      392




      392












      • This won't help if the ISP is your gateway to the internet. For me whatismyip.com returns something like 79.25.147.39, but my routers IP is actually 10.192.23.58. This is because my ISP is running it's own NAT.
        – jnovacho
        Feb 13 '17 at 9:52


















      • This won't help if the ISP is your gateway to the internet. For me whatismyip.com returns something like 79.25.147.39, but my routers IP is actually 10.192.23.58. This is because my ISP is running it's own NAT.
        – jnovacho
        Feb 13 '17 at 9:52
















      This won't help if the ISP is your gateway to the internet. For me whatismyip.com returns something like 79.25.147.39, but my routers IP is actually 10.192.23.58. This is because my ISP is running it's own NAT.
      – jnovacho
      Feb 13 '17 at 9:52




      This won't help if the ISP is your gateway to the internet. For me whatismyip.com returns something like 79.25.147.39, but my routers IP is actually 10.192.23.58. This is because my ISP is running it's own NAT.
      – jnovacho
      Feb 13 '17 at 9:52













      0














      I believe you are looking for the IP between the modem and the ISP, i.e. the external IP of the modem, not the external IP the router (The router is connected to the modem, perhaps in your case its internal). This isn't possible from your computer (traceroute will give you the private address), but you have a couple of choices.



      1) Go to your default gateway on a browser and see if the WAN's private/CGN address is there.



      2) Call your ISP (If you can get someone to ping your modem, you may have the same success as this guy)



      3) Get a cable splitter* (may be illegal, but I mean if you don't go reading your neighbors stuff doesn't really matter, websites will always use https for sensitive information anyway), and then get a modem for that cable to turn it into ethernet, and then sniff that ethernet.



      *Make sure the splitter/tap is read-only, and that the write port is plugged into your actual modem / wall cable!






      share|improve this answer


























        0














        I believe you are looking for the IP between the modem and the ISP, i.e. the external IP of the modem, not the external IP the router (The router is connected to the modem, perhaps in your case its internal). This isn't possible from your computer (traceroute will give you the private address), but you have a couple of choices.



        1) Go to your default gateway on a browser and see if the WAN's private/CGN address is there.



        2) Call your ISP (If you can get someone to ping your modem, you may have the same success as this guy)



        3) Get a cable splitter* (may be illegal, but I mean if you don't go reading your neighbors stuff doesn't really matter, websites will always use https for sensitive information anyway), and then get a modem for that cable to turn it into ethernet, and then sniff that ethernet.



        *Make sure the splitter/tap is read-only, and that the write port is plugged into your actual modem / wall cable!






        share|improve this answer
























          0












          0








          0






          I believe you are looking for the IP between the modem and the ISP, i.e. the external IP of the modem, not the external IP the router (The router is connected to the modem, perhaps in your case its internal). This isn't possible from your computer (traceroute will give you the private address), but you have a couple of choices.



          1) Go to your default gateway on a browser and see if the WAN's private/CGN address is there.



          2) Call your ISP (If you can get someone to ping your modem, you may have the same success as this guy)



          3) Get a cable splitter* (may be illegal, but I mean if you don't go reading your neighbors stuff doesn't really matter, websites will always use https for sensitive information anyway), and then get a modem for that cable to turn it into ethernet, and then sniff that ethernet.



          *Make sure the splitter/tap is read-only, and that the write port is plugged into your actual modem / wall cable!






          share|improve this answer












          I believe you are looking for the IP between the modem and the ISP, i.e. the external IP of the modem, not the external IP the router (The router is connected to the modem, perhaps in your case its internal). This isn't possible from your computer (traceroute will give you the private address), but you have a couple of choices.



          1) Go to your default gateway on a browser and see if the WAN's private/CGN address is there.



          2) Call your ISP (If you can get someone to ping your modem, you may have the same success as this guy)



          3) Get a cable splitter* (may be illegal, but I mean if you don't go reading your neighbors stuff doesn't really matter, websites will always use https for sensitive information anyway), and then get a modem for that cable to turn it into ethernet, and then sniff that ethernet.



          *Make sure the splitter/tap is read-only, and that the write port is plugged into your actual modem / wall cable!







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 27 '18 at 18:00









          Nicholas Pipitone

          1011




          1011























              0














              As you are looking for External IP of modem instead of IP address of router. So you can visit at http://whatsmyrouterip.com/, as whenever I have an issue related to IP I visit the website.






              share|improve this answer


























                0














                As you are looking for External IP of modem instead of IP address of router. So you can visit at http://whatsmyrouterip.com/, as whenever I have an issue related to IP I visit the website.






                share|improve this answer
























                  0












                  0








                  0






                  As you are looking for External IP of modem instead of IP address of router. So you can visit at http://whatsmyrouterip.com/, as whenever I have an issue related to IP I visit the website.






                  share|improve this answer












                  As you are looking for External IP of modem instead of IP address of router. So you can visit at http://whatsmyrouterip.com/, as whenever I have an issue related to IP I visit the website.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 18 '18 at 7:19









                  Alex Dac

                  1




                  1






























                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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%2f602974%2fhow-can-i-find-the-external-ip-address-of-my-router-if-the-router-is-a-subnet-of%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

                      flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                      Mangá

                      Eduardo VII do Reino Unido