Thomas’ Developer Blog

April 9, 2008

WRT54G2 Static IP configuration and reconfiguring router

Filed under: networking, Server — Tags: , , , , , , — sanzon @ 7:18 pm

Well this is sort of an add-on to my previous post on setting up a web server behind a router.

There are some issues with Linksys and their lack of a reconfigure router option.  First off before going into static IPs I’m going to briefly describe how to reset the modem so you can install it from scratch.

If you are in a situation where your router and modem no longer talk and have finally given p and decided to reconfigure your router, the first thing you HAVE to do is reset the router to factory default.  After being set to factory default you can go ahead and reinstall it correctly.  If you had recently reset your modem this could be why you are no longer connecting.  You have have restore the router to default, just install like normal.  If it brings up if you are replacing, just say you are, even though you aren’t.  Then after that let it go through.  Since you reset the router to default it should go through like a new install.  Now you are ready to setting up a static IP.

I assume you have a static IP already from your ISP.  If not, you will have to make a phone call or go online to get one.  They are typically free with higher end plans.  Which I highly recommend if you plan to setup a web server.

After you have your static IP in hand it’s time to configure your modem.  You will have to access your modem from behind your router.  Typically it should be 192.168.1.254 to access the modem.  You may have to access your manual on the modem if you have one.  If not just make a phone call, or look online if you don’t want to wait on hold.

Once you have your modem accessed you go into advanced setup/expert mode and find IP Passthrough. 

(NOTE: MAKE SURE YOU HAVE ALL THE IP INFO BEFORE YOU DO THIS!  Just go into the statis page on your router and write down the static IP, gateway, and other information.)

Now, you should see your router’s IP listed.  Select it and reset the modem!  Wait, and after it loads back up it may ask for a password.  You may have to type it in two or three times before it picks it up, since the modem may still be reseting at that point.

After that check to make sure you are online.  If you are no, you’ll have to trouble shoot the modem.  You will have to do a direct connection to the modem!  Going through the router may not work at that point.

Ok now that your router can access the public IP, you can go into the router setup and do a static IP configuration.  Click the drop down box on the first page and go from DHCP to Static IP.  And fill in the following:

Internet IP Address: Your Static IP
Subnet Mask: 255.255.255.0
Gateway: What your wrote down from your modem status page
Static DNS1: 192.168.1.254 (Or what you typed to access your modem)
Static DNS2-3: Leave blank

Now just save and go to the status page to see ifyou are showing an IP.  Then check to see if you have access to the internet!  If you do good!  If not, you’ll have to trouble shoot some.  Look at your gateway first, if your IP is something like.. 66.167.100.86 than try 66.167.100.1 for your gateway.  Otherwise it’s most likely a typo, or the IP passthrough isn’t working correct due to a problem with your modem.  You will have to attempt to figure it out online by looking up your modem model.  You can try calling your ISP, but they will probably turn you down since your connection is already working.

If you wish to learn about setting up a web server behind a router for the wrt54g2 look at my other blog post:

http://sanzon.wordpress.com/2008/04/04/setting-up-web-server-behind-router-wrt54g2/

About these ads

4 Comments »

  1. [...] WRT54G2 Static IP configuration and reconfiguring router [...]

    Pingback by Setting up web server behind router (WRT54G2) « Thomas’ Developer Blog — April 9, 2008 @ 7:21 pm

  2. reset linksys router…

    [...]WRT54G2 Static IP configuration and reconfiguring router « Thomas’ Developer Blog[...]…

    Trackback by reset linksys router — November 6, 2011 @ 3:19 pm

  3. I know this if off topic but I’m looking into starting my own blog and was curious what all is required to get setup? I’m assuming having a blog like yours would cost a pretty penny?

    I’m not very web savvy so I’m not 100% sure.
    Any suggestions or advice would be greatly appreciated. Cheers

    Comment by Eileen — June 4, 2013 @ 1:20 pm

  4. It’s in fact very complex in this active life to
    listen news on Television, therefore I just use the web for that purpose,
    and take the hottest information.

    Comment by how to configure best comcast best cable modem for mediacom — August 12, 2014 @ 3:19 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Silver is the New Black Theme. Create a free website or blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: