Subnetting
Summary
TLDRThis video tutorial focuses on IP version 4 subnetting. It explains how to divide a network into subnets, detailing how subnetting reduces the number of hosts in each network while increasing the number of network IDs. The tutorial covers key concepts such as network and broadcast addresses, subnet mask calculations, and subnetting for Class A, B, and C IP addresses. It includes practical steps using Cisco Packet Tracer to simulate and test different subnet configurations, demonstrating how packets are routed between PCs, switches, and routers while emphasizing the importance of gateways for communication across networks.
Takeaways
- 😀 Subnetting in IPv4 is the process of dividing a network into multiple smaller sub-networks.
- 🔑 Subnetting is typically performed on IP addresses from Class A, B, and C.
- 🌐 Subnetting increases the number of network IDs but reduces the number of hosts per network.
- 📉 In every subnet or network, two special IP addresses are reserved: one for the network identifier and one for the broadcast.
- 🔢 A simple way to calculate subnetting is by using a subnet mask, which can divide a network into multiple subnets by changing the block sizes.
- ⚙️ When subnetting a Class C network (/24), it can be divided into smaller blocks, such as /25, /26, etc., reducing available IP addresses per block.
- 🚦 The subnet mask defines how many IP addresses are available within each subnet, which reduces as more bits are used for subnetting.
- 🌍 Gateways are essential for routing packets between different subnets, as they handle communication between devices not in the same subnet.
- 📡 Packet communication between subnets requires proper routing via gateways, and without a gateway, communication may fail.
- 💻 In Cisco Packet Tracer, a simulation demonstrates subnetting, routing, and communication behavior, including when devices without a gateway cannot communicate across subnets.
Q & A
What is the primary objective of this practicum?
-The main objective is to understand subnetting concepts, the function of gateways, and to simulate network scenarios using Cisco Packet Tracer.
What is subnetting in IP addressing?
-Subnetting is the process of dividing a large network into smaller sub-networks (subnets). This is typically done with IP address classes A, B, and C. Subnetting reduces the number of hosts in each network but increases the number of networks.
What happens to the host ID when subnetting is applied?
-In subnetting, part of the host ID is sacrificed to create additional network IDs, resulting in a new, smaller set of host IDs for each subnet.
What are the two special IP addresses in a subnet?
-The two special IP addresses in a subnet are the Network address, which identifies the subnet, and the Broadcast address, which is used to communicate with all devices in the subnet.
How is a Class C network typically subnetted?
-In a Class C network, subnetting can divide the network into smaller blocks. For example, subnetting with a /25 prefix will create two subnets, each with 128 IP addresses. Subnetting further, such as with /26 or /27, creates more subnets but reduces the number of IP addresses in each subnet.
What is the formula used to calculate the subnet mask?
-The subnet mask is calculated by subtracting the block size from 256. For example, for a /25 subnet, the block size is 128, so the subnet mask is 255.255.255.128.
What is the impact of not assigning a gateway to certain PCs in the scenario?
-If a PC does not have a gateway assigned, it will be unable to communicate with devices outside of its own subnet. This is because the gateway is responsible for routing traffic between different subnets.
How does communication between PCs in different subnets work in this scenario?
-Communication between PCs in different subnets involves sending the packet to a router via the gateway. The router forwards the packet to the appropriate subnet, allowing communication between devices on different networks.
Why is the communication between some PCs incomplete in the simulation?
-Communication is incomplete for PCs that lack a gateway. Without a gateway, these PCs cannot route traffic to devices in other subnets, causing the communication to fail.
What is the role of simulation mode in Cisco Packet Tracer during this practicum?
-The simulation mode in Cisco Packet Tracer allows users to observe the path of packets as they move through the network, helping them understand how packets are routed between devices and subnets.
Outlines
💻 Understanding IPv4 Subnetting Concepts
This paragraph introduces the second practical lab on IPv4 subnetting. The primary objectives are to understand the concept of subnetting, the function of the gateway, and stimulate the network using Cisco Packet Tracer. It defines subnetting as the process of dividing a network into smaller subnets, usually applied to IP addresses in Class A, B, and C. The process increases the number of network IDs at the expense of host IDs, resulting in more networks but fewer hosts per network.
🔢 Subnetting Calculations for Different Classes
This section provides detailed calculations for subnetting across Class C networks. It explains how to divide networks into smaller subnets and gives examples of splitting a Class C network into subnets with different sizes (e.g., /25, /26). The example covers the conversion of network blocks, such as dividing a Class C network into four subnets, and includes the concept of network and broadcast addresses within each subnet.
🔧 Network Simulation Setup with Subnets
This paragraph walks through the process of setting up a network simulation using Cisco Packet Tracer. It includes a detailed example where two subnets (192.168.1.0/26 and 192.168.1.128/26) are connected via a router. Three PCs are assigned to each subnet with specific IP addresses and subnet masks. Some PCs are set up without a gateway, impacting their ability to communicate with other subnets.
🌐 Verifying Network Communication in Simulation
This final section discusses how to verify network communication between devices in the simulation. By sending simple PDU packets from one PC to another, it demonstrates the success or failure of communication based on gateway configurations. The explanation highlights how devices in the same subnet communicate directly, whereas communication across different subnets requires a gateway. It concludes by reiterating the importance of gateways in ensuring bidirectional communication between subnets.
Mindmap
Keywords
💡Subnetting
💡IP Address
💡Class C IP
💡Gateway
💡Broadcast
💡Network ID
💡Subnet Mask
💡Cisco Packet Tracer
💡Simulation Mode
💡Slash Notation (CIDR)
Highlights
Introduction to the concept of subnetting in IPv4, focusing on dividing a network into smaller subnets.
Explaining the practical purpose of subnetting, such as reducing the number of hosts in each network but creating additional subnets.
Describing the process of subnetting where part of the host ID is sacrificed to create additional network IDs.
Highlighting the importance of two specific IP addresses in any subnet: the network address (identifying the subnet) and the broadcast address (used to reach all devices within the subnet).
Explaining how to calculate the subnet mask for different classes of IP addresses (Class A, B, and C).
Detailed example of subnetting a Class C network into smaller subnets, starting with a block of 256 IP addresses (Class C /24).
Illustrating how dividing a Class C network into smaller subnets (e.g., /25 and /26) reduces the number of hosts in each subnet but increases the number of available subnets.
Discussion of a four-part subnetting example where the network is divided into four subnets (0-63, 64-127, 128-191, 192-255).
Using Cisco Packet Tracer for network simulation to test and visualize the subnetting concept, including the configuration of IP addresses and gateways.
Explanation of the gateway's role in allowing communication between subnets, particularly in scenarios involving routers.
Demonstrating a real-world example of a network setup involving multiple PCs and routers, with subnetting configurations, to simulate traffic flow.
Explaining why certain devices can communicate across subnets while others cannot, due to the presence or absence of properly configured gateways.
Step-by-step guide for setting up IP addresses and subnet masks in a network simulation using Cisco Packet Tracer.
Highlighting the importance of two-way communication in a network and how a lack of proper gateway configuration can prevent packet delivery.
Demonstrating successful communication between devices within the same subnet, showing how packets are sent and received correctly without routing.
Transcripts
Hai Pada kesempatan kali ini kita akan
melakukan praktikum yang kedua yaitu
tentang subnetting IP versi 4 tujuan
dari praktikum something ini adalah yang
pertama mengetahui konsep subnetting
yang kedua adalah mengetahui fungsi
Gateway dan yang ketiga adalah
menstimulasi ngsar matic dengan dan
sisco Packet Tracer
Hai pengertian something something
adalah proses membagi sebuah Network
menjadi beberapa subnetwork snetic hanya
dilakukan pada IP address kelas A kelas
B dan kelas jesaja dengan something akan
menciptakan beberapa Network tambahannya
Hai tetapi akan mengurangi jumlah
maksimum host yang ada dalam tiap
Network tersebut
The Princess something adalah
memperbanyak Network ID
dari suatu Network ID yang sudah ada
dimana sebagian hos-id dikorbankan untuk
digunakan dalam membuat hos-id tambahan
Hai jadi seperti ini
10 dia lakukan subnetting adalah ide
lama dan usai di lama Steele dilakukan
something maka idenya ini dikorbankan
akan dipecah sebagian akan digunakan
untuk software id id dan host id nya
akan menjadi lebih kecil sehingga akan
diperoleh Network ID baru yang lebih
besar dengan jumlah usaid baru yang
lebih kecil
di dalam setiap kelompok hip hop
Hai selama itu ini adalah subnet atau
network terdapat dua IP address yang
bersifat khusus yaitu Network
ini merupakan indentitas suatu kelompok
IP dan yang kedua adalah broadcast yaitu
alamat yang digunakan untuk memanggil
semua IP yang berkorespondensi
netbook biasanya adalah Ayu pertama dari
suatu kelompok tidak selalu nol dan
broadcast adalah ini terakhir dari suatu
kelompok dan tidak selalu
Hai untuk perhitungan subnetting yang
paling gampang adalah menggunakan grab
dan tabelnya contoh ini adalah
subnetting class C atau tempat dimana
plastik atau sempat ini networknya itu
mulai bloknya mulai dari 0-25 gimana
yang pertama ini nol adalah networknya
25 adalah broadcastnya
Hai secara keseluruhan flash 24 ini satu
bloknya terisi
256 IP namun usahanya adalah ada 254
karena tidak boleh dua ada dua IP yang
digunakan
jika kita melakukan subnetting kelas C
ini menjadi 25 maka
ini akan dipecah menjadi dua kelompok
Hai yang pertama kelompok yang pertama
sampai yang pertama adalah mulai dari
0-1 27 dan flek2 adalah 128 sampai 255
gimana untuk sampel yang pertama ini
networknya mulai dari nol dan pelukisnya
adalah 127 untuk yang kedua ini adalah
128 dan broadcast adalah
hai ketika kita ingin pecel lagi yang
lebih
Hai besar yaitu slash 26 maka setempat
ini akan dipecah menjadi empat subnet
Hai Senin pertama mulai dari nol sampai
enam tiga yang kedua adalah 64 sampai 17
yang ketiga adalah 128 sampai 191 dan
yang keempat adalah 19 2-25
2016 tiga Inilah yang disebut sebagai
batas yang awal ini adalah networknya
yang terakhir adalah tiga begitu juga
untuk sampai yang 264 ini adalah Network
untuk yang kedua dan 127 adalah
broadcast untuk networking dua dan
begitu selanjutnya untuk stres
Ayo kita akan memecah chess24 menjadi
delapan xnet netbook yang pertama adalah
0-3 satu networknya
031 yang ke-22 adalah networknya
3263 dan seterusnya
Hai untuk lebih jelasnya
Ayo kita ada tabel seperti ini
konversi konversi eh CDR menuju subnet
Mask
sempat ini anggota jumlah intinya 256
jumlah bloknya adalah
Hai nah ini adalah 0-2 5000 untuk 125
jumlah isinya 128 next Masnya adalah
rumus e256 dikurangi 128 jumlah airnya
sehingga ketemu 255 255 255 128
Hai untuk slash 26 jumpa aktingnya 64
ini rinciannya bloknya ya Sehingga
sempat Masnya adalah 256 dikurangi 64
ketemu
Ya udah selesai 27 jumlah bloknya adalah
32 ini ada jumlah Ipinnya ya centang
jumlah bloknya A8 ini isinya bloknya
sehingga sangat Masnya adalah 256
dikurangi 32 ketemu 2 24 dan seterusnya
Ayo kita langsung menuju ke percobaan
hai hai skenario dapat cobaan ini kita
akan mensimulasikan dua submate yaitu
Lex
119216811
026 dan Lex dua adalah
1921681.1 426 ini gambarannya jadi 126
itu ada tidak ada empat subnet ya karena
kita menggunakan dua subnet saja ya lo
satu dan dua ini kita gunakan 0163 dan
kedua menggunakan
4-1 27 Hai dosanya diatas jodohkan
melalui sebuah router seperti terlihat
pada gambar dibawah ini
Hai ini ya
Hai ini rap 1 terdiri dari tiga PC kita
Gotik kbc kedua juga ada 3pc ini B1
beserta ip-nya sedangkan F1 dan F2 ini
dihubungkan melalui sebuah router dimana
eh router yang menghadap Club 1 gb-nya
adalah 629 kan rutr yang menghadap alat2
adalah ketuanya adalah 126
Hai pc-pc yang ada di sini kita isi
ipnya ya beserta netmasknya
namun untuk Gateway tidak semuanya kita
isi untuk S1 ada keduanya bisa
dua-duanya tidak sedangkan Lex 24 ada
ktp-nya Pesolima tidak ada gedenya tidak
ada tv-nya ini nanti ada pengaruhnya
ketika ketika menghubungi lintas
Hai Adam P1 P2 P3 mengenal Gateway namun
PC 3 PC 5 dan 6 tanpa menggunakan
gateway
Hai
berikut adalah langkah percobaan kita
ikuti langkah-langkahnya tahapannya buat
simulasi jaringan seperti gambar diatas
termasuk setting IP gateway router IP
address PC
netmask PC dan Get Rich PC tidak semua
PC diberikan gateway
Ayo kita buat jaringannya segini
Hai untuk F1 bisa satu kita isi airnya
ini
Sri ini
Hai happy-nya 1-2 1811 netmasknya adalah
102 karena kita selesai
Kenya kearah router yaitu 62 karena
besok termasuk yang ada lumpurnya ada
gedenya sedang
Hai happy-nya adalah seperti ini sapne
naasnya adalah
Hai Kitne adalah steak ini karena bisa2
kita Gateway sedangkan
Hai ip-nya adalah seperti ini subnetmask
nya adalah sepi ini tidak kita isi
gatewaynya
Hai untuk 2 PS4
Ayo kita mulai dari 65 ya karena 6464
itu adalah networknya diakhiri sebabnya
idenya adalah 65
sampai masih adalah seperti ini 25
2012 dan gatewaynya ini menuju ke
Gateway router yang menghadap ke 212
Hai sedangkan Pesolima kita setting IP
seperti ini 66.net masnya suci ini
dp-nya nggak perlu kita isi
Hai sedangkan
Hai airnya
679 emasnya setunggal 2GB nya kosong
Hai berikutnya adalah setting router
Hai Brother ini yang terhubung ke satu
sweet yang terhubung dengan Sweep Sabtu
itu adalah fast ethernet tempat yang
terhubung dengan sweetalert2 itu fast
ethernet 5 fast ethernet tempat kita isi
id-nya
19216811 62 dengan coklat Mask yang sama
yaitu 255 255 25162 sedangkan yang
menghadap kedua kita isi air piketnya
yaitu 126 dengan subnet Mask yang setara
dengan flash 26 jangan lupa tebalnya
router itu interfacenya belum on kita
on-kan disini ya kita akan disini
the same disini setting
IP dan Gateway nya baik PC maupun rocker
sudah kita isi ya kita lanjutkan ketahap
berikutnya pada
Hai setelah setting IP selesai pindahkan
mode ke simulasi ke mode simulasi ya ini
Komodo simulasi
hai lalu buat skenario seperti berikut
edit filter event list hanya ke SMP ya
Ayu versi 4 SMP saja
lalu kirimkan paket simple PDU dari B1
B3 lalu amati jalannya PDU nya B1 ke bc4
lalu amati Jalan videonya bc2 ke berlima
lalu amati Jalan PD smp-nya dan yang
terakhir adalah pc3 ke besok Nam lalu
amati Jalan PJU smp-nya kita kembali ke
Hai sisco paket Resort
Ayo kita agak model simulasi
kita pastikan editornya adalah SMP ya
SMP saja OK
Ayo kita buat simpel PDU yang pertama
adalah dari pc1 menuju pc3 ok
Ayo kita next sketcher simulasinya
the set
hai oke dikirim Dia
Hai dikirim ke
Ayo kita ketahui
p173 ini
salah satu subnet yang sama sehingga
tidak dilempar ke rute dia hanya cukup
di dalam satu sweet saja dan b satu ada
GB bisa2 tidak ditindak ada masalah ini
untuk percobaan yang pertama sudah
selesai yaitu dari bc1 ke PC
Hai berikutnya adalah bc1 ke bc4
kita hapus skenarionya dulu dari
[Musik]
Hai ke bc4 ini nyebrang ya ini nyebrang
Karena sebenarnya berbeda kita kejar
sekarang
up1 mencari ke PS4
dilempar ke switch di dalam suit itu
tidak menemukan aib yang dimaksud maka
dia dilempar ke rute ke Gateway
setelah itu sampai di rute akan
dicarikan ternyata id-nya ada di Lex dua
lempar ke switch switch dilempar ke
Simpati
PS4 straight to di kembalikan lagi ingat
bahwa
hai eh Komunikasi itu harus doa Raya dia
harus bisa arah bolak-balik Kenapa PS4
bisa mengembalikan karena dia juga ada
Gateway di sini ada GB 126 dia akan
dilempar ke gt216 dikembalikan lagi ke
PC
21 sehingga komunikasinya jadi komplit
Hai Oke ini yang kedua sudah selesai
dari pc1 bbc4
Hai jadi me satu kesempatan ini
komplikasinya komplit membalik baik
Berangkat maupun pulangnya ya karena D1
dan D4 memiliki Gateway berikutnya
adalah skenario ini adalah pc2 ke
Ayo kita hapus skenarionya Ini dari PC
1215
Hai
vc2 ke PC
25 ini nyebrang ya
Ayo kita lihat simulasinya
bc1 akan mencari facial 5 Dia akan cari
di switch
Hai tidak ada di dalam sextopnet maka
dilempar ke Gateway Gateway
akan dicari ternyata IP yang dimaksud
ada di
Oh ya dilempar delete 2 switch dan
didesain ke pc2
Hai namun setelah sampai pc2 cafe2 tidak
punya Gateway dia tidak tahu cara
mengembalikannya ke
pc2 ya karena dia tidak memiliki Gateway
sehingga komunikasinya tidak komplit dan
tidak berhasil
Oh ya
Hai berikutnya adalah
pc3 ke pesenam DC 36 kita hapus dulu
skenarionya ini
pc3 ke B6 jadi nyebrang ceritanya juga
Hai sejak awal saja ini sudah tidak bisa
mengirimkan ya ketika kita semula sikan
Aneh ketika kita kirim itu tide tidak
bisa mengirimkan ya tidak bisa
mengirimkan karena apa dia
mencari di networknya itu tidak ada
di bawah IP tujuan itu tidak ada didalam
Network ilmiah dan dia tidak merasa
tidak punya Gateway pintu keluarnya
sehingga dia akan berhenti Langsung cek
komunikasinya juga tidak komplit
Hai Jadi intinya disini Gateway itu
digunakan untuk
melempar
sebuah ide yang dicari yang tidak ada di
dalam networknya air dan ingat bahwa
Komunikasi itu dua kalau yang
pengirimnya ada gatewaynya sedangkan
penerimanya tidak raketnya juga tidak
terbentuk komunikasi dua arah
Hai ini untuk semua si videonya sudah
selesai
Hai berikutnya setelah selesai membuat
simulasi pada point 2
Kembalikan ke mode real-time modern
hai lalu Coba lakukan pressing sebagai
berikut ya dari bc1 ke bisa
the dressing dengan perintah ini ya
formatnya reset IP tujuan dari pc13 kita
kembali ke lautan Oke dari pc1 ke PC
menggunakan command prompt
kresek
a b c 1,3 berarti
1921681.1 ketemu
Oh ya langsung ketemu
Hai berikutnya preset dari pc1 PS4 PS4
itu intinya adalah
65 ya
sse2 eh B1 B1 tetapi
Hai threshold ke-65
1921681.1 65 sebelah dia rutenya
dilempar ke Gateway baru ketemu di ip65
Hai kek
Ayo kita kembali ke sini dari PC 2G pc55
ini ip-nya enam ya dari
hai threshold
hai 1921681.1
ini dia dilemparkan gateway
Hai dan tidak menemukannya disini kenapa
tidak menemukan karena
pc6 ini ada gedenya jadi dia tidak bisa
mengembalikan paketnya jadi sudah
diselesaikan dengan PDU tidak bisa
mengembalikan hingga kalau kita tunggu
ini akan terus dia tidak akan
menemukannya
komunikasinya tidak komplit
Hai kefir ikutnya adalah
hai hai
Hai dari pc3 ke
Hai nah ini enggak ada Gateway nyanyi
pasti nggak bisa ini sejak awal untuk
transfer rek osteotin harusnya
stressed dari PC 36
1921681.1 juya
pc667
sejak awal sudah karena dia tidak ada
gateway
Hai ini kalau kita tunggu terus ini akan
repose mouth Jadi itulah kita telah
mempelajari simulasi subnetting
beserta Apa fungsi dari Gateway
Bagaimana jalan paket dari satu subnet
kesambet yang lain dan status
bc1 nuhung IPC lain dalam satu subnet
Hai demikian
浏览更多相关视频
Subnet Mask - Explained
Mengenal IP Address | Network Fundamental Learning Series #8
subnetting is simple
Everything Hosts do to speak on the Internet - Part 2 - Networking Fundamentals - Lesson 3
Seven-Second Subnetting - N10-008 CompTIA Network+ : 1.4
Curso de Redes - Endereço IPv4 e Classes de Endereçamento
5.0 / 5 (0 votes)