Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to open a port for my PC, so I assigned a static IP for it. When I try ipconfig cmd line I get the IP address I assigned, but when I check DHCP clients list in my router, I find a different dynamic IP. My router is TL-WR340G.I'm a complete noob, so I'm not sure if the way I used is correct, how can I fix that?

share|improve this question
2  
Have your router always assign the same ip, thus it the ip will become static, follow the directions for your router model. –  Ramhound Nov 14 '12 at 17:08
1  
If you switched the machine to static IP successfully, the entry in your router might just be it's memory of the machine (or does it state whether it is online or not?). Ramhounds suggestion is still good though, because that way you can manage everything in one place. –  TheUser1024 Nov 14 '12 at 17:13
add comment

2 Answers

up vote 1 down vote accepted

You need to setup a Static DHCP address. It looks like from reading through the manual the TL-WR340G calls this "Address Reservation."

From section 3.6.3 - Address Reservation of the TL-WR340G Manual:

To Reserve IP addresses:

  1. Click the Add New button. (Pop-up Figure 3-26)
  2. Enter the MAC address (The format for the MAC Address is XX-XX-XX-XX-XX-XX.) and IP address in dotted-decimal notation of the computer you wish to add.
  3. Click the Save button when finished.

You can find your MAC address in the Client List.

share|improve this answer
add comment
  1. Run ipconfig /all in cmd and write down the MAC address of your ethernet card (one with address given by you).
  2. Log on to your router and goto DHCP -> Address Reservation
  3. Click add and fill in your MAC address and IP that you set to your computer, set enabled and click Apply

That's it. Now, you can set on your PC to get address from DHCP and you'll get one you filled in.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.