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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with assigning static IPs and DNS settings...

Status
Not open for further replies.

ryanman13

Technical User
Feb 26, 2003
4
US
i want to set static IPs to my computers. they all are running WinXP Home. they are on a network and have cable internet through a router. however, when i try to assign static IPs the internet connection disappears. i believe it is because i need to assign a DNS address. my question is, how do i find the correct DNS addresses so that the internet will still work?
 
Why do you want to use static ip? You can get the DNS addresses by going into a command prompt and type ipconfig /all

this will give you a list of all connections and all settings on each adapter.

Geoff
 
yes, it is a DHCP server. i want to use static IP so i can use port forwarding for each computer. I am trying to allow a program to use a specific port. however, it is actually using an extension or another program to use the port, and i cant figure out what the program is called.
thanks for your help.
 
Well as Trailman73 said, go to a command prompt and type Ipconfig /all.

This will give you all of your IP addresses. Take note of the DNS servers and what IP you are being assigned by your router. More than likely you are using 192.168.1.x/24. I assume that your router is using 192.168.1.1

If you want to statically assign your PC's you will need to keep them on this network, i.e.,

PC 1 192.168.1.2
PC 2 192.168.1.3, etc.,

Then enter the static IP addresses of your ISP's DNS servers and your gateway which should be the address of your router.

Hope this helps,

Patty [ponytails2]
 
I got it to work fine, thanks a lot all. that was exactly what i wanted.

just one question...
i set one to 192.168.1.105 and another to 192.168.1.106, but there is a laptop on the same network (wireless) that is still set to automatic. will it try to acquire these two specific IPs if the computers with them are turned off?
 
Ryanman13,

You can exclude those IP addresses from the range that your router is allowed to give out. Or just make your scope say from 192.168.1.2 thru 192.168.1.100. Then your router/dhcp will never give out .105 or .106.


Patty [ponytails2]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top