Static IP
Started by Pooch, May 05 2006 11:30 AM
9 replies to this topic
#1
Posted 05 May 2006 - 11:30 AM
All,
I was trying to setup a web server from my home PC. I have apache, mysql, and php installed. I now need to know how to change a dynamic IP to a static one. I have a Linksys router behind a cable modem, and I am trying to configure it so that my IP will stay "static". I have tried some things, but all attempts just knocked out my internet access. Below are screenshots of the Linksys router configuration menu.
Old Configuration
New Configuration
Router's IP: 192.168.1.1
My desired static IP: 192.168.1.2
Does the new configuration seem correct?
I was trying to setup a web server from my home PC. I have apache, mysql, and php installed. I now need to know how to change a dynamic IP to a static one. I have a Linksys router behind a cable modem, and I am trying to configure it so that my IP will stay "static". I have tried some things, but all attempts just knocked out my internet access. Below are screenshots of the Linksys router configuration menu.
Old Configuration
New Configuration
Router's IP: 192.168.1.1
My desired static IP: 192.168.1.2
Does the new configuration seem correct?
#2
Posted 05 May 2006 - 01:47 PM
erm.. your subnetmask should be "255.255.255.0" and you don't have any DNS server on your network do you?? 
other than I think it looks ok
other than I think it looks ok
#3
Posted 05 May 2006 - 05:07 PM
funkysoul, on May 5 2006, 01:47 PM, said:
erm.. your subnetmask should be "255.255.255.0" and you don't have any DNS server on your network do you?? 
other than I think it looks ok
other than I think it looks ok
When I went to change the subnetmask to "255.255.255.0", I got yelled at:
SubNetMask Error
Also, should I leave the Primary and Secondary DNS information blank?
#4
Posted 05 May 2006 - 06:08 PM
set it all to auotmatic
#5
Posted 05 May 2006 - 06:12 PM
You mean dynamic? I'm trying to get a static IP so I can use it as a web server.
#6
Posted 08 May 2006 - 06:12 PM
Ummm......I know quite a bit about networking so maybe I can help.
Are you trying to get your wan ip static or lan ip static?
----The difference-----
Wan-what people would type in to get to you
lan-local only this would only make your local ip static.
Your site can't be accesed by 192.168.1.2 except from on your lan.
If you want a static ip, that's up to your isp.
----The solution-----
If your wan ip is dynamic, which it probably, is go here.
http://www.dyndns.co...ces/dns/dyndns/
http://www.no-ip.com/services/managed_dns/...ynamic_dns.html
Your choose. Hope that helps and typing this in a rush, I might have made a mistake.
Good luck.
Oh, and if you need any help with setting up apache or something, or getting your site up to public, feel free to im me some time.
AIM: jbog91
MSN: jbog91@gmail.com
Are you trying to get your wan ip static or lan ip static?
----The difference-----
Wan-what people would type in to get to you
lan-local only this would only make your local ip static.
Your site can't be accesed by 192.168.1.2 except from on your lan.
If you want a static ip, that's up to your isp.
----The solution-----
If your wan ip is dynamic, which it probably, is go here.
http://www.dyndns.co...ces/dns/dyndns/
http://www.no-ip.com/services/managed_dns/...ynamic_dns.html
Your choose. Hope that helps and typing this in a rush, I might have made a mistake.
Good luck.
Oh, and if you need any help with setting up apache or something, or getting your site up to public, feel free to im me some time.
AIM: jbog91
MSN: jbog91@gmail.com
Edited by jbog91, 08 May 2006 - 06:15 PM.
#7
Posted 09 May 2006 - 08:53 AM
Like jbog says, it totally depends on what IP you want static... you have two IPs on your setup... your external IP (internet) and internal LAN IP (local). If you want a static internet IP and you currently have a dynamic one, you need to contact your ISP about it.
If you want to have a static LAN IP and not use DHCP, you need to shut off DHCP services on your router and manually assign the IP on your PC's nic.
Now, if you want people to externally be able to access your website from the net, you will also have to setup a forward on your router so that when the router is hit with an incoming connection on port 80, it forwards that connection to your PC's internal IP address, otherwise the router will just kill the connection.
Dan
If you want to have a static LAN IP and not use DHCP, you need to shut off DHCP services on your router and manually assign the IP on your PC's nic.
Now, if you want people to externally be able to access your website from the net, you will also have to setup a forward on your router so that when the router is hit with an incoming connection on port 80, it forwards that connection to your PC's internal IP address, otherwise the router will just kill the connection.
Dan
#8
Posted 09 May 2006 - 03:09 PM
Faken, on May 9 2006, 09:53 AM, said:
1) Like jbog says, it totally depends on what IP you want static... you have two IPs on your setup... your external IP (internet) and internal LAN IP (local). If you want a static internet IP and you currently have a dynamic one, you need to contact your ISP about it.
2) If you want to have a static LAN IP and not use DHCP, you need to shut off DHCP services on your router and manually assign the IP on your PC's nic.
3) Now, if you want people to externally be able to access your website from the net, you will also have to setup a forward on your router so that when the router is hit with an incoming connection on port 80, it forwards that connection to your PC's internal IP address, otherwise the router will just kill the connection.
Dan
2) If you want to have a static LAN IP and not use DHCP, you need to shut off DHCP services on your router and manually assign the IP on your PC's nic.
3) Now, if you want people to externally be able to access your website from the net, you will also have to setup a forward on your router so that when the router is hit with an incoming connection on port 80, it forwards that connection to your PC's internal IP address, otherwise the router will just kill the connection.
Dan
2) Actually, you don't need to cutoff dhcp services. Just set it to manual and set up your stuff.
3) And don't forget, the computer running the websever, if it has a firewall which is recommended, needs to have its firewall set like your router, you know, with the same exceptions for different services used.
#9
Posted 09 May 2006 - 05:47 PM
Thanks for all the help. I contacted my ISP (Optimum Online) and apparently they're not giving out static IP's.
Does anyone know of an alternative to having an at home website with a dynamic IP ISP?
Is there any DynamicDNS service / program that allows you to have a "normal" web address? (not www.mysite.theresite.com)
Does anyone know of an alternative to having an at home website with a dynamic IP ISP?
Is there any DynamicDNS service / program that allows you to have a "normal" web address? (not www.mysite.theresite.com)
#10
Posted 09 May 2006 - 08:28 PM
Yeah I know of one but it's not free.
http://www.dyndns.co...ces/dns/custom/
I'm sure that there are free ones but I don't know of any right now. I'm sure an extensive search on google will find you something. But I can help with the fees a bit, if you want to try this. I've never tried it though.
http://www.freedomai...ain_details.htm
Here's the main website. They also offer free hosting but that has nothing to do with what you want.
http://www.freedomainsite.com/
Hope this helps and if I can find a free dns service for what you want, I'll post it here.
Edit: Found one. I'll just keep adding to the list as I find them. All of them in the list will be free.
----- List -----
http://www.zoneedit.com/doc/dynamic.html?A...n-US%3Aofficial
If I find more, I'll post em but that one should do it.
http://www.dyndns.co...ces/dns/custom/
I'm sure that there are free ones but I don't know of any right now. I'm sure an extensive search on google will find you something. But I can help with the fees a bit, if you want to try this. I've never tried it though.
http://www.freedomai...ain_details.htm
Here's the main website. They also offer free hosting but that has nothing to do with what you want.
http://www.freedomainsite.com/
Hope this helps and if I can find a free dns service for what you want, I'll post it here.
Edit: Found one. I'll just keep adding to the list as I find them. All of them in the list will be free.
----- List -----
http://www.zoneedit.com/doc/dynamic.html?A...n-US%3Aofficial
If I find more, I'll post em but that one should do it.
Edited by jbog91, 09 May 2006 - 08:36 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
