Professional Documents
Culture Documents
Lo2 Bi
Lo2 Bi
Lo2 Bi
TCP/IP services 2
Summary 15
Check your progress 15
1
TCP/IP services
3
For a client computer to be allocated an IP address, you will need to check
the option ‘Obtain an IP address automatically’ from the TCP/IP
Properties window as can be seen in Figure 2.
5
Windows Internet Naming Service
(WINS)
Figure 4 below shows how a user adds the IP address of the WINS server in
the Advanced TCP/IP Settings window from the WINS tab.
7
Domain Name Service (DNS)
The Domain Name Service (DNS) was introduced in 1984 when the Internet
was a relatively small network established by the US Defence Department
for research. DNS lets us use hierarchical, friendly names to easily locate
computers and other resources on a TCP/IP network that contains data
similar to the Yellow Pages.
A Fully Qualified Domain Name (FQDN) uniquely identifies where the host
is located within the DNS hierarchical tree by specifying a list of names
separated by dots on the path from the referenced host to the root server.
Figure 5 below shows an example of a DNS tree with a host called ‘legal’
within the ‘forth.com.’ domain. The FQDN for the host would be
legal.forth.com.
.Root
.forth
.legal
FQDN: legal.forth.com
Accredited registrars carry out registration, and each country has its own
controlling body. In Australia this is currently the Australian Domain
Names Authority (AuDA), which accredits local registrars such as
NetRegistry. Figure 6 below shows the IP address of the Domain Name
Server configured on the client computer.
9
Figure 6: Domain Name Server configuration on a client computer
Manual configuration
If you are required to manually configure your computer with an IP address,
you will need to have the following information to hand:
Your workstation’s IP address. This is the unique address that
identifies a particular computer on a TCP/IP network. This consists
of four numbers, separated by a dot, for example: 203.60.1.2.
Your network’s subnet mask for each network adapter on the
network. The subnet mask is a number mathematically applied to the
IP address that determines the network that the computer belongs to.
For example, given the subnet mask of 255.255.255.0 to the above
IP address 203.60.1.2, the net ID is 203.60.1.0 and the host ID is
0.0.0.2.
Your default gateway. The default gateway is a device that servers as
a router. If a default gateway is not specified, the computer is unable
to communicate with other devices outside its subnet, that is, outside
its own network.
The domain name server for the network. This is a computer that
serves as an Internet host and performs translation of Fully Qualified
Domain Names (FQDNs) into IP addresses.
11
Figure 7 shows manual configuration of an IP address, subnet mask, and
default gateway with preferred and alternate DNS servers.
Automatic configuration
For automatic configuration, a user just needs to check the ‘Obtain an IP
address automatically’ option in the Internet Protocol Properties window.
The DHCP server will then configure all the information without any input
from a user. The server will assign:
an IP address
subnet mask.
TCP/IP tools
Once TCP/IP has been configured, there are a few tools that can be used to
check to see if TCP/IP has been configured correctly on your computer.
IPCONFIG/ALL command
As you can see from Figure 8 above, the command IPCONFIG/ALL
displays all the current local TCP/IP configuration information, including:
the host name
MAC address of the network adapter as well as its brand and type
whether this interface has been configured to use DHCP
IP address of the host
subnet mask
default gateway
DHCP server
when an IP address was leased (obtained) and is due to expire.
13
PING
PING is a tool to determine the connectivity between two nodes. This
command is used from the command line, and as you can see from Figure 9,
you can use PING with the loopback address, 127.0.0.1 or the host’s own IP
address. You can also PING any other valid address of a host, on this or any
connected network.
NSLOOKUP
NSLOOKUP is a tool to determine whether DNS has been successfully
configured.
TRACERT
TRACERT displays the route taken by the Internet Control Message
Protocol (ICMP) to a remote host.
NETSTAT
NETSTAT displays the current connectivity information such as port
number and any connected ‘foreign’ IP address.
Once TCP/IP has been configured on a computer, there are various tools
that can be used to test the TCP/IP installation and configuration such as
IPCONFIG and PING.
When you feel ready, try the ‘Check your understanding’ activity in the
Preview section of this topic. This will help you decide if you’re ready for
assessment.
15