Question

How do I find out the WAN ip address of the cable modem/dsl router?

Asked by: Peter08

Connection is like this:

internet/isp -> cable modem -> cable modem router -> internet network

 on the cable modem router, i need to know the default gateway to the internet? how do i find this out?

any suggestions would be helpful.

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
2005-01-09 at 20:40:27ID21267844
Tags

ip

,

find

,

wan

,

how

,

out

Topic

DSL Lines / Cable Internet

Participating Experts
10
Points
250
Comments
20

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. Difference between DSL modem and router
    I have to expose my ignorance. What is a DSL modem? The term sometimes seems to be used interchangeably for a router. Are they the same? I have DSL, but I do not have a "DSL Modem"--my telephone line merely plugs into my router and another line goes from the rou...
  2. Cable modem gives wrong ip to my routers wan port.
    Hello folks! How's life with you guys? Well mine could better, i have a really bad headache but anways let's get 2 tha point :) I have a COM21 Cable modem and i have cable internet ( www.zeelandnet.nl is my isp) and i have a sitecom DC201 cable router. I plugged the internet...

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: LydiardBPosted on 2005-01-09 at 22:33:06ID: 13000565

The best way of finding you WAP IP address is to go a website where your IP address is logged - but I can't think of one at the moment.

Alternatively, if you know how to read email headers you could send youself an email (and pick it up from a webaccount).  But none of that will help you at the moment, since I guess you question is more along the lines of "how do I set the router-up to get the modem working"...?

I'm confused by your diagram above.  Did you mean:

internet/isp -> cable modem -> cable modem router -> INTERNAL network    ???

In which case, your router should have an installation panel that you can reach through your web browser - typically 192.168.1.0 if you're getting it out of the box.  You can set up the cable-modem's connection parameters from there.  Can you be more specific about the steps you've taken and the problem you're trying to resolve?

 

by: nagravesPosted on 2005-01-09 at 23:46:21ID: 13000801

 

by: mohawk1Posted on 2005-01-10 at 05:06:28ID: 13002411

If your PC is set to obtain an ip address automatically, i.e DHCP, you should already obtained the default gateway address.  Just open a command prompt and type ipconfig/all if you are running 2000 on and winipcfg if you are on 95 or 98.  That will give you router default gateway address.  Then put it in your browser and connect to it.

Mohawk1

 

by: Fatal_ExceptionPosted on 2005-01-10 at 05:41:41ID: 13002630

First, the Internal Lan's default gateway is the Private IP address of the LAN side of the router..  In your case, this is usually 192.168.1.1.  Your router should be set to get the WAN Default Gateway dynamically from your ISP, and will show up in the Settings Page of your router's interface (this is the Linksys Router way).  If you are using Static addresses for your WAN connection, your ISP should give you all that information so you can hard code it into your router...

Just curious, why do you need these settings?  Are you trying to setup the router?

FE

 

by: bstrauss3Posted on 2005-01-10 at 06:13:01ID: 13002849

Connect to the settings or management page of the router.  (It's often something like http://192.168.1.1 or .0.1 or .0.254).

-----Burton

 

by: lbertaccoPosted on 2005-01-10 at 07:00:55ID: 13003319

Just go to: http://checkip.dyndns.org/
they will tell you WAN IP.

If you need to know your WAN ip in order to access your machines from outside, one good solution is through www.dyndns.org. This is a service that can be supported directly by the router and, if it's not, then there are clients available from dyndns. They give you a dynamic hostname that you can choose (for free). So after you have setup the service, you can have a name associated to your wan ip such as myrouter.homeip.net. And to know your IP (if you still need the numeric address) you can just do "nslookup myrouter.homeip.net".
Besides www.dyndns.org there are other sites that offer the same service.

 

by: Peter08Posted on 2005-01-10 at 19:53:25ID: 13010257

thanks all the response, I guessed i am not specific about the diagram.
the connection is like this.

internal network -> Netscreen 5 (VPN/Firewall device) -> Cable Modem/DSL -> Internet

Here is the history behind this:

I am configuring the Netscreen 5, and I need to put a default gateway ip pointing to the Cable Modem/DSL, and therefore
I need to know the static ip address of the upstream router. I am not sure which is the upstream (next hop) router of the Netcreen, is it the Cable modem (no sure if this is actually a router) or some upstream device. Regardless, I can
find this from the ISP which is fine.

The Cable modem connection currently is assigning a dynamic ip address to the internal network. I have to change the dyanmic ip to static ip through the ISP. They were asking if there is a bridging setup or straight-through. After I explained
the setup to them, looks like it is a straight through setup. I am not sure what this has to do on assigning a ip though.

I do have a question on NAT here. If I am using the company address space which is a routable addresses space  (134.x.x.x) behind the Netscreen 5, I am NOT doing NAT, is this correct? If I am using the Private address on the internal network such as
192.168.1.x, I need to configure NAT, am I correct on this?

Thanks all.


 

by: Fatal_ExceptionPosted on 2005-01-11 at 04:57:21ID: 13012998

Regardless, you are still using NAT unless you configure the Netscreen to act as a Bridge.  Why would you want to use Public IP's on your internal network?  Unless the public IPs are registered to you (that you are using internally), you will run into problems, and this is one of the reasons behind NATing your internal network...

In your case, I assume you the modem is acting as a bridge, then you will be using the router as a router and it will use NAT Transveral for your internal LAN.  If you are using Public IP's, you don't need the router, as a switch will do what you need it to do here...

FE

 

by: krankiePosted on 2005-01-12 at 01:49:42ID: 13022183

I have a very similar setup to yourself though with different hardware.  This solution may be useful if you cannot get the modem and router to work together with the modem in bridge mode.

This was a problem I had, so the gateway for my router is the IP address of my modem.  The modem deals with the IP handshaking with my ISP, and obtains all its settings from the ISP through DHCP.

ie. Modem - 192.168.0.1, Netmask 255.255.255.0

Router WAN side IP 192.168.0.2,  Netmask 255.255.255.0
Router LAN side IP 192.168.1.1, Netmask 255.255.255.0, Gateway 192.168.0.1, DHCP enabled

To help you further, can you specify please the make and model of your modem so that we can see if it can provide this setup.

 

by: krankiePosted on 2005-01-12 at 01:54:21ID: 13022204

I should have mentioned you will find it easier to configure a setup like this if you can configure your modem first by connecting a PC to it directly.  In many cases the default IP address is 192.168.0.1 as per my setup above, but it depends on the harware, hence my question above about the make and model.

Configure the modem to connect to the ISP, then when you are happy that is working, connect the modem to the WAN side of the router and the PC to one of the LAN ports in order to configure the router.

 

by: kabaamPosted on 2005-01-12 at 05:48:04ID: 13023698

>>>The Cable modem connection currently is assigning a dynamic ip address to the internal network. I have to change the dyanmic ip to static ip through the ISP. They were asking if there is a bridging setup or straight-through. After I explained
the setup to them, looks like it is a straight through setup. I am not sure what this has to do on assigning a ip though.

if your cable modem is setup as a bridge, you can assign a single static ip address given to you from the isp to your netscreen directly and the gateway will be the ISP router at their end (not on the modem).  

If your modem is setup as a router it will have an address assigned to it and you will need an additional subnet on the lan side to assign your netscreen a public ip address. Then your gateway will be the ip address assigned to the modem on the lan side.
Your isp could set you up with a 2-node subnet for this. This will create three networks at your site.  Modem to world....netscreen to modem...and your lan.
hth
K

 

by: Fatal_ExceptionPosted on 2005-01-12 at 06:31:53ID: 13024108

And, to find out what you have, just connect directly to the modem and see if you get a Public IP address.  If so, then the modem is acting as a bridge...  If you get a Private IP address on your computer, then it is acting as a Router..

 

by: bstrauss3Posted on 2005-01-12 at 06:41:29ID: 13024209

If the netscreen is configured for dynamic IP (which it should be unless the ISP has EXPLICITLY given you a static IP address), then it should be getting everything it needs from the dhcp server, including the next hop.

If you have a true static IP - FROM THE ISP - then ask them what address to use.

-----Burton

 

by: Peter08Posted on 2005-01-12 at 18:35:09ID: 13030833


>>>ie. Modem - 192.168.0.1, Netmask 255.255.255.0

Router WAN side IP 192.168.0.2,  Netmask 255.255.255.0
Router LAN side IP 192.168.1.1, Netmask 255.255.255.0, Gateway 192.168.0.1, DHCP enabled

I have a question about the Gateway 192.168.0.1, isn't this supposed to be a public ip since it is on
the WAN side?  



 

by: Fatal_ExceptionPosted on 2005-01-12 at 20:32:12ID: 13031355

192.168.0.1 is in the Private IP range...  With a subnet mask of 255.255.255.0, it will always be Private..

 

by: Fatal_ExceptionPosted on 2005-01-12 at 20:37:37ID: 13031377

In other words, that is the default gateway for your LAN...  not a router on the internet with a public address..  What you are running is 2 private subnets here, the 192.168.0.x and a 192.168.1.x, and your modem is acting as a router, meaning you have 2 inline routers here.  The best way to configure this setup would be to convert your Modem to a bridge, and let the router do its job as a router.

 

by: ridPosted on 2005-01-12 at 20:40:35ID: 13031395

The way you describe this it looks like the modem is actually a router - otherwise the router WAN side wouldn't get a private IP (192.168.0.2). Looks like you really need to find this out. The router is now set up to use 192.168.0.1 as internet gateway, which is fine if the modem is a router, too, and has this IP on its "inside".

As has been said here already, if you have a static, public IP from your ISP, they should have given you all the info on gateways, netmasks and such in the documentation for the agreement you have. If you haven't got any such info, I'd be prepared to bet you have a dynamic IP from your ISP. In that case  you don't need to do anything about gateways and such for your modem, because the IP that you use will be assigned together with all other values through DHCP or some equivalent. This, your dynamic IP, is held by the first router WAN side that you  have at your end. This may be a built-in router in the modem, or a separate router after the modem. As I said, it looks like you are using a modem with a built-in router as your Netscreen router has a private IP on its WAN side.
/RID

 

by: Fatal_ExceptionPosted on 2005-01-12 at 20:40:50ID: 13031399

BTW:  you can access the modem's configuration, can you not?

 

by: krankiePosted on 2005-01-13 at 01:57:41ID: 13032540

>>> I have a question about the Gateway 192.168.0.1, isn't this supposed to be a public ip since it is on
the WAN side?  

No the setup I described (which is the one I use) has the modem working as a router also, and it obtains the public gateway , IP address etc from the ISP by DHCP.  I couldnt get my two boxes to work together with the modem in bridge mode.

What is the make and model of your modem?  With that information we can establish which modes it can work in and how much it can be configured.

Going back to your original question, rid's comments are quite correct and should be the first thing we address.

Does your ISP provide dynamic IP allocation, or do you have a static IP address?  Their help desk should be able to answer this question for you.  If they have given you a static IP address they should also provide you with the gateway and DNS details that you need.
Most ISPs will only give you a static IP address if you have specifically requested one though, so the likely scenario is that you get IP dynamically via DHCP, in which case you don't need to configure the gateway information into the modem.  DHCP will give this information to the modem when you connect.

Your modem is likely to have a configuration page though which asks whether you are using dynamic or static IP allocation, so it is important to find out from your ISP which type you have.

 

by: JonShPosted on 2005-01-24 at 14:32:45ID: 13126561

Peter,  everyone here has provided value - and I'm going to lay out two possible proper network designs for you, only for the sake of clarity/simplicity:


(Internal Lan) <----------->(Netscreen 5)<--------------><DSL Modem>--------<Provider DSL Modem>-------<Provider Router>
           134.n.n.n But             NAT OFF             |-------------Public Address provided by your Provider------------------------|
           *ONLY* if the            FireWall ON         |-------------Static Address if they gave you an Address, Mask, and DNS---|
          company Owns it        DHCP OFF            |--------------Dynamic Address otherwise--------------------------------------|
                                            for LAN
                                            interface


(Internal Lan) <----------->(Netscreen 5)<--------------><DSL Modem>--------<Provider DSL Modem>-------<Provider Router>
          192.168.1.n             NAT ON               |-------------Public Address provided by your Provider------------------------|
                                        FireWall ON         |-------------Static Address if they gave you an Address, Mask, and DNS---|
                                        DHCP depends     |--------------Dynamic Address otherwise--------------------------------------|
                                          on how you
                                          want to manage
                                          addresses


Just for the sake of clarity, the DSL modems have no IP addresses (per se), since they are only layer 2 devices.  Some modems offer IP capability but frankly that just gets in the way, ususally - unless you have a true DMZ for some reason.

Jon

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...