Assignment Network en ShukriED

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 21

IP Address Classes

Task 1: For a given IP address, determine network information.


Given :
Host IP Address 172.25.114.250
Network Mask
255.255.0.0(/16)
Find:
Network Address
Network Broadcast Address
Total Number Of Host Bits
Number Of Host

172.25.0 .0
172.25.255.255
16
216=65,534

Step 1: Translate host IP address and networkmsk into binary notation

172
25
114
250

27
128
1
0
0
1

26
64
0
0
1
1

25
32
1
0
1
1

24
16
0
1
1
1

23
8
1
1
0
1

22
4
1
0
0
0

21
2
0
0
1
1

20
1
0
1
0
0

255
255
0
0

27
128
1
1
0
0

26
64
1
1
0
0

25
32
1
1
0
0

24
16
1
1
0
0

23
8
1
1
0
0

22
4
1
1
0
0

21
2
1
1
0
0

20
1
1
1
0
0

Step 2: Determine the network address.


172
25
114
250
IP Address
: 10101100 . 00011001 . 01110010 . 11111010
Network Mask
: 11111111 . 11111111 . 00000000 . 00000000
Network Address : 10101100 . 00011001 . 00000000 . 00000000
172
25
0
0

(128+32+8+4)
(16+8+1)
(64+32+16+2)
(128+64+32+16+8+2)

(128+64+32+16+8+4+2+1)
(128+64+32+16+8+4+2+1)
0
0

1+1
1+0
0+1
0+0

1
0
0
0

Step 3: Determine the broadcast address for the network address.


172
25
0
0
Network Address : 10101100 . 00011001 . 00000000 . 00000000
Network Mask
: 11111111 . 11111111 . 00000000 . 00000000
Broadcast Address: 10101100 . 00011001 . 11111111 . 11111111
172
25
255
255

Host Bits
Network Mask

8
+
8
: 10101100 . 00011001 . 00000000 . 00000000
Network
Host(16-Bits) 2 octet division. Any Bits 0s represent
as host and can be variable

Total Number Of Hosts : 2H = X


X-2= Total Number Of Hosts
216 = 65536
65536-2=65534 (addresses that cannot use the all 0s address, network address,
or the all 1s address, broadcast address)

Task 2: Challenge
For all probems:
Create a Subnetting Worksheet to show and record all work for each problem.
Problem 1
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

172.30.1.33
255.255.0.0 (/16)
172.30.0.0
172.30.255.255
16
65534

172
30
1
33

27
128
1
0
0
0

26
64
0
0
0
0

25
32
1
0
0
1

24
16
0
1
0
0

23
8
1
1
0
0

22
4
1
1
0
0

21
2
0
1
0
0

20
1
0
0
1
1

255
255
0
0

27
128
1
1
0
0

26
64
1
1
0
0

25
32
1
1
0
0

24
16
1
1
0
0

23
8
1
1
0
0

22
4
1
1
0
0

21
2
1
1
0
0

20
1
1
1
0
0

172
30
1
33
IP Address
: 10101100.00011110.00000001.00100001
Network Mask
: 11111111.11111111.00000000.00000000
Network Address : 10101100.00011110.00000000.00000000
172
30
0
0
172
30
0
0
Network Address : 10101100.00011110.00000000.00000000
Network Mask
: 11111111.11111111.00000000.00000000
Broadcast Address: 10101100.00011110.11111111.11111111
172
30
255
255

8 +
8
Network Mask
: 11111111.11111111.00000000.00000000
Total Number Of Hosts : 2H = X
X-2= Total Number Of Hosts
216 = 65,536
65,536-2=65,534

Problem 2
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

172.30.1.33
255.255.255.0
172.17.0.0
172.17.255.255
8
254

172
30
1
33

27
128
1
0
0
0

26
64
0
0
0
0

25
32
1
0
0
1

24
16
0
1
0
0

23
8
1
1
0
0

22
4
1
1
0
0

21
2
0
1
0
0

20
1
0
0
1
1

255
255
0
0

27
128
1
1
0
0

26
64
1
1
0
0

25
32
1
1
0
0

24
16
1
1
0
0

23
8
1
1
0
0

22
4
1
1
0
0

21
2
1
1
0
0

20
1
1
1
0
0

IP Address
Network Mask
Network Address

172
30
1
33
: 10101100.00011110.00000001.00100001
: 11111111.11111111.00000000.00000000
: 10101100.00011110.00000000.00000000
172
30
0
0

Network Address
Network Mask
Broadcast Address

172
30
1
33
: 10101100.00011110.00000000.00000000
: 11111111.11111111.00000000.00000000
: 10101100.00011110.11111111.11111111
172
30
255
255

Total Number Of Hosts : 2H = X


X-2= Total Number Of Hosts
28 = 256
256-2=254

Problem 3
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

192.168.10.234
255.255.255.0
192.168.10.0
172.168.10.255
8
254

192
168
10
234

27
128
1
1
0
1

26
64
1
0
0
1

25
32
0
1
0
1

24
16
0
0
0
0

23
8
0
1
1
1

22
4
0
0
0
0

21
2
0
0
1
1

20
1
0
0
0
0

255
255
255
0

27
128
1
1
1
0

26
64
1
1
1
0

25
32
1
1
1
0

24
16
1
1
1
0

23
8
1
1
1
0

22
4
1
1
1
0

21
2
1
1
1
0

20
1
1
1
1
0

IP Address
Network Mask
Network Address

192
168
10
234
: 10101100.00010000.01100011.01000111
: 11111111.11111111.11111111.00000000
: 10101100.00010000.01100011.00000000
192
168
0
0

Network Address
Network Mask
Broadcast Address

172
17
0
0
: 10101100.00010000.01100011.00000000
: 11111111.11111111.11111111.00000000
: 10101100.00010000.01100011.11111111
172
17
10
255

Total Number Of Hosts : 2H = X


X-2= Total Number Of Hosts
28 = 256
256-2=254

Problem 4
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

172.17.99.71
255.255.0.0
172.17.0.0
172.17.255.255
16
65534

172
17
99
71

27
128
1
0
0
0

26
64
0
0
1
1

25
32
1
0
1
0

24
16
0
1
0
0

23
8
1
0
0
0

22
4
1
0
0
1

21
2
0
0
1
1

20
1
0
0
1
1

255
255
0
0

27
128
1
1
0
0

26
64
1
1
0
0

25
32
1
1
0
0

24
16
1
1
0
0

23
8
1
1
0
0

22
4
1
1
0
0

21
2
1
1
0
0

20
1
1
1
0
0

IP Address
Network Mask
Network Address

172
17
99
71
: 10101100.00010000.01100011.01000111
: 11111111.11111111.00000000.00000000
: 10101100.00010000.00000000.00000000
172
17
0
0

Network Address
Network Mask
Broadcast Address

172
17
0
0
: 10101100.00010000.00000000.00000000
: 11111111.11111111.00000000.00000000
: 10101100.00010000.11111111.11111111
172
17
255
255

Total Number Of Hosts : 2H = X


X-2= Total Number Of Hosts
216 = 65,536
65,536-2=65,534

Problem 5
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

192.168.3.219
255.255.0.0
192.168.0.0
192.168.255.255
16
65534

192
168
3
219

27
128
1
1
0
1

26
64
1
0
0
1

25
32
0
1
0
0

24
16
0
0
0
1

23
8
0
1
0
1

22
4
0
0
0
0

21
2
0
0
1
1

20
1
0
0
1
1

255
255
0
0

27
128
1
1
0
0

26
64
1
1
0
0

25
32
1
1
0
0

24
16
1
1
0
0

23
8
1
1
0
0

22
4
1
1
0
0

21
2
1
1
0
0

20
1
1
1
0
0

IP Address
Network Mask
Network Address

192
168
3
219
: 11000000.10101000.00000011.11011011
: 11111111.11111111.00000000.00000000
: 11000000.10101000.00000000.00000000
192
168
0
0

Network Address
Network Mask
Broadcast Address

192
168
0
0
: 11000000.10101000.00000000.00000000
: 11111111.11111111.00000000.00000000
: 11000000.10101000.11111111.11111111
192
168
255
255

Total Number Of Hosts : 2H = X


X-2= Total Number Of Hosts
216 = 65,536
65,536-2=65,534

Problem 6
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts

192.168.3.219
255.255.255.224
192.168.3.192
192.168.3.223
5
30

192
168
3
219

27
128
1
1
0
1

26
64
1
0
0
1

25
32
0
1
0
0

24
16
0
0
0
1

23
8
0
1
0
1

22
4
0
0
0
0

21
2
0
0
1
1

20
1
0
0
1
1

255
255
255
224

27
128
1
1
1
1

26
64
1
1
1
1

25
32
1
1
1
1

24
16
1
1
1
0

23
8
1
1
1
0

22
4
1
1
1
0

21
2
1
1
1
0

20
1
1
1
1
0

IP Address
Network Mask
Network Address

192
168
3
219
: 11000000.10101000.00000011.11011011
: 11111111.11111111.11111111.11111110
: 11000000.10101000.00000011.11011010
192
168
3
192

Network Address
Network Mask
Broadcast Address

192
168
3
192
: 11000000.10101000.00000011.11011010
: 11111111.11111111.11111111.11111110
: 11101100.10101000.00000011.11011010
172
17
3
223

Network Mask

: 11111111.11111111.11111111.11100000

Total Number Of Hosts : 2H = X


X-2= Total Number Of Hosts
25 = 32
32-2=30

SUBNETTING
Task 1: For a Given IP Address and Subnet Mask, Determine Subnet Information
Host IP Address
Network Mask
Subnet Mask

172.25.114.250
255.255.0.0(/16)
255.255.255.192(/26)

Find:
Number of subnet bits
Number of subnets
Number of Host Bits per Subnet
Number of usable Hosts per subnet
Subnet Address for this IP Address
IP Address of first host on this Subnet
IP Address of last host on this Subnet
Broadcast Address for this Subnet

10
210 = 1024 subnet
6
26 = 64 2 = 62 bit per subnet
172.25.114.192
172.25.114.193
172.25.114.254
172.25.114.255

Step 1: Translate host IP Address and subnet mask into binary notation.
172
25
114
250
10101100
00011001
01110010
11111010
11111111
11111111
11111111
11000000
10101100
00011001
01110010
11000000
172
25
114
192

IP Address
Subnet Mask
Subnet Address

Subnet address for this IP address 172.25.114.192


Identify the bit ranges for subnet and hosts.
172
25
IP ADDRESS
10101110
00011001
11111111
111111111
SUBNET MASK
255
255

SUBNET MASK = 11111111.11111111.00000000.00000000


= Network : 2^8=256
Number of usable host bits per subnet
=16 Bits
Number os usable host per subnet
=host : 2^6=65536-2=65534

114
01110010
00000000
0

250
11111010
00000000
0

Problem 1
IP ADDRESS
SUBNET MASK

IP ADDRESS
SUBNET MASK

172.30.1.33
255.255.255.0

172
10101110
11111111
255

30
00011110
111111111
255

1
00000001
11111111
255

33
00100001
00000000
0

1
00000001
11111111
255
00000001
1

33
00100001
00000000
0
00000000
0

1
00000001
11111111
255
00000001
1
00000001
1

33
00100001
00000000
0
00000000
0
11111111
255

Total number of Subnet Mask


= 11111111.11111111.11111111.00000000
= network = 2^8 = 256
Number of Hosts Bits per Subnet
= 8 bits
Number of Usable Hosts per Subnet
= hosts = 2^8 = 256 2 = 254

NETWORK
172
30
10101110
00011110
11111111
111111111
SUBNET MASK
255
255
10101110
00011110
NETWORK
172
30
NETWORK
= IP ADDRESS + SUBNET MASK
172= 10101110 30=00011110 1= 00000001 33= 00100001
11111111
11111111
11111111
00000000
10101110
00011001
00000001
00000000
NETWORK
= 10101110.00011001. 00000001.00000000
=172.30.1.0
IP ADDRESS

BROADCAST
IP ADDRESS
SUBNET MASK
NETWORK
BROADCAST

172
10101110
11111111
255
10101110
172
10101110
172

30
00011110
111111111
255
00011110
30
00011110
30

BROADCAST = replace the number 0 to number 1 appearing on network address


10101110
00011110
00000001
NETWORK
172
30
1
10101110
00011110
00000001
BROADCAST
172
30
1

00000000
0
11111111
255

FIRST HOST
1
00000001
11111111
255
00000001
1
00000001
1
1
00000001

33
00100001
00000000
0
00000000
0
11111111
255
1
00000001

First Host = replace the number 0 be the number 1 at 32 bits in the Broadcast
10101110
00011110
00000001
BROADCAST
172
30
1
172
30
1
FIRST HOST
10101110
00011110
00000001

11111111
255
1
00000001

IP ADDRESS
SUBNET MASK
NETWORK
BROADCAST
FIRST HOST

IP ADDRESS
SUBNET MASK
NETWORK
BROADCAST
FIRST HOST
LAST HOST

172
10101110
11111111
255
10101110
172
10101110
172
172
10101110

172
10101110
11111111
255
10101110
172
10101110
172
172
10101110
172
10101110

30
00011110
111111111
255
00011110
30
00011001
30
30
00011110

30
00011110
111111111
255
00011110
30
00011110
30
30
00011110
30
00011110

1
00000001
11111111
255
00000001
1
00000001
1
1
00000001
1
00000001

Last Host = replace the number 0 be the number 1 at 17-31 bits in the Broadcast
172
30
1
FIRST HOST
10101110
00011110
00000001
172
30
1
LAST HOST
10101110
00011110
00000001

Result
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADDRESS FOR THIS SUBNET

172.30.1.33
255.255.255.0
8 BITS
2^8 = 256
256
2^8 2 = 256 2 = 254
172.30.1.0
172.30.1.1
172.30.1.254
172.30.1.255

33
00100001
00000000
0
00000000
0
11111111
255
1
00000001
254
11111110

1
00000001
254
11111110

Problem 2
IP ADDRESS
SUBNET MASK

172.30.1.33
255.255.255.252
1
00000001
11111111
255

33
00100001
11111100
252

1
00000001
11111111
255
00000001
1

33
00100001
11111100
252
00100000
32

1
00000001
11111111
255
00000001
1
00000001
1

33
00100001
11111100
252
00100000
32
00100001
33

First Host = replace the number 0 be the number 1 at 32 bits in the Broadcast
10101110
00011110
00000001
NETWORK
172
30
1
10101110
00011110
00000001
FIRST HOST
172
30
1

00100000
32
00100001
33

IP ADDRESS
SUBNET MASK

172
10101110
11111111
255

30
00011001
111111111
255

Total number of Subnet Mask


= 11111111.11111111.11111111.11111100
Network
= 2^14 = 16384
Number of Hosts Bits per Subnet
= 2 bits
Number of Usable Hosts per Subnet
= hosts = 2^2 = 4 2 = 2
NETWORK
172
30
10101110
00011110
11111111
111111111
SUBNET MASK
255
255
10101110
00011110
NETWORK
172
30
NETWORK
= IP ADDRESS + SUBNET MASK
172= 10101110 30=00011110 1= 00000001 33= 00100001
11111111
11111111
11111111
11111100
10101110
00011001
00000001
00100000
NETWORK
= 10101110.00011001. 00000001.00100000
=172.30.1.32
IP ADDRESS

FIRST HOST
IP ADDRESS
SUBNET MASK
NETWORK
FIRST HOST

172
10101110
11111111
255
10101110
172
10101110
172

30
00011110
111111111
255
00011110
30
00011110
30

LAST HOST
IP ADDRESS
SUBNET MASK
NETWORK
LAST HOST

172
10101110
11111111
255
10101110
172
10101110
172

30
00011110
111111111
255
00011110
30
00011110
30

1
00000001
11111111
255
00000001
1
00000001
1

33
00100001
11111100
252
00100000
32
00100010
34

Last host = replace a number from 0to 1 on the host range subnet add except on the last bit remains 0.
10101110
00011110
00000001
00100000
NETWORK
172
30
1
32
10101110
00011110
00000001
00100010
LAST HOST
172
30
1
34

BROADCAST
IP ADDRESS
SUBNET MASK
NETWORK
BROADCAST

172
10101110
11111111
255
10101110
172
10101110
172

30
00011110
111111111
255
00011110
30
00011110
30

1
00000001
11111111
255
00000001
1
00000001
1

BROADCAST = replace the number 0 to number 1 appearing on network address


10101110
00011110
00000001
NETWORK
172
30
1
10101110
00011110
00000001
BROADCAST
172
30
1

RESULT
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADDRESS FOR THIS SUBNET

33
00100001
11111100
252
00100000
32
00100011
35

00000000
0
00000011
35

172.30.1.33
255.255.255.252
14 BITS
2^14 = 16384
4
2^4 2 =4 2 = 2 host per subnet
172.30.1.32
172.30.1.33
172.30.1.34
172.30.1.35

PROBLEM 3
IP ADDRESS
SUBNET MASK

192.192.10.234
255.255.255.0
10
00001010
11111111
255

234
11101010
00000000
0

10
00001010
11111111
255
00001010
10

234
11101010
00000000
0
00000000
0

10
00001010
11111111
255
00001010
10
00001010
10

234
11101010
00000000
0
00000000
0
00000001
1

First Host = replace the number 0 be the number 1 at 32 bits in the Broadcast
11000000
11000000
00001010
NETWORK
192
192
10
11000000
11000000
00001010
FIRST HOST
192
192
10

00000000
0
00000001
1

IP ADDRESS
SUBNET MASK

192
11000000
11111111
255

192
11000000
111111111
255

Total number of Subnet Mask


= 11111111.11111111.11111111.00000000
Network
= 2^8 = 256
Number of Hosts Bits per Subnet
= 8 bits
Number of Usable Hosts per Subnet
= hosts = 2^8 = 256 2 = 254
NETWORK
192
192
11000000
11000000
11111111
111111111
SUBNET MASK
255
255
11000000
11000000
NETWORK
192
192
NETWORK
= IP ADDRESS + SUBNET MASK
192= 11000000 192=11000000 10= 00001010 234= 11101010
11111111
11111111
11111111
11111100
11000000
11000000
00001010
00000000
NETWORK
= 110000001100000000001010 00000000
=192.192.10.234
IP ADDRESS

FIRST HOST
IP ADDRESS
SUBNET MASK
NETWORK
FIRST HOST

192
11000000
11111111
255
11000000
192
11000000
192

192
11000000
111111111
255
11000000
192
11000000
192

LAST HOST
IP ADDRESS
SUBNET MASK
NETWORK
LAST HOST

192
11000000
11111111
255
11000000
192
11000000
192

192
11000000
111111111
255
11000000
192
11000000
192

10
00001010
11111111
255
00001010
10
00001010
10

234
11101010
00000000
0
00000000
0
11111110
254

Last host = replace a number from 0 to 1 on the host range subnet add except on the last bit remains
0.
11000000
11000000
00001010
00000000
NETWORK
192
192
10
0
11000000
11000000
00001010
11111110
LAST HOST
192
192
10
254

BROADCAST
IP ADDRESS
SUBNET MASK
NETWORK
BROADCAST

192
11000000
11111111
255
11000000
192
11000000
192

192
11000000
111111111
255
11000000
192
11000000
192

10
00001010
11111111
255
00001010
10
00001010
10

BROADCAST = replace the number 0 to number 1 appearing on network address


11000000
11000000
00001010
NETWORK
192
192
10
11000000
11000000
00001010
BROADCAST
192
192
10
RESULT
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADDRESS FOR THIS SUBNET

234
11101010
00000000
0
00000000
0
11111111
255

00000000
0
11111111
255

192.192.10.234
255.255.255.0
8 BITS
2^8 = 256
8 BITS
2^8 2 =256 2 = 254 host per subnet
192.192.10.0
192.192.10.1
192.192.10.254
192.192.10.255

PROBLEM 4
IP ADDRESS
SUBNET MASK

172.17.99.71
255.255.0.0
99
01100011
00000000
0

71
01000111
00000000
0

99
01100011
00000000
0
00000000
0

71
01000111
00000000
0
00000000
0

99
01100011
00000000
0
00000000
0
00000000
0

71
01000111
00000000
0
00000000
0
00000001
1

First Host = replace the number 0 be the number 1 at 32 bits in the Broadcast
10101100
00010001
00000000
NETWORK
172
17
0
10101100
00010001
00000000
FIRST HOST
172
17
0

00000000
0
00000001
1

IP ADDRESS
SUBNET MASK

172
10101100
11111111
255

17
00010001
111111111
255

Total number of Subnet Mask


= 11111111.11111111.00000000.00000000
Network
= 2^0 = 1
Number of Hosts Bits per Subnet
= 16 bits
Number of Usable Hosts per Subnet
= hosts = 2^16 = 65536 2 = 65534
NETWORK
172
17
10101100
00010001
11111111
111111111
SUBNET MASK
255
255
10101100
00010001
NETWORK
172
17
NETWORK
= IP ADDRESS + SUBNET MASK
172= 10101100 17=00010001 99= 01100011 234= 01000111
11111111
11111111
00000000
00000000
10101100
00010001
00000000
00000000
NETWORK
= 10101100 00010001 00000000 00000000
=172.17.0.0
IP ADDRESS

FIRST HOST
IP ADDRESS
SUBNET MASK
NETWORK
FIRST HOST

172
10101100
11111111
255
10101100
172
10101100
172

17
00010001
111111111
255
00010001
17
00010001
17

LAST HOST
IP ADDRESS
SUBNET MASK
NETWORK
LAST HOST

172
10101100
11111111
255
10101100
172
10101100
172

17
00010001
111111111
255
00010001
17
00010001
17

99
01100011
00000000
0
00000000
0
11111111
255

71
01000111
00000000
0
00000000
0
11111110
254

Last host = replace a number from 0to 1 on the host range subnet add except on the last bit remains 0.
10101100
00010001
00000000
00000000
NETWORK
172
17
0
0
10101100
00010001
11111111
11111110
LAST HOST
172
17
255
254

BROADCAST
IP ADDRESS
SUBNET MASK
NETWORK
BROADCAST

172
10101100
11111111
255
10101100
172
10101100
172

17
00010001
111111111
255
00010001
17
00010001
17

99
01100011
00000000
0
00000000
0
11111111
255

BROADCAST = replace the number 0 to number 1 appearing on network address


10101100
00010001
00000000
NETWORK
172
17
0
10101100
00010001
11111111
BROADCAST
172
17
255
RESULT
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADDRESS FOR THIS SUBNET

71
01000111
00000000
0
00000000
0
11111111
255

00000000
0
11111111
255

172.17.99.71
255.255.0.0
0 BITS
2^0 = 1
16 BITS
2^16 2 =65536 2 = 65534 host per subnet
172.17.0.0
172.17.0.1
172.17.255.254
172.17.255.255

PROBLEM 5
IP ADDRESS
SUBNET MASK
IP ADDRESS
SUBNET MASK

192.168.3.219
255.255.255.0
192
11000000
11111111
255

168
10101000
111111111
255

3
00000011
11111111
255

219
11011011
00000000
0

Total number of Subnet Mask


= 11111111.11111111. 11111111.00000000
Network
= 2^8 = 256
Number of Hosts Bits per Subnet
= 8 bits
Number of Usable Hosts per Subnet
= hosts = 2^8 = 256 2 = 254
NETWORK
192
168
11000000
10101000
11111111
111111111
SUBNET MASK
255
255
192
168
NETWORK
11000000
10101000
NETWORK
= IP ADDRESS + SUBNET MASK
192= 11000000 168=10101000 3= 00000011 219= 11011011
11111111
11111111
00000000
00000000
11000000
10101000
00000011
00000000
NETWORK
= 11000000101010000000001100000000
=192.168.3.0

3
00000011
11111111
255
3
00000011

219
11011011
00000000
0
0
00000000

3
00000011
11111111
255
3
00000011
00000011
3

219
11011011
00000000
0
0
00000000
00000001
1

First Host = replace the number 0 be the number 1 at 32 bits in the Broadcast
192
168
3
NETWORK
11000000
10101000
00000011
11000000
10101000
00000011
FIRST HOST
192
168
3

0
00000000
00000001
1

IP ADDRESS

FIRST HOST
IP ADDRESS
SUBNET MASK
NETWORK
FIRST HOST

192
11000000
11111111
255
192
11000000
11000000
192

168
10101000
111111111
255
168
10101000
10101000
168

LAST HOST
IP ADDRESS
SUBNET MASK
NETWORK
LAST HOST

192
11000000
11111111
255
192
11000000
11000000
192

168
10101000
111111111
255
168
10101000
10101000
168

3
00000011
11111111
255
3
00000011
00000011
3

219
11011011
00000000
0
0
00000000
11111110
254

Last host = replace a number from 0to 1 on the host range subnet add except on the last bit remains 0.
192
168
3
0
NETWORK
11000000
10101000
00000011
00000000
11000000
10101000
00000011
11111110
LAST HOST
192
168
3
254

BROADCAST
IP ADDRESS
SUBNET MASK
NETWORK
BROADCAST

192
11000000
11111111
255
192
11000000
11000000
192

168
10101000
111111111
255
168
10101000
10101000
168

3
00000011
11111111
255
3
00000011
00000011
3

BROADCAST = replace the number 0 to number 1 appearing on network address


192
168
3
NETWORK
11000000
10101000
00000011
11000000
10101000
00000011
BROADCAST
192
168
3
RESULT
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADDRESS FOR THIS SUBNET

219
11011011
00000000
0
0
00000000
11111111
255

0
00000000
11111111
255

192.168.3.219
255.255.255.0
8 BITS
2^8 = 256
8 BITS
2^8 2 =256 2 = 254 host per subnet
192.168.3.0
192.168.3.1
192.168.3.254
192.168.3.255

PROBLEM 6
IP ADDRESS
SUBNET MASK
IP ADDRESS
SUBNET MASK

192.168.3.219
255.255.255.252
192
11000000
11111111
255

168
10101000
111111111
255

3
00000011
11111111
255

219
11011011
11111100
252

Total number of Subnet Mask


= 11111111.11111111. 11111111.11111100
Network
= 2^14 = 16384
Number of Hosts Bits per Subnet
= 2 bits
Number of Usable Hosts per Subnet
= hosts = 2^2 = 4 2 = 2
NETWORK
192
168
11000000
10101000
11111111
111111111
SUBNET MASK
255
255
192
168
NETWORK
11000000
10101000
NETWORK
= IP ADDRESS + SUBNET MASK
192= 11000000 168=10101000 3= 00000011 216= 11011000
11111111
11111111
00000000
11111100
11000000
10101000
00000011
11011000
NETWORK
= 11000000101010000000001111011000
=192.168.3.216

3
00000011
11111111
255
3
00000011

219
11011011
11111100
252
216
11011000

3
00000011
11111111
255
3
00000011
00000011
3

219
11011011
11111100
252
216
11011000
11011001
217

First Host = replace the number 0 be the number 1 at 32 bits in the Broadcast
192
168
3
NETWORK
11000000
10101000
00000011
11000000
10101000
00000011
FIRST HOST
192
168
3

216
11011000
11011001
217

IP ADDRESS

FIRST HOST
IP ADDRESS
SUBNET MASK
NETWORK
FIRST HOST

192
11000000
11111111
255
192
11000000
11000000
192

168
10101000
111111111
255
168
10101000
10101000
168

LAST HOST
IP ADDRESS
SUBNET MASK
NETWORK
LAST HOST

192
11000000
11111111
255
192
11000000
11000000
192

168
10101000
111111111
255
168
10101000
10101000
168

3
00000011
11111111
255
3
00000011
00000011
3

219
11011011
11111100
252
216
11011000
11011010
218

Last host = replace a number from 0 to 1 on the host range subnet add except on the last bit remains
0.
192
168
3
216
NETWORK
11000000
10101000
00000011
11011000
11000000
10101000
00000011
11011010
LAST HOST
192
168
3
218

BROADCAST
IP ADDRESS
SUBNET MASK
NETWORK
BROADCAST

192
11000000
11111111
255
192
11000000
11000000
192

168
10101000
111111111
255
168
10101000
10101000
168

3
00000011
11111111
255
3
00000011
00000011
3

BROADCAST = replace the number 0 to number 1 appearing on network address


192
168
3
NETWORK
11000000
10101000
00000011
11000000
10101000
00000011
BROADCAST
192
168
3
RESULT
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADDRESS FOR THIS SUBNET

219
11011011
11111100
252
216
11011000
11011011
219

216
11011000
11011011
219

192.168.3.219
255.255.255.252
14 BITS
2^14 = 16384
2 BITS
2^2 2 =4 2 = 2 host per subnet
192.168.3.216
192.168.3.217
192.168.3.218
192.168.3.219

You might also like