Question

IP address of router?

Asked by: knowlton

I have a workstation and a laptop behind a router / firewall.

When I run ipconfig, the workstation comes up as:

192.168.0.101

The laptop comes up as:

192.168.0.100


~~~~~~~~~~~~~~~~~~~~~

I am trying to run a program called RealVNC  to connect to my home computer from work.

Does my router expose an IP address to the outside world, and how can I find out what it is?  I know that one of the functions of a router is you can have many computers behind the firewall but it looks like ONLY one IP address (the router does this).

I am clueless on this stuff...someone please help.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-02-20 at 09:56:49ID20892362
Tags

router

Topics

Miscellaneous Networking

,

Dynamic Host Configuration Protocol (DHCP)

,

Domain Name Service (DNS)

Participating Experts
8
Points
500
Comments
35

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. ipconfig
    I run Windows XP Pro on two laptops behind a linksys router. Since a certain time a strange situation occurs when running ipconfig. I get the ipconfig window only for a few seconds and then the windows closes. I can see that all the information is displayed but I have no ti...
  2. ROUTER IP
    My organization setup is like this: my system -:- router -:- firewall I need to know the router ip?? I did tracert to a site and it shows some ips. But among those there is no router IP. Help needed.
  3. Router assigns IP to PC but No Internet and Cannot "ipconfi…
    Using LinkSys BEFCMU10 Cable Modem with a LinkSys BEFSR41 Router. Two PCs are attached to the Router. Both were working, both were running Win 98. PCs do not "see" each other on purpose (not in same workgroup), they only shared the internet connection. Just upgr...
  4. RealVNC and multiple users with a firewall
    I'm a typical network rookie so this question maybe an easy one: A few users at work want to access server-based programs from home. I told them that they can remote in using remote desktop. They don't have Windows XP Professional though and I resorted to using RealVNC. Sinc...
  5. RealVNC and Routers
    Ok, here's my question: I have a customer with realvnc server on their computer. All of the defaults are set. They have an inside local address of 192.168.1.10 and an inside global address of 67.184.75.227. The customer had a Linksys Wireless router, but is directly cabled...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: knowltonPosted on 2004-02-20 at 09:58:32ID: 10414659

The workstation / laptop / router are all at home, btw.

 

by: PeteLongPosted on 2004-02-20 at 10:09:41ID: 10414763

Hi knowlton,
Runnig VNC through routers/Firewalls

If you are on the CONTROLLING computer and are behind a router you will need to open port 5900 TO the IP address of the CONTROLLED PC. (this is usually the external IP address of the router at the CONTROLLED end)

You will need to set the router at the CONTROLLED end to forward port 5900 traffic to the CONTROLLED IP address).

NB. VNC web traffic travells over ports 5800 to 5900

Why the different numbers?

VNC installs a mini web server that listens on ports 5800 to 5900, it does this because, if you need to control multiple PCs you can set so that the last two digits of the port number become the DISPLAY number (client number)

for example

machine 1 = 0 (thats port 5800) to connect type http://<public IP address>:5800
machine 2 = 1 (thats port 5801) to connect type http://<public IP address>:5801

Obviously at the CONTROLLED end the router/firewall must be set up to forward port 5800 to machine 1's IP address etc.

Why port 5900 then?

The APPLICATION uses this port


*****Links*****

Download RealVNC
http://www.realvnc.com/

Download TightVNC
http://www.tightvnc.com/

Connecting over the web Java VNC Viewer
http://www.realvnc.com/javavncviewer.html

PeteL

 

by: gigcoPosted on 2004-02-20 at 10:25:24ID: 10414892

Knowlton,
  It sounds like you are also wondering what the WAN IP address would be for you to connect to. This can be found in several ways, 1.) Connect to the router, open the configuration from the LAN side and see what the IP address is set as. (you will need to get into the router/firewall to open the necessary ports anyway), or you can use a simple resolution such as browsing to the website http://whatismyip.com which will read your ip address and display it on screen.
  Though don't forget to take into consideration that some businesses use multiple routers/firewalls to filter traffic. A tracert of an external IP will help you see how many devices you are routing through to get to the WAN.
  Follow Petes directions for the port opening. Some firewalls term this as Virtual Application Servers. Where you put the port of the incoming connection, then the internal IP address which is what you get from running an ipconfig command.
Hope this helps,

Gigco

 

by: knowltonPosted on 2004-02-20 at 10:26:14ID: 10414899

What if a port other than 5800 to 5900, say port 8700 for example?

Can I still force a connection, through VNC or someother way?

 

by: knowltonPosted on 2004-02-20 at 10:27:35ID: 10414915

My wife is at home and I had her run whatismyipaddress.com

This gave her an IP address.

Now what do I do?

 

by: knowltonPosted on 2004-02-20 at 10:31:11ID: 10414960

I know that a port is open for remote administration of the router.

This feature is enabled and I know what the port number is.

Can this help me?

(DLink router)

 

by: gigcoPosted on 2004-02-20 at 10:40:20ID: 10415021

Knowlton,
  VNC uses two different ports, though you can have functionality with just one. If you want to use 8700 then you would open that port on your firewall. Using VNC from the remote location you would enter the hosting computer (actually the firewalls) IP address then a colon and the display number. The display number would be 5900+n so 8700-5900= 2800.  So 2800 is the screen number you would be connecting to. Now with this one port you do not have the web functionality - so you must use the VNC viewer to access your hosting computer.

With the feature of remote administration of the router - that is to allow you to connect and change setting in the router - not to allow remote connections into the network. (Sorry if you already knew that and I misunderstood your last statement)

Gigco

 

by: knowltonPosted on 2004-02-20 at 10:47:34ID: 10415061

With the feature of remote administration of the router - that is to allow you to connect and change setting in the router - not to allow remote connections into the network. (Sorry if you already knew that and I misunderstood your last statement)


So if the router administration port is 8700....I cannot use that to connect via VNC?

 

by: gigcoPosted on 2004-02-20 at 10:55:35ID: 10415143

> So if the router administration port is 8700....I cannot use that to connect via
> VNC?

No, that is the port that will allow you to connect to the router and configure the device. Routers don't typically have a specified port that is used for remote applications to the INSIDE of the network (i.e. WAN to LAN). Though armed with your ip address and the admin port you can either use the web interface of the router config or possibly telnet into the device. Try connecting to your ip via http://<yourip>:8700 and see if you are prompted for a login. You are going to need some ports opened to enable VNC to work. And to do that you will need to get access to your router configuration.

Gigco

 

by: knowltonPosted on 2004-02-20 at 10:59:10ID: 10415167

http://<yourip>:8700

Does not work  (says page not found).

I am loathe to reveal the actual IP and Port number that I am using, due to security concerns, but I can only say that I have both of them and am unable to connect to the router.

 

by: gigcoPosted on 2004-02-20 at 11:04:40ID: 10415216

>I am loathe to reveal the actual IP and Port number that I am using, due to
>security concerns, but I can only say that I have both of them and am unable to
>connect to the router.

Don't ever post your ip in a forum - for "security concerns" it is important that you keep that information to yourself.

What D-Link router are you using, model? What you may want to do is go to http://support.dlink.com/ and see what the recommended method of accessing your DLink router is. It's possible that the web feature of accessing the router is disabled and needs to be turned on internally or using a data cable depending on the type of router you have. DLink does post all of their manuals on that website and that should give you the specifics for whatever model you have.

Gigco

 

by: knowltonPosted on 2004-02-20 at 11:07:17ID: 10415234

<quote>
It's possible that the web feature of accessing the router is disabled and needs to be turned on internally or using a data cable depending on the type of router you have
</quote>

I can double-check this...but pretty sure that this feature has indeed been enabled on the router, along with a port number (which is above 8000)

 

by: knowltonPosted on 2004-02-20 at 11:08:46ID: 10415242

I do not know the model.

It is a recent purchase (within the last year).  4 port wireless internet router is all I know.

My wife loves it cuz I bought a wireless NIC for her laptop and she can sit in bed and chat with her girlfriends on her laptop.  :)

 

by: ah_sonPosted on 2004-02-21 at 01:45:26ID: 10419000

OK . This is simple
(Home PC)----VNC---- (Office PC)

Install VNC in your home PC and connect to the Internet. If you are using static IP its good if not then too bad as you need this IP address. (go to command prompt and type ipconfig or winipcfg)

There are 2 ways
-----------------Connect to home from Office
1)Run VNC server on your home PC and initate VNC viewer from your office PC using the IP address of your internet connection. Key in the password you set when you activate the VNC server at your  home PC and you are connected.
-----------------Connect to Office from Office
2) Run VNC Listening viewer on your Office PC and right click on the VNC icon on the task bar and add client and key in IP address of home PC. Your home PC will be connected to your Office PC.

 

by: fifthelement80Posted on 2004-02-21 at 08:57:31ID: 10421031

please pay attention that 192.168.0.0/16 is a private IP class, so u would need a Public IP on your pc that u r gonna connect to using vnc (If u r not at the same subnet ! for example if u r @ work) first of all test your connection by pinging your home pc when u r @ work, if u can ping it then u can do anything else ! ;)
and for remote administration I recommend : www.radmin.com because of its performance is much better than vnc and is easy to use ;)
Regards

 

by: knowltonPosted on 2004-02-21 at 11:50:38ID: 10421999

Router is a DLink    DI-614+   (to answer an earlier question)

 

by: knowltonPosted on 2004-02-21 at 14:16:53ID: 10422496

I keep hearing about enabling "port forwarding"?????

 

by: knowltonPosted on 2004-02-21 at 15:04:31ID: 10422693

To recap, here is a diagram that shows what is happening:

http://www.knowltonfamily.com/connect_attempt.gif


Here are my current Virtual Server settings:

http://www.knowltonfamily.com/current_virtual_server.gif


Here is what is listed under "Firewall":

http://www.knowltonfamily.com/cur_firewall.gif
/connect_attempt.gif

 

by: fifthelement80Posted on 2004-02-21 at 15:06:45ID: 10422703

yes, u r ture, if your router has a Public IP number may be u can use port mapping or port forwarding for your goal, I describe the concept :


Your PC in Home--------Your router in Home-------------INTERNET--------------Your PC in your office
192.168.0.101                  192.168.0.1                                                            81.81.81.81
                                       80.80.80.80 (for example)                                       (for example)
                                             |
                                             |
                                      Public IP
now u want to connect to your PC @ home, because it doesnt have any public IPs you simply can not do it directly, u should do something else : config your router to map one of its ports to one specified port of your home PC. clear ?

it means that for example : port 8222 of your router is equal to port 1234 your home pc
                                               80.80.80.80:8222 == 192.168.0.101:1234

u can specify the details of port mappig, I dont know the IOS of your router and also dont know if your router does it or not. may u can find it on its manual.
I hope this could help a bit ;)

 

by: knowltonPosted on 2004-02-21 at 15:14:50ID: 10422743

I'm sorry....I am not sure I understand what you want me to do, exactly.

 

by: wolfkingPosted on 2004-02-21 at 18:27:38ID: 10423534

The key to your setting is to configure the firewall on your router. Therefore you need access to your router. Since most routers has web interface you can try this:

run ipconfig /all on your home pc to find its gateway ip, say it's 188.18. 0.1.
open a webbrower, in address bar type in: http://188.18.0.1 and hit enter.

If this pulls up a webpage from your DLink router then you can see what the firewall setting is and set up port fowarding etc if the router has that built in. Most do. Also you might need to put a port number after the above address. Refer to your router's manual for specific information.

 

by: knowltonPosted on 2004-02-21 at 21:14:30ID: 10424088

An update on this:

EVERYONE:

Yeah....I'll keep this question open for a while.

I did call MSN Broadband Support.

I don't know how much of what they told me is really TRUE....but here goes.

They said the DSL 1000 modem does not allow you to configure the firewall, etc.....because in the past attempts to do this have apparently FRIED the firmware....to the point where you cannot access it any longer, thus cannot even restore it to factory defaults once you trash it.

He gave me some options, none of which sound very appealing or worth the hassle.

He mentioned that Qwest has an Action Tec modem (model 1520 or 1524) that offers a workaround.  At some point during the setup you have to enter what the support peson called a "key code"

ActionTec modem config available at 192.168.0.1

First key code:  9436814@msndsl.net

Second key code:  6JSLtRVF4      (that was a lower-case T in the middle of all of that)

After doing this apparently you can enable the port forwarding BLAH BLAH BLAH

~~~~~~~~~~~~~~~~~~~~~~

He said that the ports necessary for VPN Tunneling were already OPEN on the DSL 1000 modem....but he doesn't know or cannot say what the port numbers are  (I asked).

~~~~~~~~~~~~~~~~~~~~

Also mentioned something he called "Legacy Qwest" modems that are sometimes available for sale on e-bay and the like.   Modem was a CISCO 678  (said make sure to get the  DMT  firmware???   and NOT the CAP.....whatever that means)


So, that is about it.


Goodnight everyone.



Tom

 

by: knowltonPosted on 2004-02-21 at 21:15:47ID: 10424092

For details see another similar thread I posted on EE:


http://www.experts-exchange.com/Networking/Q_20893409.html

 

by: knowltonPosted on 2004-02-21 at 21:57:34ID: 10424187

At this point.....I will consider alternatives to VNC, with the following requirements:

1)  Since my MSN POS DSL 1000 modem does not allow configuration, the alternative to RealVNC must work around this limitation  (not depend on port forwarding)
2)  Ideal solution would be freeware.  RealVNC has spoiled me.
3)  I will consider $50 or under, I assume will have a 2 site license so I can connect home to work, work to home.

I have used PC Anywhere in the past....and I suspect it would work....but would rather use freeware.  What can I say...I'm CHEAP!!!!

 

by: knowltonPosted on 2004-02-23 at 10:15:28ID: 10434161

EVERYONE:

Check this out:

http://www.subwolf.org/v2/articles.php?article=3


I haven't had a chance to try it yet.

 

by: jduggerPosted on 2004-03-15 at 13:55:46ID: 10601459

What Operating Systems are you running on the workstation and the Laptop?

 

by: knowltonPosted on 2004-03-15 at 13:59:35ID: 10601495

jdugger:

Just so you know.....I am moving to a new ISP / with a new DSL modem / router.


My OS is Windows XP Home on both the workstation and the laptop.


Tom

 

by: jduggerPosted on 2004-03-15 at 14:17:00ID: 10601634

This is very easy to do.

1. Give the Workstation a static ip. Give it 192.168.0.101 with a subnet mask of 255.255.255.0 and the default gateway 192.168.0.1

2. Next you need to log into the router. Open your web browser and in the address box type 192.168.0.1. A dialog box will open asking for a username and password. The username is admin and leave the password blank.

3. Once your inside the router, Click on the Advanced tab and on the left select DMZ. Give it the address 192.168.0.101.

4. Go to www.whatismyip.com. This will be you public ip. The 192.168.0.101 is your private ip.

5. Now you should be able to open realvnc and type in the public ip and be able to access your workstation from anywhere.

 

by: knowltonPosted on 2004-03-15 at 14:19:16ID: 10601655

Won't this be a problem if the modem does not allow port forwarding?

 

by: jduggerPosted on 2004-03-15 at 14:22:37ID: 10601680

You don't have to setup any port forwarding.

 

by: knowltonPosted on 2004-03-15 at 14:24:26ID: 10601700

When I get my new DSL modem I will try your suggestion!!!!!

Right now I am on Dial-up and am not going to bother.

Tom

 

by: jduggerPosted on 2004-03-15 at 14:26:03ID: 10601710

That would probably be a good idea.

 

by: vinaykawade123Posted on 2004-03-19 at 02:26:31ID: 10631883

Your router has a public IP. The other PCs are on the internal network have private IP.
Let the routers public       IP be 77.77.77.77 and the private IPs of the internal PCs be 10.10.10.2 and 10.10.10.3 . The router will also have an internal private IP say 10.10.10.1 .
If you are running a Web server on your internal machine , then the router will have to maintain a mapping of its own port number to internal PC's IP and port no.
So if the Webserver is running on 10.10.10.3 on port 8888, then the router will contain the following table;
                +-----------------------------------+
      | Port | Private IP | Private Port |
      +-----------------------------------+
      |  80  | 10.10.10.3 |    8888      |
      +-----------------------------------+

Any outside request comming on 77.77.77.77 on port 80 will be redirected to 10.10.10.3 at port 8888.
you can have multiple services running on multiple machines, yet it appears to be running on single machine.

This concept is called NATing (Network Address Translation).

 

by: bbusch04Posted on 2004-03-25 at 05:09:40ID: 10676555

If you would like to know the IP you are looking for, the easiest way is to call up your ISP and simply ask them.  

 

by: knowltonPosted on 2004-03-26 at 12:48:51ID: 10691055

Please do not post any more comments HERE.


My active question is now located at:

http://www.experts-exchange.com/Networking/Q_20929789.html


Thanks,

Tom

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...