You are on page 1of 15

ASSIGNMENT SHEEt

Computer Networking Fundamentals


IP Address classes
&
Subnetting
Problem 1
Host IP Address 172. 30. 1. 33
Subnet Mask 255 .255 .255 .0
IP Address class = class B
1. Number of Subnet Bits 8 bits
8
2. Number of subnets 2 = 256
3. Number of Hosts Bits per subnet 8 bits

4. Number of usable Hosts per Subnet 2 =254
5. Subnet Address for this IP Address 172. 30. 1. 0
6. IP Address of First Host on this Subnet 172. 30. 1. 1
7. IP Address of Last Host on this Subnet 172. 30. 1. 254
8. Broadcast Address for this Subnet 172. 30. 1. 255
Change from decimal number to binary number
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 0
0 0 0 0 0 0 0 0 =0

1. Number of subnet bits


Kira bilangan subnet bits 1 pada bahagian host
Network Host
10101100 00011110 00000001 00100001
11111111 11111111 11111111 00000000 =8bits
2. Number of subnets (follow formula)
2 = 2 kuasa (n= Number of subnet Bits)
28 = 256

3. Number of Host Bits per subnet


Kira bilangan Host bits 0 pada bahagian host
Network Host
10101100 00011110 00000001 00100001
= 8bits
11111111 11111111 11111111 00000000

4. Number of usable Hosts per Subnet (follow formula)


2 2 = 2 kuasa (n= Number of Host Bits per subnet)
28 2 = 254

5. Subnet Address first Host on this IP Address


IP Address 172. 30. 1. 0
10101100 00011110 00000001 00100001
11111111 11111111 11111111 00000000
Darab kan dalam bentuk binary
10101100 00011110 00000001 00000000

172. 30. 1. 0

6. IP Address of First Host on this subnet (formula= tambah 1 di nombor akhir)


IP Address 172. 30. 1. 0
10101100 00011110 00000001 00100001
11111111 11111111 11111111 00000000
Darab kan dalam bentuk binary
10101100 00011110 00000001 00000000

172. 30. 1. 0+1=1

IP Address : 172. 30. 1. 1.


7. IP Address of Last Host on this subnet
IP Address 172. 30. 1. 0
10101100 00011110 00000001 00100001
11111111 11111111 11111111 00000000
Darab kan dalam bentuk binary
10101100 00011110 00000001 00000000

172. 30. 1. 0 + 254

IP Address : 172. 30. 1. 254

8. Broadcast Address of this subnet


IP Address 172. 30. 1. 0
10101100 00011110 00000001 00100001
11111111 11111111 11111111 00000000
Darab kan dalam bentuk binary
10101100 00011110 00000001 00000000

172. 30. 1. 0 + 254 +1

IP Address : 172. 30. 1. 255


Problem 2
Host IP Address 172. 30. 1. 33
Subnet Mask 255 .255 .255 .224
IP Address class = class B
1. Number of Subnet Bits 11 bits
11
2. Number of subnets 2 = 2048
3. Number of Hosts Bits per subnet 5 bits
4. Number of usable Hosts per Subnet 2 2 = 30
5. Subnet Address for this IP Address 172. 30. 1. 32
6. IP Address of First Host on this Subnet 172. 30. 1. 33
7. IP Address of Last Host on this Subnet 172. 30. 1. 62
8. Broadcast Address for this Subnet 172. 30. 1. 63
Change from decimal number to binary number
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 0
0 0 1 0 0 0 0 0

32

1. Number of subnet bits


Kira bilangan subnet bits 1 pada bahagian host
Network Host
10101100 00011110 00000001 00100001
11111111 11111111 11111111 00100000 =11bit
s

2. Number of subnets (follow formula)


2 = 2 kuasa (n= Number of subnet Bits)
211 = 2048
3. Number of Host Bits per subnet
Kira bilangan Host bits 0 pada bahagian host
Network Host
10101100 00011110 00000001 00100001
= 5bits
11111111 11111111 11111111 11100000

4. Number of usable Hosts per Subnet (follow formula)


2 2 = 2 kuasa (n= Number of Host Bits per subnet)
25 2 = 30

5. Subnet Address first Host on this IP Address


IP Address 172. 30. 1. 32
10101100 00011110 00000001 00100001
11111111 11111111 11111111 11100000
Darab kan dalam bentuk binary
10101100 00011110 00000001 00100000

172. 30. 1. 32
IP Address : 172. 30. 1. 32

6. IP Address of First Host on this subnet (formula= tambah 1 di nombor akhir)


IP Address 172. 30. 1. 32
10101100 00011110 00000001 00100001
11111111 11111111 11111111 11100000
Darab kan dalam bentuk binary
10101100 00011110 00000001 00000000

172. 30. 1. 32 + 1
.

IP Address : 172. 30. 1. 33


7. IP Address of Last Host on this subnet
IP Address 172. 30. 1. 32
10101100 00011110 00000001 00100001
11111111 11111111 11111111 11100000
Darab kan dalam bentuk binary
10101100 00011110 00000001 00100000

172. 30. 1. 32 + 30

IP Address : 172. 30. 1. 254

8. Broadcast Address of this subnet


IP Address 172. 30. 1. 0
10101100 00011110 00000001 00100001
11111111 11111111 11111111 11100000
Darab kan dalam bentuk binary
10101100 00011110 00000001 00100000

172. 30. 1. 32 + 30 + 1
Problem 3
Host IP Address 192. 192. 10. 234
Subnet Mask 255 .255 .255 .128
IP Address class = class C
1. Number of Subnet Bits 1 bits
2. Number of subnets 21 = 2
3. Number of Hosts Bits per subnet 7 bits
4. Number of usable Hosts per Subnet 2 2 = 126
5. Subnet Address for this IP Address 192. 192. 10. 126
6. IP Address of First Host on this Subnet 192. 192. 10. 127
7. IP Address of Last Host on this Subnet 192. 192. 10.254
8. Broadcast Address for this Subnet 192. 192. 10. 255
Change from decimal number to binary number
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 0
0 0 1 0 0 0 0 0

32

1. Number of subnet bits


Kira bilangan subnet bits 1 pada bahagian host
Network Host
11000000 11000000 00001010 11101010
11111111 11111111 11111111 10000000 =1bits

2. Number of subnets (follow formula)


2 = 2 kuasa (n= Number of subnet Bits)
21 = 2
3. Number of Host Bits per subnet
Kira bilangan Host bits 0 pada bahagian host
Network Host
11000000 11000000 00001010 11101010
= 7bits
11111111 11111111 11111111 10000000

4. Number of usable Hosts per Subnet (follow formula)


2 2 = 2 kuasa (n= Number of Host Bits per subnet)
27 2 = 126

5. Subnet Address first Host on this IP Address


IP Address 192. 192. 10. 234
11000000 11000000 00001010 11101010
11111111 11111111 11111111 10000000
Darab kan dalam bentuk binary
10101100 11000000 00001010 10000000

192. 192. 10. 128

6. IP Address of First Host on this subnet (formula= tambah 1 di nombor akhir)


IP Address 192. 192. 10. 128
11000000 11000000 00001010 11101010
11111111 11111111 11111111 10000000
Darab kan dalam bentuk binary
10101100 11000000 00001010 10000000

192. 192. 10. 128 + 1


IP Address : 192. 192. 10. 129
7. IP Address of Last Host on this subnet
IP Address 192. 192. 10. 128
11000000 11000000 00001010 11101010
11111111 11111111 11111111 10000000
Darab kan dalam bentuk binary
10101100 11000000 00001010 10000000

192. 192. 10. 128 + 126

IP Address : 192. 192. 10. 254

8. Broadcast Address of this subnet


IP Address 192. 192. 10. 128
11000000 11000000 00001010 11101010
11111111 11111111 11111111 10000000
Darab kan dalam bentuk binary
10101100 11000000 00001010 10000000

192. 192. 10. 128 + 126 +1

IP Address : 192. 192. 10. 255


Problem 4
Host IP Address 192. 192. 10. 234
Subnet Mask 255 .255 .255 .128
IP Address class = class c
1. Number of Subnet Bits 1 bits
2. Number of subnets 21 = 2
3. Number of Hosts Bits per subnet 7 bits
4. Number of usable Hosts per Subnet 2 2 = 126
5. Subnet Address for this IP Address 192. 192. 10. 126
6. IP Address of First Host on this Subnet 192. 192. 10. 127
7. IP Address of Last Host on this Subnet 192. 192. 10.254
8. Broadcast Address for this Subnet 192. 192. 10. 255
Change from decimal number to binary number
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 0
1 1 0 0 0 0 0 0

128 64 128 + 64 = 192

1. Number of subnet bits


Kira bilangan subnet bits 1 pada bahagian host
Network Host
11000000 10101000 00000011 11011011
11111111 11111111 11111111 11000000 =2bits

2. Number of subnets (follow formula)


2 = 2 kuasa (n= Number of subnet Bits)
22 = 4
3. Number of Host Bits per subnet
Kira bilangan Host bits 0 pada bahagian host
Network Host
11000000 10101000 00000011 11011011
= 6bits
11111111 11111111 11111111 11000000

4. Number of usable Hosts per Subnet (follow formula)


2 2 = 2 kuasa (n= Number of Host Bits per subnet)
26 2 = 62

5. Subnet Address First Host on this IP Address


IP Address 192. 168. 3. 192
11000000 10101000 00000011 11011011
11111111 11111111 11111111 11000000
Darab kan dalam bentuk binary
10101100 10101000 00000011 1100000

192. 168 3. 192

6. IP Address of First Host on this subnet (formula= tambah 1 di nombor akhir)

IP Address 192. 168. 3. 192


11000000 10101000 00000011 11011011
11111111 11111111 11111111 11000000
Darab kan dalam bentuk binary
10101100 10101000 00000011 1100000

192. 168 3. 192 + 1

IP Address : 192. 168. 3. 193


7. IP Address of Last Host on this subnet

IP Address 192. 168. 3. 192


11000000 10101000 00000011 11011011
11111111 11111111 11111111 11000000
Darab kan dalam bentuk binary
10101100 10101000 00000011 1100000

192. 168 3. 192 + 62

IP Address : 192. 168. 3. 254

8. Broadcast Address of this subnet

IP Address 192. 168. 3. 192


11000000 10101000 00000011 11011011
11111111 11111111 11111111 11000000
Darab kan dalam bentuk binary
10101100 10101000 00000011 1100000

192. 168 3. 192 + 62 + 1

IP Address : 192. 168. 3. 255


Problem
Host IP Address 192. 192. 10. 234
Subnet Mask 255 .255 .255 .128
IP Address class = class c
1. Number of Subnet Bits 6 bits
2. Number of subnets 26 = 64
3. Number of Hosts Bits per subnet 2 bits
4. Number of usable Hosts per Subnet 2 2 = 2
5. Subnet Address for this IP Address 192. 168. 3. 216
6. IP Address of First Host on this Subnet 192. 168. 3. 217
7. IP Address of Last Host on this Subnet 192. 168. 3. 218
8. Broadcast Address for this Subnet 192. 168. 3. 219
Change from decimal number to binary number
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 0
1 1 0 1 1 0 0 0

128 128 + 64 + 16 + 8 =216


64 16 8

1. Number of subnet bits


Kira bilangan subnet bits 1 pada bahagian host
Network Host
11000000 10101000 00000011 11011011
11111111 11111111 11111111 11111100 =2bits

2. Number of subnets (follow formula)


2 = 2 kuasa (n= Number of subnet Bits)
26 = 64
3. Number of Host Bits per subnet
Kira bilangan Host bits 0 pada bahagian host
Network Host
11000000 10101000 00000011 11011011
= 2bits
11111111 11111111 11111111 11111100

4. Number of usable Hosts per Subnet (follow formula)


2 2 = 2 kuasa (n= Number of Host Bits per subnet)
22 2 = 2

5. Subnet Address First Host on this IP Address


IP Address 192. 168. 3. 192
11000000 10101000 00000011 11011011
11111111 11111111 11111111 11111100
Darab kan dalam bentuk binary
10101100 10101000 00000011 11011000

192. 168 3. 216

6. IP Address of First Host on this subnet (formula= tambah 1 di nombor akhir)

IP Address 192. 168. 3. 192


11000000 10101000 00000011 11011011
11111111 11111111 11111111 11000000
Darab kan dalam bentuk binary
10101100 10101000 00000011 11011000

192. 168 3. 216 + 1

IP Address : 192. 168. 3. 217


7. IP Address of Last Host on this subnet

IP Address 192. 168. 3. 192


11000000 10101000 00000011 11011011
11111111 11111111 11111111 11111100
Darab kan dalam bentuk binary
10101100 10101000 00000011 11011000

192. 168 3. 216 + 2

IP Address : 192. 168. 3. 218

8. Broadcast Address of this subnet

IP Address 192. 168. 3. 192


11000000 10101000 00000011 11011011
11111111 11111111 11111111 11111100
Darab kan dalam bentuk binary
10101100 10101000 00000011 11011000

192. 168 3. 216 + 2 + 1

IP Address : 192. 168. 3. 219

You might also like