Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Contradiction - XP vs Router

Status
Not open for further replies.

flashingswords

Technical User
Oct 24, 2006
8
GB
I'm trying to forward ports on a program I'm using.

I've set up a static ip address on my system.

Anyway, there seems to be a contradiction in what is stated in my XP (TCP/IP) Properties and what is stated in my router configuration. In XP (TCP/IP) Properties it states to use a set IP address and DNS servers. However, in the router, it says that the IP address will be obtained automatically and that the DNS configuration is dynamic too.

Presumably the router settings are overriding what my computer is set to and so my portforwarding efforts are in vain.
 
I logged into my router and saw that there was a static configuration option which I activated. I've rebooted the router, modem and computer but it doesn't seem to have made any difference to the program I'm trying to port forward.

Also, would my changing of the configuration have affected the connection of the other computers on the network?
 
I'm not sure what your question is since it wasn't clear.
How to forward ports or how t set static ips?

As for as setting static on your router i wouldn't do that because I'm assuming you have a router for more than one home computer.

Just set the computer's ip that is being forwarded to as static. Leave your router to hand out DHCP but its home network so leave it to only hand out a rang of 5-10 addresses and then put your static ip outside of that range on the same subnet.

Then forward the port to your static ip on your computer.

If it still doesnt work check windows firewall and make sure it isn't blocking and if so add exception.

Jake Chaffee
"There are 10 types of people in the world. Those who can read binary and those who can't."
 
Well, in order to forward ports for a program, one has to have a static ip address. So, they're one and the same thing right?

I'm just a bit confused about ip addresses; like I said earlier, in my XP (TCP/IP) properties it states to use a set IP address and DNS servers, but in the router config it says that the IP address will be obtained automatically and that the DNS configuration is dynamic too. Why does my computer have a static IP address if the router is using DHCP?

Yes, there are 4 computers on the network behind the router. I want to be able to forward ports for one program that I am using on one computer.
 
If you set the IP address, mask, gateway, and dns info manually (statically) in the pc, then it will ignore the router. When you set it all to dynamic, then it queries dhcp devices on its subnet (in this case, the router), and it forwards a DHCP-OFFER packet, the pc responds with a DHCP-ACK, the router responds, etc. So actually, with static settings, the pc is ignoring (not over riding) the router dhcp setup.

Burt
 
If my computer is ignoring my router, then why can't I forward the ports for the program I'm trying to use.
 
What ports do you want to forward to what, and what kind of router? Is this for outside access to your private IP scheme to a certain server (like FTP)? Does the router NAT?

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top