Solved

What is my IP?  -- behind a router

Posted on 2002-05-02
3
135 Views
Last Modified: 2010-05-02
my computer is attached to a router. the router is attached to a cable modem. i'd like to get the IP address obtained from the ISP, not the the local IP scheme (i.e. 192.168.0.x).

also, how can VB tell whether the puter's IP is from a local scheme or directly obtained from an ISP?

my application needs to know what the IP address from the ISP is whether or not it's attached to a router.
0
Comment
Question by:dbnewbie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Expert Comment

by:bobbit31
ID: 6987340
0
 
LVL 18

Accepted Solution

by:
bobbit31 earned 50 total points
ID: 6987353
actually this is probably what you want:

http://www.mvps.org/vbnet/index.html?code/internet/tracert.htm

i believe the ip you want is the second hop
0
 

Author Comment

by:dbnewbie
ID: 6987428
second hop? what if the router was connecter to another router?

i still have to take a look at the code. thanks.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
using Access 8 85
Hide vba in gp 7 118
Excel Automation VBA 19 104
adding "ungroup sheets" to existing vbs code 5 57
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question