Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Every time I restart my Laptop it changes my LOCAL IP from 192.168.1.102 to 192.168.1.105 or some other random number.

Is there a option for it to recognize my MAC and keep my local IP the same, I have to keep changing the opened ports for my port forwarding each restart.

( I don't need a static Public IP, I just need a static IP for my router to allow me to play games, or host websites ect.)

share|improve this question

closed as off topic by Nick, Su', John Conde Dec 10 '12 at 12:14

Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
This should be an option of your internet / router box. –  j0k Dec 10 '12 at 8:26
    
@j0k This doesn't have to do with the router which is assigning IP's with DHCP. He's asking about manually configuring the IP of his laptop. Though most routers do recognize your mac address and don't give away your IP that quickly. –  Anagio Dec 10 '12 at 10:37
1  
@Anagio well depends on the box. On my box I can associate a MAC address to a local IP. So, the machine will always has the same local IP -> i.stack.imgur.com/XLbpH.png –  j0k Dec 10 '12 at 10:42
    
@j0k what type of router do you have? –  Anagio Dec 10 '12 at 22:18
    
@Anagio I have a Linksys E3200. so I'm not sure how this helps my local IP not my public IP (eg 173.XXX.XXX.XXX) –  user20525 Dec 10 '12 at 22:27
show 4 more comments

2 Answers 2

This is a pretty lengthy article on how to set your IP on Windows XP, Vista, and 7. You'll need to set your IP and default gateway. DNS you can leave to pickup automatically.

http://www.howtogeek.com/howto/19249/how-to-assign-a-static-ip-address-in-xp-vista-or-windows-7/

Keep in mind if you take your laptop to another location with wifi for example you'll have to disable the static IP in your laptop and go back to DHCP. It takes a few seconds though to switch.

share|improve this answer
add comment

You can use manual address rather than using DHCP. The workflow depends on which operating system you are on. Linux and Mac you can use DHCP for other setting and manual address for IP number. I don't know about Windows, but I'm sure you can use manual address for windows to.

In Mac and Linux, just open your network setting and in Mac select use DHCP and manual addressing. In Linux network manager just enter your desired IP address.

share|improve this answer
add comment