Is there a way to give my PC a static IP address on my LAN?

archcommus

Diamond Member
Sep 14, 2003
8,115
0
76
I use a Linksys WRT54G with 2 wireless laptops and my PC, wired. I forward a lot of ports to my PC, but occasionally the IP addresses on the network get shuffled around and then my port forwardings don't work without going through and adjusting them all for the new address. Is there a way to tie my PC to a static address from the DCHP server so this doesn't happen, or should I switch to port triggering instead of port forwarding? I'm not even sure what that does.

Thanks.
 

skyking

Lifer
Nov 21, 2001
22,705
5,828
146
Go to 'my network places'> 'view network connections' > right click on network connection and select 'properties'
highlight 'Internet Protocol' select the properties button below, and manually configure the address.
It should not be shuffling IP's, but it happens.
Some routers let you reserve a DHCP assigned IP adddress for a specific MAC address.
Using the stock WRT54G firmware, you can't reserve an IP address using the MAC address;
with aftermarket firmware, you can.
 

tweekah

Senior member
Oct 23, 1999
990
0
76
WRT54G doesn't have DHCP reservation in firmware (not sure about dd-wrt). You can easily assign a static ip out of the DHCP address scope, 192.168.1.51 or higher on factory settings. Or can even assign within the scope but start high enough not to interfere.
 

jeece

Member
Mar 31, 2004
191
0
71
Yup, DD-WRT has this feature, I actually installed it last weekend (this feature was one of the main reason). :D So far I think it's a good firmware.
 

archcommus

Diamond Member
Sep 14, 2003
8,115
0
76
Thanks everyone. I could try third party firmware but I had a somewhat hard time getting this router to be steady and reliable and the stock 3.03.6 firmware seems good so I'm going to stick with it. I tried setting setting an IP address manually and then setting the rest of the values as well according to the Status page of the router but it just killed my connection. Maybe I just needed a disable/re-enable or something.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,545
422
126
In case of the Linksys the 3rd party firmware is actually better than the stock Firmware.

In any case if your Linksys DHCP (as an example) is set to "Dish" IPs betweem 192.168.1.10 to 192.168. 100, any number that not in this range (and iy is not used by the Router itself) can be assigned in a computer/s TCP/IP stack and it would stay this way "Forever".
 

Madwand1

Diamond Member
Jan 23, 2006
3,309
0
76
If you're having trouble with manual settings, I suggest changing it back to auto, and doing ipconfig /all in a command line once you're re-connected. Then reviewing the output and copying the minimum settings needed to get back on, with a distinct manual IP.
 

archcommus

Diamond Member
Sep 14, 2003
8,115
0
76
I checked the numbers from ipconfig /all, copied them over, and the connection worked. Before I was entering the wrong subnet mask and default gateway since I was copying them from the router's Status page which has different values than the ones for my machine. Thanks a lot!