Click to See Complete Forum and Search --> : Linksys Router and Static IP's
smormando
February 14th, 2002, 03:54 PM
I know there have been similar posts, but I haven't found exactly what I'm looking for. It sounds like a simple problem, but I'm trying to set up static IP's for the hosts I have connected to my Linksys router.
It's a cable connection and the router is set up for DHCP, so the router automatically finds the IP info from the cable company. What I want to do is set up the hosts to have static IP's. This makes port forwarding a lot easier so that my IP isn't changing depending on who boots up first on the network.
I've tried using the static routing tab in the set up, but maybe I'm using it wrong. I made an IP address, and subnet mask. Then I set the gateway to be the address of the router, which I thought was correct. I also set tried setting the hops to 1 and 2, neither of which worked. I also set up the corrsponding info on the host (instead of "Obtain IP address automatically"). Any ideas?
------------------
P3-800
384 PC133
(3) 40 GB removable HD's
64MB GeForce3
Soundblaster X-Gamer 5.1
Win2K/Win ME/Linux
Go Devils!
jdc2000
February 14th, 2002, 04:04 PM
On the Router, set DHCP to Disabled, and set the LAN IP Address to xxx.xxx.xxx.1 for your subnet. Then use this address as the Gateway address on the PC's attached to the router. You will have to re-boot each PC after you change its IP address. This should work.
Private IP address ranges commonly used:
10.x.x.x
192.168.x.x
smormando
February 14th, 2002, 04:18 PM
Thanks for getting back to me, jdc2000. I'm pretty sure that's what I tried, but I wasn't able to get a network connection from that setup. For example, I'd set up my PC to use
IP address: 192.168.1.100
subnet mask: 255.255.255.0
gateway 192.168.1.1.
I fill in the same info on the router for the first static IP address.
LAN IP: 192.168.1.1
subnet mask: 255.255.255.0
hops: 1/2
I did also disable DHCP.
------------------
P3-800
384 PC133
(3) 40 GB removable HD's
64MB GeForce3
Soundblaster X-Gamer 5.1
Win2K/Win ME/Linux
Go Devils!
jdc2000
February 14th, 2002, 04:28 PM
It looks like you can get into the router setup using static IP addresses from your PC's, so the PC's are seeing the router. Have you setup the DNS server IP addresses and/or any other info (domain, host) that your ISP requires on the host PC's and/or router?
smormando
February 14th, 2002, 04:46 PM
The router gets any DNS (which I don't think the provider uses) and IP info automatically through DHCP. If you go to the "Status" tab in the router setup, you can see all of the info in there from the ISP. The host PC's shouldn't need any of the ISP's info since the router is providing it the services. I agree that it does sound like a problem in the router setup as opposed to the hosts themselves. I was just kind of hoping someone who has a Linksys router would have gone through this same procedure and had some trick they needed to do. Logically, it sounds to me like I did everything correctly. I'm not really sure what I'm missing. I have another friend who has the same router and he couldn't get it working either.
------------------
P3-800
384 PC133
(3) 40 GB removable HD's
64MB GeForce3
Soundblaster X-Gamer 5.1
Win2K/Win ME/Linux
Go Devils!
Sarrkazztic
February 14th, 2002, 06:32 PM
Thinking that when you disable dhcp in the router then it is no longer supplying any information to the machines...so you would have to supply the dns information to your computers manually....I am going to be trying this setup tomorrow morning with my linksys router and will post my results
------------------
Come see me here (http://www.forums.amazingtechs.com/cgi-bin/ikonboard/ikonboard.cgi)
My personal page (http://www.amazingpcsolutions.com/~mr.kazztic)
DrMDJ
February 14th, 2002, 06:40 PM
Sarr (and JDC2000) are correct. When you go to static IP addresses then you have to manually input to each client PC the ip addresses of your ISP's DNS server(s). The router won't supply that info if it isn't doing DHCP for the clients (or, rather, the clients aren't set up for dynamic IP assignment an DHCP).
I forget whether the Linksys has it, but other routers allow you to set the router to assign specific IP addresses to clients based on MAC address (which effectively gives you static IPs on your local net). You then can urn DHCP on for the clients and have the best of both worlds.
------------------
Bookmark your post to make it easier to find.
And remember, please post back whether the problem is resolved or not.
[This message has been edited by DrMDJ (edited 02-14-2002).]
Sarrkazztic
February 14th, 2002, 07:13 PM
DrMdj....since you are far more knowledgeable in this area than I am can you do a little digging on that subject....I am still trying to figure out the situation of not being able to share files on MSN, ICQ or other messengers when both parties are using a router.....If I can figure this out it will help alot of people at several different help forums....
------------------
Come see me here (http://www.forums.amazingtechs.com/cgi-bin/ikonboard/ikonboard.cgi)
My personal page (http://www.amazingpcsolutions.com/~mr.kazztic)
sp agent
February 14th, 2002, 07:24 PM
heya sarrkazztic...
it seems though, that I am the only one to send/receive files through MSN while behind a LinkSys BEFSR41...
I've tried to help someone else out...after we got him able to send...he couldn't recieve...it was wierd...
I'll just post it again here.. http://quake.hypermart.net/natfw.doc
make sure the IP is in the DMZ (hence, you must have a static internal IP)
DrMDJ
February 14th, 2002, 08:06 PM
Refresh my memory Sarr. Did you ever set the router up to forward ports 6891-6900 to one of the local clients (to be used for file transfers)? I might add 6901, 1863, and 5190 to the list just for the heck of it.
Haven't really thought about this since we discussed it some time ago. Wasn't sure where you ended up in trying to get it to work. I do know there have been know issues sighted with MSNs ability to handle the NAT headers. Somewhere I think I say that version 4.6 was suppose to work with NAT. Also the Universal Plug and Play stuff in conjunction with the Messenger that comes with XP is suppose to resolve some of these issues. But then again there's likely a firmware update needed to get it to support UPNP on the router end.
------------------
Bookmark your post to make it easier to find.
And remember, please post back whether the problem is resolved or not.
[This message has been edited by DrMDJ (edited 02-14-2002).]
sp agent
February 14th, 2002, 09:44 PM
I'm using 4.5 MSN and firmware 1.42 (I think, how to tell?)
like I said...no problems..even when person at other end has BEFSR41
DrMDJ
February 15th, 2002, 05:10 AM
Well Linksys did claim that 1.42.3 was suppose to fix some issues with MSN. I believe Sarrkazztic has that version though. So it might be the version of MSN (in conjunction with the firmware version). UPNP is probably the key (which 1.41 and up) added support for).
sp_agent, are you using DMZ or opening/forwarding specific ports?
PS. I appreciate the compliment/confidence Sarr. But I don't/haven't really dealt with file transfer (MSN/ICQ or otherwise) stuff for myself or clients. So you've done more with it directly than I.
PSS. I guess we shouldn't be hijacking this thread like this. Sorry!
------------------
Bookmark your post to make it easier to find.
And remember, please post back whether the problem is resolved or not.
[This message has been edited by DrMDJ (edited 02-15-2002).]
Daufuski
February 15th, 2002, 05:12 AM
I had the same problem smormando. I have 4 comps behind the Linksys. All are set with static IPs
IP 192.168.1.100~104
SUB 255.255.255
GAT 192.168.1.1
DNS 192.168.1.1
With this configuration, leave DHCP enabled on the router (even though you won't technically need it) and set the start at 100. This way, you computers will still setup as static, but you will not have to enter DNS into the computer's tcp/ip information.
Also, and I don't know why, if you have SPI enabled, port forawarding seems to not work, at least for me. I don't know anything about ICQ or messenger.
...dauf
DrMDJ
February 15th, 2002, 05:44 AM
Yes, SPI disables port forwarding (or DMZ).
------------------
Bookmark your post to make it easier to find.
And remember, please post back whether the problem is resolved or not.
smormando
February 15th, 2002, 07:23 AM
Ok, here's an update. I did enter the DNS info on the host PC's, and it worked well. I now have static IP's on all hosts, and I do get my internet connection. Thanks for all the help, folks!
------------------
P3-800
384 PC133
(3) 40 GB removable HD's
64MB GeForce3
Soundblaster X-Gamer 5.1
Win2K/Win ME/Linux
Go Devils!