The document discusses IP version 4 addressing and subnetting. It explains that IPv4 has 4.2 billion possible addresses that can be divided into classes and subnets. It provides examples of IP addresses written in binary format with their subnet masks and how they are used to calculate the number of subnets and hosts. The examples show how an IP address/prefix length can be divided into multiple subnets with different ranges of available IP addresses.
The document discusses IP version 4 addressing and subnetting. It explains that IPv4 has 4.2 billion possible addresses that can be divided into classes and subnets. It provides examples of IP addresses written in binary format with their subnet masks and how they are used to calculate the number of subnets and hosts. The examples show how an IP address/prefix length can be divided into multiple subnets with different ranges of available IP addresses.
The document discusses IP version 4 addressing and subnetting. It explains that IPv4 has 4.2 billion possible addresses that can be divided into classes and subnets. It provides examples of IP addresses written in binary format with their subnet masks and how they are used to calculate the number of subnets and hosts. The examples show how an IP address/prefix length can be divided into multiple subnets with different ranges of available IP addresses.
• 255.255.255.255 • 255x255x255x255 = 4,2 milyar • 2^31 = 4,2 milyar Classfull dan classless Blok 1 Blok 2 Blok 3 Blok 4 11111111 11111111 11111111 00000000 kelas C /24 11111111 11111111 00000000 00000000 kelas B /16 11111111 11000000 00000000 00000000 kelas A /8 11111111 11111111 11111111 10000000 kelas C /25
Host = 2^y – 2 = 2^8 – 2= 256-2 =254 IP Gang = 256 -0 =256 (0-256) IP Network 192.168.2.0 IP Awal 192.168.2.1 IP Akhir 192.168.2.254 IP Broadcast 192.168.2.255 192.168.2.100 /27 = 192.168.2.96 1111111.111111.111111.11100000 prefix /27 255.255.255.224 subnetmask
192.168.2.50 /27 = 192.168.2.32
X=3 Y=5
subnet = 2^x = 2^3 = 8
Host = 2^y – 2 = 2^5 – 2= 32-2 =30 IP 192.168.2.0 Ip Network 192.168.2.32 192.168.2.64 Gang = 256-224 = 32 (0,32,64,96,128,160,192,224) IP Awal 192.168.2.1 33 65 Ip Akhir 192.168.2.30 62 94 IP Broadcast 192.168.2.31 192.168.2.63 192.168.2.95
Ip Network 192.168.2.96 192.168.2.128 192.168.2.160 192.168.2.192 192.168.2.224
IP Awal 97 129 161 193 225
Ip Akhir 126 158 190 222 254 • 11111111 • (2^0x1)+(2^1x1)+(2^2x1)+(2^3x1)