Figure 6-5 Conversion of
Decimal 20 to Binary
Step
1
|
20
|
0
|
|
|
|
|
|
|
|
20
< 128
|
– 0
|
128
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Step
2
|
20
|
|
0
|
|
|
|
|
|
|
20
< 64
|
– 0
|
|
64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Step
3
|
20
|
|
|
0
|
|
|
|
|
|
20
< 32
|
– 0
|
|
|
32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Step
4
|
20
|
|
|
|
1
|
|
|
|
|
20
NOT < 16
|
– 16
|
|
|
|
16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Step
5
|
4
|
|
|
|
|
0
|
|
|
|
4
< 8
|
– 0
|
|
|
|
|
8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Step
6
|
4
|
|
|
|
|
|
1
|
|
|
4
NOT < 4
|
– 4
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
|
|
|
|
|
Step
7
|
0
|
|
|
|
|
|
|
0
|
|
0
< 2
|
– 0
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
|
|
|
|
|
Step
8
|
0
|
|
|
|
|
|
|
|
0
|
0
< 1
|
– 0
|
|
|
|
|
|
|
|
1
|
|
|
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0
|
0
|
0
|
1
|
0
|
1
|
0
|
0
|
|
|
|
|
|
|
|
|
|
|
Answer: 20 = 00010100
Addressing Types of Communication: Unicast,
Broadcast, Multicast
In an IPv4 network, the hosts can
communicate in one of three different ways:
■
Unicast: The process of sending a packet from
one host to an individual host
■
Broadcast: The process of sending a packet from
one host to all hosts in the network
■
Multicast: The process of sending a packet from
one host to a selected group of hosts
Each
of these three types supports different types of communication in the data
networks and uses different IPv4 destination addresses. In all three cases, the
IPv4 address of the originating host is placed in the packet header as the
source address.
Unicast
Communication and Addresses
The
most common type of communication is unicast. This is the normal host-to-host
com-munication in both a client/server and a peer-to-peer network. For unicast
communication, the host addresses assigned to the two end devices are used as
the source and destination IPv4 addresses. During the encapsulation process,
the source host places its IPv4 address in the
unicast packet header as the source host address and the IPv4 address of the
destination host in the packet header as the destination address. The
communication using a unicast packet can be forwarded through an internetwork
using the same addresses.
Figure
6-6 shows an example of IPv4 unicast communication from computer A with the
address 172.16.4.1 to the printer with the address 172.16.4.253. In the communication
rep-resented, computer A creates a single packet addressed to the Layer 3
address of the printer. This packet is then forwarded by the services at the
lower layers to the printer. If a copy of this packet should arrive at an end
device whose address does not match this address, that host will discard the
packet.
Figure 6-6 Unicast
Communication
Source: 172.16.4.1
Destination: 172.16.4.253
A
|
|
|
|
|
172.16.4.1
|
B
|
C
|
172.16.4.253
|
|
|
|
|
||
|
172.16.4.2
|
172.16.4.3
|
|
|
Note
In this book, all communication
between devices is unicast communication unless otherwise noted.
wah keren, boleh ni ajarin bahasa inggrisnya hehe salam kenal dari pontianak
BalasHapusTerimakasih atas komentar dan kunjungan kamu Thariqal Mustaqim :))
Hapus