Sebagian besar orang akan melakukan cara-cara konvensional untuk melakukan subnetting, sebagian besar caranya adalah mengubah alamat IP ke binary. Untuk akademisi cara terebut memang sangat bagus, tetapi untuk mengikuti test CCNA, cara konvensional tersebut terkadang memakan waktu yang lama bagi yang tidak terbiasa dengannya.
Melalui tutorial ini saya akan menjelaskan tentang konsep “Kelipatan“. Dengan metode kelipatan ini kita tidak perlu mengubah alamat IP ke binary dan hanya mengerjakannya dalam domain desimal.
Apakah yang disebut kelipatan (k)??
Kelipatan adalah bilangan dengan basis dua yang kadang disebut kelipatan host atau kelipatan network. Kelipatan dapat dituliskan sebagai 2n dimana n adalah selisih antara total bit dengan jumlah bit network mask(prefix-length).
Sebagai contoh alamat IP : 192.168.1.2/30, mempunyai total bit 32 dan prefix length 30, sehingga :
n = 32 – 30 = 2
k = 22 = 4
Cara menggunakan kelipatan(k)
Kelipatan bisa digunakan untuk menentukan alamat network (ip subnet, alamat broadcast(ip broadcast), jumlah host, penentuan wildcard dengan mekanisme operasi di setiap octet. Alamat IP version 4 terdiri dari 4 oktet. Untuk menentukan kelipatan bekerja di octet yang mana, dapat dilihat dari prefix length yang digunakan.
|
Prefix Length |
Oktet |
|
1-7 |
1 |
|
8-15 |
2 |
|
16-23 |
3 |
|
24-32 |
4 |
Netmask = 256 – k, tergantung octet dimana kelipatan bekerja
Jumlah host = 2n-2
IP subnet = kelipatan terdekat k dengan decimal pada octet
IP broadcast = IP subnet + k – 1, tergantung octet dimana kelipatan bekerja
Wildcard = k -1, tergantung octet dimana kelipatan bekerja
Contoh 1 :
Diketahui alamat IP 10.1.1.40/28. Tentukan :
- Netmask
- Jumlah host
- IP subnet
- IP broadcast
- Wildcard
Jawab :
Dari prefix length 28 dapat diketahui bahwa kelipatan bekerja di octet ke-4.
n = total bit – prefix length = 32 – 28 = 4,
k = 2n = 24 = 16,
- Netmask = 256 – k = 256 – 16 = 240, sehingga Netmask = 255.255.255.240
- Jumlah host = 2n – 2 = 16 – 2 = 14
- IP Subnet = kelipatan dari k yang terdekat dengan decimal pada octet = kelipatan dari 16 yang terdekat dengan 40 = 32, IP Subnet = 10.1.1.32
- IP Broadcast = 32 + 16 – 1 = 47, IP Broadcast = 10.1.1.47
- Wildcard = k -1 = 16 - 1 = 15, sehingga IP address diatas dapat dituliskan dalam bentuk wildcard menjadi 10.1.1.32 0.0.0.15
Contoh 2 :
Diketahui alamat IP 192.168.40.1/20. Tentukan :
- Netmask
- Jumlah host
- IP subnet
- IP broadcast
- Wildcard
Jawab :
Dari prefix length 20 dapat diketahui bahwa kelipatan bekerja di octet ke-3. Disini ada dua n, yaitu :
n1 = total bit – prefix length = 32 – 20 = 12,
n2 = total bit pada octet yang berdekatan – prefix length = 24 – 20 = 4
k = 2n2 = 24 = 16,
- Netmask = 256 – k = 256 – 16 = 240, sehingga Netmask = 255.255.240.0
- Jumlah host = 2n1 – 2 = 212 – 2 = 4096 – 2 = 4094
- IP Subnet = kelipatan dari k yang terdekat dengan decimal pada octet = kelipatan dari 16 yang terdekat dengan 40 = 32, IP Subnet = 192.168.32.0
- IP Broadcast = 32 + 16 – 1 = 47, IP Broadcast = 192.168.47.255
- Wildcard = k -1 = 16 - 1 = 15, sehingga IP address diatas dapat dituliskan dalam bentuk wildcard menjadi 192.168.32.0 0.0.15.255
Originally posted 2010-07-15 15:31:04. Republished by Blog Post Promoter
Related Websites- Wirefly offering Palm Pixi at just $24.95 Now that the Palm Pixi has been released by Sprint yesterday, the price war has just started. The latest to join the price war with an aggressive price tag for competitors is Wirefly. They've decided to take on the likes of Amazon, BestBuy and others by offering the lowest price......
- Globelines Broadband - How to configure your Linksys router to work with Aztech DSL605E modem (Note: If you want pics/images of my Linksys router to Aztech DSL605E modem setup, you can go down straight below. But I recommend reading thru the post first then following the instructions.) I just recently (like 8 hours ago from this writing) got connected to the Globelines broadband internet. Though......
- Eagle Vines Golf Club, Napa, CA Eagle Vines Golf Club is located in: Napa, CA Phone: (707) 257-4470 Website: http://www.eaglevinesgolfclub.com Course History: This gorgeous course was designed by Johnny Miller and since it opened, quickly became a favorite among locals and visitors. It is challenging enough for most professionals to enjoy a round while not being......
- The Misunderstanding Most Investors Make I’ll be honest that I am not fully convinced as to what investment style works, and I am alright with that since my response is to have a little bit of everything. I have an actively managed dividend portfolio, a 401(k) made up mostly of actively managed mutual funds,......
- Moss Landing Harbor, Monterey, CA Phone: 831.633.2461 Radio Frequency: This marina monitors channel 9. Average Water Depth: Usually around 15 feet, but this may go down depending on conditions. It is best to check ahead to see what the current level is before you arrive. Is there a pumpout station? Yes, the harbor does offer......




![[Most Recent Quotes from www.kitco.com]](http://www.kitconet.com/charts/metals/gold/t24_au_en_usoz_2.gif)
Nov 4, 2011 at 14:51:44
Tnks y,,, bsa + wwsan sy..