SlideShare a Scribd company logo
1 of 33
Internet Protocol v4
IP v4
• Pengalamatan Logic
• Lapisan Network
• 32 bit biner
– 11000000 10101000 00001010 00000011
• Decimal dotted
– 192.168.10.3
• Bagian Host dan bagian Network
– 192.168.10.3
Position
x x x x x x x x
128 64 32 16 8 4 2 1
Tipe Alamat dalam IPv4
• Network Address  digunakan untuk
mengacu / menamai sebuah network
• Broadcast Address  alamat yg digunakan
untuk mengirim paket ke seluruh anggota
network
– Alamat tertinggi dalam sebuah network
• Host Address  digunakan untuk end device
dalam jaringan
Tipe Komunikasi antar Host
• Unicast  1 host ke 1 host lain
• Broadcast  1 host ke semua host dalam
sebuah jaringan
– Directed broadcast : 192.168.10.255
– Limited broadcast : 255.255.255.255
• Multicast  1 host ke beberapa host
Reserved Addresses
• IP Address range : 0.0.0.0 – 255.255.255.255
• Experimental Addresses
– 240.0.0.0 – 255.255.255.254 (RFC 3330)
• Multicast Addresses
– 224.0.0.0 – 239.255.255.255
• Host Addresses
– 0.0.0.0 – 223.255.255.255
Private Addresses
Blok alamat yang digunakan dalam lingkungan
terbatas (tanpa akses internet)
• 10.0.0.0 -10.255.255.255 (10.0.0.0/8)
• 172.16.0.0 – 172.31.255.255 (172.16.0.0/12)
• 192.168.0.0 – 192.168.255.255 ( 192.168.0.0 /
16)
Special Addresses
• Tidak bisa digunakan untuk alamat host
• Network address & Broadcast Address  alamat
pertama dan terakhir dr network
• Loopback  127.0.0.1
– 127.0.0.0 – 127.255.255.255
• Default route  0.0.0.0
– 0.0.0.0 – 0.255.255.255
• Link Local Addresses
– 169.254.0.0 – 169.254.255.255
• Testnet Addresses
– 192.0.2.0 – 192.0.2.255
Historic Network Classes
Subnet Mask
• untuk membedakan bagian network dan host
dari alamat IP
• 32 bit
• Bisa ditulis sebagai prefix dari network
– 10.20.30.4 /8
– 172.16.10.100 /16
– 192.168.100.4 /24
– merupakan jumlah bit 1 dari subnet mask
Subnet Mask (2)
Subnet Mask (3)
• Subnet mask AND IP address  network
address
0
Subnetting
• menggunakan VLSM (Variable Length Subnet Mask) sebagai
prefix untuk memaksimalkan efisiensi penggunakan alamat
IP
• /24 = 254 host (256 – 2 alamat utk network dan broadcast)
• /25 = 126 host
• /26 = 62 host
• /27 = 30 host
• /28 = 14 host
• /29 = 6 host
• /30 = 2 host
• 192.168.10.100
• 11000000.10101000.00001010.01100100
• Prefix /26
• Subnet masknya : 26 bit angka 1
• 11111111.11111111.11111111.11000000
HOST : 192.168.10.100 /26
Octet 1 Octet 2 Octet 3 Octet 4
IP address 192 168 10 100
1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 1 1 0 0 1 0 0
Subnet mask 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0
255 255 255 192
Network ID 1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0
192 168 10 64
Broadcast Addr 1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 1 1 1 1 1 1 1
192 168 10 127
IP address host : 192.168.10.100 /26
Subnet mask : 255.255.255.192
Network ID : 192.168.10.64 /26
Broadcast addr : 192.168.10.127
IP address host : 192.168.10.100 /26
• Subnet mask : 255.255.255.192
• Network ID : 192.168.10.64 /26
• Broadcast addr : 192.168.10.127
• Range host dari Network 192.168.10.64 :
192.168.10.65 - 192.168.10.126
HOST : 20.20.2(no absen).0 /22, misal absen 5 menjadi 20.20.25.0/22
Octet 1 Octet 2 Octet 3 Octet 4
IP address 20 20 25 0
00010100 00010100 00011001 0000000
Subnet mask 255 255 252 0
11111111 11111111 11111100 0000000
Network ID 20 20 24 0
00010100 00010100 00011000 00000000
Host pertama 00010100 00010100 00011000 00000001
Host Terakhir 00010100 00010100 00011011 11111110
broadcast 00010100 00010100 00011011 11111111
IP address host : 20.20.25.0 /22
Subnet mask : 255.255.252.0
Network ID : 20.20.24.0 /22
Host pertama : 20.20.24.1/22
Host terakhir : 20.20.27.254/22
Broadcast : 20.20.27.255/22
Practice
• Host IP Address : 10.20.30.40 / 24
Network ID :
Subnet mask :
First Host :
Last Host :
Broadcast :
Practice
• Host IP Address : 192.168.1.100 / 24
Network ID :
Subnet mask :
First Host :
Last Host :
Broadcast :
Practice
• Host IP Address : 172.16.0.114 / 26
Network ID :
Subnet mask :
First Host :
Last Host :
Broadcast :
Practice
• Host IP Address : 222.100.2.100 / 27
Network ID :
Subnet mask :
First Host :
Last Host :
Broadcast :
Practice
• Host IP Address : 104.10.2.100 / 15
Network ID :
Subnet mask :
First Host :
Last Host :
Broadcast :
Practice
• Host IP Address : 104.10.2.100 / 23
Network ID :
Subnet mask :
First Host :
Last Host :
Broadcast :
Practice
• Host IP Address : 10.1.2.100 / 14
Network ID :
Subnet mask :
First Host :
Last Host :
Broadcast :
Practice
PC0 can connect to PC2, but neither PC0 nor
PC2 can connect PC1. Why ?
Practice
Router is used to connect 3 network. Error message turned up
when Router configuration is set as in the figure. What is the
problem ?
Practice
• From 10.10.20.0 /24 address pool, how many
subnet can we make if we use :
/25 network :
/27 network :
/28 network :
Practice
• From 192.168.100.5 /23 address, how many
subnet can we make if we use :
/25 network :
/27 network :
/28 network :
Practice
• From 172.16.5.0 /24 address pool, create the
most efficient network addressing for 3
subnets :
– Network A : 100 host
– Network B : 54 host
– Network C : 21 host
Practice
• From 192.168.1.0 /24 address pool, create the
most efficient network addressing for 4
subnets :
– Network A : 20 host
– Network B : 100 host
– Network C : 54 host
– Network D : 10 host
Practice
• From 10.10.1.0 /24 address pool, create the
most efficient network addressing for 4
subnets :
– Network A : 60 host
– Network B : 105 host
– Network C : 16 host
– Network D : 36 host

More Related Content

Similar to 1.IPv4.pptx

Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basicsMahmmoud Mahdi
 
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eadpeer
 
2110165028 konjar lj_subnetting
2110165028 konjar lj_subnetting2110165028 konjar lj_subnetting
2110165028 konjar lj_subnettingNanda Afif
 
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdfSILVIUSyt
 
Subnetting class
Subnetting classSubnetting class
Subnetting classFTC
 
TCP/IP suite presentation slides and data.pptx
TCP/IP suite presentation slides and data.pptxTCP/IP suite presentation slides and data.pptx
TCP/IP suite presentation slides and data.pptxSalmanButt80
 
Ip -subnetting
Ip  -subnettingIp  -subnetting
Ip -subnettingnithinj54
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptanwarkade1
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptEsubesisay
 
Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 conceptsJAIGANESH SEKAR
 
Computer Networks Module III
Computer Networks Module IIIComputer Networks Module III
Computer Networks Module IIIAjit Nayak
 

Similar to 1.IPv4.pptx (20)

Network Layer
Network LayerNetwork Layer
Network Layer
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
 
2110165028 konjar lj_subnetting
2110165028 konjar lj_subnetting2110165028 konjar lj_subnetting
2110165028 konjar lj_subnetting
 
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
 
Subnetting
SubnettingSubnetting
Subnetting
 
Lecture 06
Lecture 06Lecture 06
Lecture 06
 
Easy subnetting
Easy subnettingEasy subnetting
Easy subnetting
 
Tugas komjar 4
Tugas komjar 4Tugas komjar 4
Tugas komjar 4
 
Subnetting
SubnettingSubnetting
Subnetting
 
Subnetting class
Subnetting classSubnetting class
Subnetting class
 
Mod10
Mod10Mod10
Mod10
 
How IP address works
How IP address worksHow IP address works
How IP address works
 
TCP/IP suite presentation slides and data.pptx
TCP/IP suite presentation slides and data.pptxTCP/IP suite presentation slides and data.pptx
TCP/IP suite presentation slides and data.pptx
 
Ip -subnetting
Ip  -subnettingIp  -subnetting
Ip -subnetting
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.ppt
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.ppt
 
Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 concepts
 
Computer Networks Module III
Computer Networks Module IIIComputer Networks Module III
Computer Networks Module III
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 

1.IPv4.pptx

  • 2. IP v4 • Pengalamatan Logic • Lapisan Network • 32 bit biner – 11000000 10101000 00001010 00000011 • Decimal dotted – 192.168.10.3 • Bagian Host dan bagian Network – 192.168.10.3
  • 3.
  • 4.
  • 5. Position x x x x x x x x 128 64 32 16 8 4 2 1
  • 6. Tipe Alamat dalam IPv4 • Network Address  digunakan untuk mengacu / menamai sebuah network • Broadcast Address  alamat yg digunakan untuk mengirim paket ke seluruh anggota network – Alamat tertinggi dalam sebuah network • Host Address  digunakan untuk end device dalam jaringan
  • 7. Tipe Komunikasi antar Host • Unicast  1 host ke 1 host lain • Broadcast  1 host ke semua host dalam sebuah jaringan – Directed broadcast : 192.168.10.255 – Limited broadcast : 255.255.255.255 • Multicast  1 host ke beberapa host
  • 8. Reserved Addresses • IP Address range : 0.0.0.0 – 255.255.255.255 • Experimental Addresses – 240.0.0.0 – 255.255.255.254 (RFC 3330) • Multicast Addresses – 224.0.0.0 – 239.255.255.255 • Host Addresses – 0.0.0.0 – 223.255.255.255
  • 9. Private Addresses Blok alamat yang digunakan dalam lingkungan terbatas (tanpa akses internet) • 10.0.0.0 -10.255.255.255 (10.0.0.0/8) • 172.16.0.0 – 172.31.255.255 (172.16.0.0/12) • 192.168.0.0 – 192.168.255.255 ( 192.168.0.0 / 16)
  • 10. Special Addresses • Tidak bisa digunakan untuk alamat host • Network address & Broadcast Address  alamat pertama dan terakhir dr network • Loopback  127.0.0.1 – 127.0.0.0 – 127.255.255.255 • Default route  0.0.0.0 – 0.0.0.0 – 0.255.255.255 • Link Local Addresses – 169.254.0.0 – 169.254.255.255 • Testnet Addresses – 192.0.2.0 – 192.0.2.255
  • 12. Subnet Mask • untuk membedakan bagian network dan host dari alamat IP • 32 bit • Bisa ditulis sebagai prefix dari network – 10.20.30.4 /8 – 172.16.10.100 /16 – 192.168.100.4 /24 – merupakan jumlah bit 1 dari subnet mask
  • 14. Subnet Mask (3) • Subnet mask AND IP address  network address 0
  • 15. Subnetting • menggunakan VLSM (Variable Length Subnet Mask) sebagai prefix untuk memaksimalkan efisiensi penggunakan alamat IP • /24 = 254 host (256 – 2 alamat utk network dan broadcast) • /25 = 126 host • /26 = 62 host • /27 = 30 host • /28 = 14 host • /29 = 6 host • /30 = 2 host
  • 16. • 192.168.10.100 • 11000000.10101000.00001010.01100100 • Prefix /26 • Subnet masknya : 26 bit angka 1 • 11111111.11111111.11111111.11000000
  • 17. HOST : 192.168.10.100 /26 Octet 1 Octet 2 Octet 3 Octet 4 IP address 192 168 10 100 1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 1 1 0 0 1 0 0 Subnet mask 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 255 255 255 192 Network ID 1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 192 168 10 64 Broadcast Addr 1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 1 1 1 1 1 1 1 192 168 10 127 IP address host : 192.168.10.100 /26 Subnet mask : 255.255.255.192 Network ID : 192.168.10.64 /26 Broadcast addr : 192.168.10.127
  • 18. IP address host : 192.168.10.100 /26 • Subnet mask : 255.255.255.192 • Network ID : 192.168.10.64 /26 • Broadcast addr : 192.168.10.127 • Range host dari Network 192.168.10.64 : 192.168.10.65 - 192.168.10.126
  • 19. HOST : 20.20.2(no absen).0 /22, misal absen 5 menjadi 20.20.25.0/22 Octet 1 Octet 2 Octet 3 Octet 4 IP address 20 20 25 0 00010100 00010100 00011001 0000000 Subnet mask 255 255 252 0 11111111 11111111 11111100 0000000 Network ID 20 20 24 0 00010100 00010100 00011000 00000000 Host pertama 00010100 00010100 00011000 00000001 Host Terakhir 00010100 00010100 00011011 11111110 broadcast 00010100 00010100 00011011 11111111 IP address host : 20.20.25.0 /22 Subnet mask : 255.255.252.0 Network ID : 20.20.24.0 /22 Host pertama : 20.20.24.1/22 Host terakhir : 20.20.27.254/22 Broadcast : 20.20.27.255/22
  • 20. Practice • Host IP Address : 10.20.30.40 / 24 Network ID : Subnet mask : First Host : Last Host : Broadcast :
  • 21. Practice • Host IP Address : 192.168.1.100 / 24 Network ID : Subnet mask : First Host : Last Host : Broadcast :
  • 22. Practice • Host IP Address : 172.16.0.114 / 26 Network ID : Subnet mask : First Host : Last Host : Broadcast :
  • 23. Practice • Host IP Address : 222.100.2.100 / 27 Network ID : Subnet mask : First Host : Last Host : Broadcast :
  • 24. Practice • Host IP Address : 104.10.2.100 / 15 Network ID : Subnet mask : First Host : Last Host : Broadcast :
  • 25. Practice • Host IP Address : 104.10.2.100 / 23 Network ID : Subnet mask : First Host : Last Host : Broadcast :
  • 26. Practice • Host IP Address : 10.1.2.100 / 14 Network ID : Subnet mask : First Host : Last Host : Broadcast :
  • 27. Practice PC0 can connect to PC2, but neither PC0 nor PC2 can connect PC1. Why ?
  • 28. Practice Router is used to connect 3 network. Error message turned up when Router configuration is set as in the figure. What is the problem ?
  • 29. Practice • From 10.10.20.0 /24 address pool, how many subnet can we make if we use : /25 network : /27 network : /28 network :
  • 30. Practice • From 192.168.100.5 /23 address, how many subnet can we make if we use : /25 network : /27 network : /28 network :
  • 31. Practice • From 172.16.5.0 /24 address pool, create the most efficient network addressing for 3 subnets : – Network A : 100 host – Network B : 54 host – Network C : 21 host
  • 32. Practice • From 192.168.1.0 /24 address pool, create the most efficient network addressing for 4 subnets : – Network A : 20 host – Network B : 100 host – Network C : 54 host – Network D : 10 host
  • 33. Practice • From 10.10.1.0 /24 address pool, create the most efficient network addressing for 4 subnets : – Network A : 60 host – Network B : 105 host – Network C : 16 host – Network D : 36 host