Question about My WAN IP

This is a discussion on Question about My WAN IP within the Networking/Device Communication forums, part of the General Programming Boards category; hi My PC is connected to internet(cable internet) via router.I connected to this router and among other info it also ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    21

    Question about My WAN IP

    hi

    My PC is connected to internet(cable internet) via router.I connected to this router and among other info it also says that its WAN IP address is "Y.Y.Y.X".But when I run

    "traceroute www.google.com"

    it doesn't go trough the same subnet(*.X) that my WAN IP is in in order to reach its final destination.
    Why the heck traceroute didn't go trough system with Y.Y.Y.X IP?

    And if my router has my WAN IP then why am I not able to ping it?

    Can someone explain a bit?

    thank you

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Your gateway isn't necessarily on the same subnet as your router. As for not being able to ping it, most routers disable pinging from the WAN side. On Linksys routers, it's an option called 'Block WAN Request', I think.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    21
    Your gateway isn't necessarily on the same subnet as your router
    I'm not shure I understand this.Router has two NICs,one with 192.168.2.1 IP and the other with routable IP(which would be my WAN IP)
    So whenever I connect to the internet,the traffic goes trough router and thus trough NIC with my WAN IP?

    In any case,I always assumed that whenever I connect to the internet all the traffic will go trough the system that has my WAN IP(be it my router or some other system located at my ISP)?

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    It will go through the WAN IP, but it doesn't show up on the tracert.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  5. #5
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    a router only shows up on a tracert if it decrements the TTL and if it responds to icmp packets
    hello, internet!

  6. #6
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    in other words, your router is clear to all traffic, it's if "it's not even there"...
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 12:14 PM
  2. IP header "total length" vs. packet size
    By MK27 in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-04-2009, 06:45 AM
  3. Extracting WAN IP out of a SOCKET
    By apsync in forum Windows Programming
    Replies: 13
    Last Post: 10-04-2008, 02:38 PM
  4. Simple Socket Question
    By SourceCode in forum Linux Programming
    Replies: 2
    Last Post: 06-22-2003, 09:20 PM
  5. ip broadcasting
    By subdene in forum C++ Programming
    Replies: 1
    Last Post: 04-25-2003, 10:06 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21