Chapter 5 - TCP-IP Configuration Fundamentals
Chapter 5 - TCP-IP Configuration Fundamentals
32 16 8 4 2 1 = (41)10
1 0 1 0 0 1
64 32 16 8 4 2 1 = (76)10
1 0 0 1 1 0 0
128 64 32 16 8 4 2 1
= (255)10
1 1 1 1 1 1 1 1
Review of Numbering Systems
16 8 4 2 1
(30)10 =
1 1 1 1 0
(192)10 = 128 64 32 16 8 4 2 1
1 1 0 0 0 0 0 0
Review of Numbering Systems
8 4 2 1 8 4 2 1 = (29)16
1 0 1 0 0 1
8 4 2 1 8 4 2 1 = (4C)16
1 0 0 1 1 0 0
8 4 2 1 8 4 2 1
1 1 1 1 1 1 1 1
= (FF)16
Review of Numbering Systems
= 1 0 1 0 0 0 1 0
8 4 2 1
(B)16 =
1 0 1 1
(6CD)16
= 8 4 2 1 8 4 2 1 8 4 2 1
0 1 1 0 1 1 0 0 1 1 0 1
Review of Numbering Systems
(0100
(45)16 (69)10
0101)2
Review of Numbering Systems
addressing: IP address is
obtained automatically via
Dynamic Host Configuration
Protocol (DHCP).
Static addressing: the network
IP Address
addressing: IP address is
obtained automatically via
Dynamic Host Configuration
Protocol (DHCP).
Static addressing: the network
IP Address
Using either way, each device in a TCP/IP network must be
configured with an IP address and a subnet mask.
The IPv4 address is expressed in a four-part dotted decimal
format, such as:
192.168.1.3
Each decimal value is made up of 8 bits (1s and 0s), and there
are four decimal values, so 8 bits times 4 equals the 32-bit
address.
Since each of the decimal values is made up of 8 bits (for
example, the 192), we refer to each of the decimal values as an
octet (i.e. byte). There are four octets in an IP address.
Subnet Mask
Broadcast Address
A broadcast address is a reserved IP address whose Host ID is
(255).
The broadcast address is used by applications and hosts to
send a message to all hosts on a network.
For example the IP address 172.16.255.255 (Class B),
specifies all the hosts on a network whose ID is (172.16).
Thereby, any message sent to this IP address is broadcasted
to all the hosts on the network
IPv6: The new generation of IP addresses
Our entire discussion so far about TCP/IP is based on version 4 of
TCP/IP, known as IPv4.
Problem: The use of TCP/IP over the years has far exceeded
expectations, and we are running out of IP addresses !
Solution: TCP/IP has been redesigned, and the new version is
(IPv6).
How: IPv6 uses a 128-bit address scheme, which is divided into
eight hexadecimal values that are separated by a colon (:) as
shown in the following example:
65b3 : b834 : 45a3 : 0000 : 0000 : 762e : 0270 : 5224
TCP/IP Utilities
The following are some of the command-line TCP/IP utilities,
which are commonly used to test and troubleshoot TCP/IP
systems.
TCP/IP Description/Function
Utility
ipconfig View TCP/IP configuration information
ping Tests communication with another TCP/IP host
arp Displays and modifies the IP-to-Physical address
translation tables used by address resolution
protocol (ARP)
tracert Traces the communication path between two
TCP/IP Utilities: ipconfig