IP Addressing: Pengalamatan Host Pada Jaringan Tcp/Ip

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 15

IP Addressing

Pengalamatan host pada jaringan


TCP/IP
Format pada IP Address

• Each computer in a TCP/IP network must be given a unique


identifier, or IP address. This address, allows one computer to
locate another computer on a network.
• All computers also have a unique physical address, known as a
MAC (Media Access Control) address. These are assigned by the
manufacturer of the network interface card.
• An IP address is a 32-bit sequence of 1s and 0s
• To make the IP address easier to use, the address is usually written
as four decimal numbers separated by periods. For example, the IP
address 192.168.1.8 would be
11000000.10101000.00000001.00001000 in binary notation
• A router forwards packets from the originating network to the
destination network using the IP protocol. The packets must include
an identifier for both the source and destination networks
• Using the IP address of destination network, a router can deliver a
packet to the correct network.
• When the packet arrives at a router connected to the destination
network, the router uses the IP address to locate the particular
computer connected to that network.
• This system works in much the same way as the national postal
system. When the mail is routed, it must first be delivered to the post
office at the destination city using the zip code. That post office then
must locate the final destination in that city using the street address.
This is a two-step process.
• every IP address has two parts. One part
identifies the network where the system is
connected, and a second part identifies that
particular system on the network.
• As is shown Figure , each octet ranges from 0 to 255.
• Each one of the octets breaks down into 256 subgroups
and they break down into another 256 subgroups with
256 addresses in each.
• By referring to the group address directly above a group
in the hierarchy, all of the groups that branch from that
address can be referenced as a single unit.
• This kind of address is called a hierarchical
address, because it contains different levels.
• An IP address combines these two identifiers
into one number.
• This number must be a unique number, because
duplicate addresses would make routing
impossible.
• The first part identifies the system's network
address. The second part, called the host part,
identifies which particular machine it is on the
network.
Kelas-kelas IP Address

• IP addresses are divided into classes to


define the large, medium, and small
networks.
• Class A addresses are assigned to larger
networks. Class B addresses are used for
medium-sized networks, and Class C for
small networks.
Cara mengidentifikasi kelas IP
Address

• Dengan mengidentifikasikan kelas suatu


jaringan komputer, maka dapat diketahui
oktet mana yang digunakan sebagai
network address, dan oktet mana yang
digunakan sebagai host address.
Network address dan host address
berdasarkan kelas IP
Reserved IP Address

• IP address yang tidak dapat digunakan


untuk mengalamati suatu device (PC,
router) dalam jaringan
• Terdiri
– Network address
– Broadcast address
Network Address
Contoh di samping meggambarkan
dua network address yaitu
198.150.11.0 dan
198.150.12.0

In a Class B network example,


the address 176.10.0.0 is a
network address
Broadcast Address
Contoh di samping meggambarkan
dua broadcast address yaitu
198.150.11.255 dan
198.150.12.255
Biasa digunakan untuk mencari DNS
Server oleh suatu host.

In a Class B network example,


the address 176.10.255.255 is a
network address
Public IP Address
• IP address yang digunakan bagi setiap
node yang terhubung ke Internet
• Harus unik, tidak terduplikasi
• Dulu dikelola oleh InterNIC (Internet
Network Information Center), sekarang
dikelola oleh IANA (Internet Assigned
Numbers Authority)
Private address
• IP address yang digunakan untuk LAN

• Dapat dikoneksikan ke Internet dengan


proses translasi yang disebut NAT
(Network Address Translation) yang
dilakukan oleh router

You might also like