Configuring an IP network connection

These dialog boxes are from the Network Connections folder in the Windows XP Control Panel. The appearance of the dialog box for configuring a network connection would be different with another operating system, but it would have the same fields. (You might even edit a file rather than fill in a GUI form, but you would provide the same information).

If you have been given a static IP address, you must enter it and other parameters to connect your computer to the network. Your network administrator will give you the values of each connection parameter:
  • IP address: 155.135.222.111. A packet sent to that address from anywhere on the Internet will be routed to this machine
  • Subnet mask: 255.255.0.0. The first two bytes of the IP address (155.135) identify the network. The second two bytes (222.111) identify this machine on the network.
  • Default gateway: 155.135.100.1. This is the IP address of the router that sends and receives packets for this machine. It is the destination for the first "hop."
  • Preferred DNS server: 155.135.100.2. This is the DNS server TCP will use to look up the IP address corresponding to a domain name.
  • Preferred DNS server: 155.135.100.3. If the preferred DNS server cannot provide an IP address, this one will be used as a substitute. It is optional.
Many network administrators use dynamic IP address. In that case, the IP address and other connection parameters are automatically assigned when a connected computer is turned on. This is done dynamic host configuration protocol (DHCP) server on the network.

In this case, the user does not have to enter the connection parameters shown above.

As you see on the right, the network parameter entries are grayed out because the user has chosen to obtain IP and DNS server address automatically.

Dynamic IP addresses are more efficient since you can have more users than available IP address (as long as they are not all on line at the same time). They are also a little easier to set up.

The disadvantage is that you cannot assign a domain name to your IP address and enter it into the DNS. If you plan to run a server which other people will access, you would prefer your own static IP address.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.