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.. 220.127.116.11 than try 18.104.22.168 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: