Discussion Locked

tcp/ip addresses

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i work on 2 networks on one i input tcp addresses into each computer to allow them to go online
on the other network the tcp address is get one automaticly how is this done and where does the computer recognise what port it is on and where does it get it from??

5 replies

by ann777

The network that is picking up ip addresses is doing so from a device acting as a DHCP server. ( see http://www.dhcp.org/ for more info )

This "device" can be a "server" or a broadband cable/dsl router. If DHCP is setup on a server then there'sa place within that service that allows administrators to setup a scope (or range) of ip addresses to use.

When you first start a client computer with a nic within, and within the network properties in control panel you've set the computer to obtain an ip address automatically, the computer will look for a DHCP server. If no DHCP server is found on the network, Windows will assign 169.254.x.x with a subnet mask of 255.255.0.0. If a DHCP server is found, then the request for an ip address is heard and a potential ip address is assigned within that scope.

by wayne r.

Answer 1 is correct but to give more info;

From a Windows NT / 2K / XP machine, go to a command prompt (C:\>)

Type IPCONFIG /ALL there will be an entry for your DHCP Server

Windows 9x = WINIPCFG

Type TRACERT XXX.XXX.XXX.XXX replace the Xs' with the IP number of the DHCP Server that you found with the last command.

You will then have the name and IP number of your DHCP Server. Just a case of tracking it down after that.

Hope this helps.

This discussion is closed to new replies.