assigment cisco 2

12
Determine subnet information for a given IP address and subnetwork mask. Task 2: Challenge. Problem 1 (1) IP Address  172.30.1.33 (2) Subnet Mask  255.255.255.0 Number of IP Address and Subnet Mask after convert to binary (1) IP  10101100.00011110.00000001.00100001 (2) Subnet  11111111.11111111.11111111.00000000 Determine the number of Subnet Bits No. of Subnet Bits= 8(11111111.11111111. 11111111.00000000) No. of Subnets = 2 n = 2 8  = 256 Determine the number of Host Bits per Subnet No. of Host Bits per Subnet= 8(11111111.11111111.11111111. 00000000) No. of Usable Host per Subnet = 2 n = 2 8 -2 = 256-2 = 254 Calculate the Subnet Address for IP Address *Perform a bit-wise AND (Multiply) operation on the IP address and the subnet mask* (1 AND 1 = 1 ; 0 AND 1 = 0) 10101100 00011110 00000001 00100001 (IP Address) AND AND AND AND 11111111 11111111 11111111 00000000 (Subnet Mask) 10101100 00011110 00000001 00000000 (Subnet Address) 172 30 1 0 Subnet Address = 172.30.255.0 Determine the IP Address of the first Host on this Subnet 10101100 00011110 00000001 00000000 (Subnet Address) 10101100 00011110 00000001 00000001 (Change the 1 st  Host from 1 to 0) After Change = 172.30.1.1 Determine the IP Address of Last Host on this Subnet *Perform an invert (swap 0 to 1, 1 to 0) on the 1 st  Host IP Address and the Last Host IP Address *(invert the number in host bits counting range) 10101100 00011110 00000001 00000001 (1 st  Host IP Address) Inverted 10101100 00011110 00000001 11111110 (Last Host IP Address) 172 30 1 254 After Invert = 172.30.1.254 (n = Subnet Bits [Count the number of 1 right before the number of 0 in Subnet Mask to get the number of Subnet Bits]) (n = Subnet Bits [Count the number of 0 in Subnet Mask to get the number of Subnet Bits  

Upload: mr-lucky

Post on 07-Aug-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 1/12

Page 2: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 2/12

Determine the Broadcast Address for this Subnet

10101100 00011110 00000001 00000000 (Last Host IP Address) 

10101100 00011110 00000001 11111111 ([Broadcast Address] Change the

number from 0 to 1) 

After Change = 172.30.1.255

Information Table

Host IP Address 172.30.1.33

Subnet Mask 255.255.255.0

Number Of Subnet Bits 8

Number Of Subnet 256

Number Of Host Bits Per Subnet 8

Number Of Usable Hosts Per Subnet 254

Subnet Address For This IP Address 172.30.1.0

IP Address Of First Host IP Address 172.30.1.1

IP Address Of Last Host IP Address 172.30.1.254Broadcast Address For This Subnet 172.30.1.255

Page 3: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 3/12

Problem 2

(1) 

IP Address – 172.30.1.33

(2)  Subnet Mask – 255.255.255.252

Number of IP Address and Subnet Mask after convert to binary

(1) 

IP –

  10101100.00011110.00000001.001000 01

(2) 

Subnet –  11111111.11111111.11111111.111111 00

Determine the number of Subnet Bits

No. of Subnet Bits= 14(11111111.11111111.11111111.111111 00)

No. of Subnets = 2n 

= 214 

= 16,384

Determine the number of Host Bits per Subnet

No. of Host Bits per Subnet= 2(11111111.11111111.11111111.111111 00)No. of Usable Host per Subnet = 2n 

= 22-2

= 4-2

= 2

Calculate the Subnet Address for IP Address

*Perform a bit-wise AND (Multiply) operation on the IP address and the subnet mask*

(1 AND 1 = 1 ; 0 AND 1 = 0) 

10101100 00011110 00000001 001000 01 (IP Address) 

AND AND AND AND11111111 11111111 11111111 111111 00 (Subnet Mask) 

10101100 00011110 00000001 001000 00 (Subnet Address) 

172 30 1 32

Subnet Address = 172.30.255.32

Determine the IP Address of the first Host on this Subnet

10101100 00011110 00000001 000000 00 (Subnet Address) 

10101100 00011110 00000001 001000 01 (Change the 1st Host from 1 to 0) 

After Change = 172.30.1.33

Determine the IP Address of Last Host on this Subnet

*Perform an invert (swap 0 to 1, 1 to 0) on the 1st Host IP Address and the Last Host IP

Address *(invert the number in host bits counting range)

10101100 00011110 00000001 000000 01 (1st Host IP Address) 

Inverted

10101100 00011110 00000001 001000 10 (Last Host IP Address) 

172 30 1 34

After Invert = 172.30.1.34

(n = Subnet Bits [Count the number

of 1 right before the number of 0 in

Subnet Mask to get the number of

Subnet Bits])

(n = Subnet Bits [Count the number

of 0 in Subnet Mask to get the

number of Subnet Bits  

Page 4: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 4/12

Determine the Broadcast Address for this Subnet

10101100 00011110 00000001 111111 10 (Last Host IP Address) 

10101100 00011110 00000001 001000 11 ([Broadcast Address] Change the

number from 0 to 1) 

After Change = 172.30.1.35

Information Table

Host IP Address 172.30.1.33

Subnet Mask 255.255.255.252

Number Of Subnet Bits 14

Number Of Subnet 16,384

Number Of Host Bits Per Subnet 2

Number Of Usable Hosts Per Subnet 2

Subnet Address For This IP Address 172.30.1.32

IP Address Of First Host IP Address 172.30.1.33

IP Address Of Last Host IP Address 172.30.1.34Broadcast Address For This Subnet 172.30.1.35

Page 5: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 5/12

Problem 3

(1) 

IP Address – 192.192.10.234

(2)  Subnet Mask – 255.255.255.0

Number of IP Address and Subnet Mask after convert to binary

(1) 

IP –

  11000000.11000000.00001010.11101010

(2) 

Subnet –  11111111.11111111.11111111.00000000

Determine the number of Subnet Bits

No. of Subnet Bits= 8(11111111.11111111.11111111.00000000)

No. of Subnets = 2n 

= 28 

= 256

Determine the number of Host Bits per Subnet

No. of Host Bits per Subnet= 8(11111111.11111111.11111111.00000000)No. of Usable Host per Subnet = 2n 

= 28-2

= 256-2

= 254

Calculate the Subnet Address for IP Address

*Perform a bit-wise AND (Multiply) operation on the IP address and the subnet mask*

(1 AND 1 = 1 ; 0 AND 1 = 0) 

11000000 11000000 00001010 11101010 (IP Address) 

AND AND AND AND11111111 11111111 11111111 00000000 (Subnet Mask) 

11000000 11000000 00001010 00000000 (Subnet Address) 

192 192 10 0

Subnet Address = 192.192.10.0

Determine the IP Address of the first Host on this Subnet

11000000 11000000 00001010 00000000 (Subnet Address) 

11000000 11000000 00001010 00000001 (Change the 1st Host from 1 to 0) 

After Change = 192.192.10.1

Determine the IP Address of Last Host on this Subnet

*Perform an invert (swap 0 to 1, 1 to 0) on the 1st Host IP Address and the Last Host IP

Address *(invert the number in host bits counting range)

11000000 11000000 00001010 00000001 (1st Host IP Address) 

Inverted 

11000000 11000000 00001010 11111110 (Last Host IP Address) 

192 192 10 254

After Invert = 192.192.10.254

(n = Subnet Bits [Count the number

of 1 right before the number of 0 in

Subnet Mask to get the number of

Subnet Bits])

(n = Subnet Bits [Count the number

of 0 in Subnet Mask to get the

number of Subnet Bits  

Page 6: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 6/12

Determine the Broadcast Address for this Subnet

11000000 11000000 00001010 11111110 (Last Host IP Address) 

11000000 11000000 00001010 11111111 ([Broadcast Address] Change the

number from 0 to 1) 

After Change = 192.192.10.255

Information Table

Host IP Address 192.192.10.234

Subnet Mask 255.255.255.0

Number Of Subnet Bits 0

Number Of Subnet 1

Number Of Host Bits Per Subnet 8

Number Of Usable Hosts Per Subnet 254

Subnet Address For This IP Address 192.192.10.0

IP Address Of First Host IP Address 192.192.10.1

IP Address Of Last Host IP Address 192.192.10.254Broadcast Address For This Subnet 192.192.10.255

Page 7: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 7/12

Problem 4

(1) 

IP Address – 172.17.99.71

(2)  Subnet Mask – 255.255.0.0

Number of IP Address and Subnet Mask after convert to binary

(1) 

IP –

  10101100.00010001.01100011.01000111

(2) 

Subnet –  11111111.11111111.00000000.00000000

Determine the number of Subnet Bits

No. of Subnet Bits= 0(11111111.11111111.00000000.00000000)

No. of Subnets = 2n 

= 20 

= 1

Determine the number of Host Bits per Subnet

No. of Host Bits per Subnet= 16(11111111.11111111.00000000.00000000)No. of Usable Host per Subnet = 2n 

= 216-2

= 65,536-2

= 65,564

Calculate the Subnet Address for IP Address

*Perform a bit-wise AND (Multiply) operation on the IP address and the subnet mask*

(1 AND 1 = 1 ; 0 AND 1 = 0) 

10101100 00010001 01100011 01000111 (IP Address) 

AND AND AND AND11111111 11111111 11111111 00000000 (Subnet Mask) 

10101100 00010001 00000000 00000000 (Subnet Address) 

172 17 0 0

Subnet Address = 172.17.0.0

Determine the IP Address of the first Host on this Subnet

10101100 00010001 00000000 00000000 (Subnet Address) 

10101100 00010001 00000000 00000001 (Change the 1st Host from 1 to 0) 

After Change = 172.17.0.1

Determine the IP Address of Last Host on this Subnet

*Perform an invert (swap 0 to 1, 1 to 0) on the 1st Host IP Address and the Last Host IP

Address *(invert the number in host bits counting range)

10101100 00010001 00000000 00000001 (1st Host IP Address) 

Inverted  Inverted

10101100 00010001 11111111  11111110 (Last Host IP Address) 

172 17 255 254

After Invert = 172.17.255.254

(n = Subnet Bits [Count the number

of 1 right before the number of 0 in

Subnet Mask to get the number of

Subnet Bits])

(n = Subnet Bits [Count the number

of 0 in Subnet Mask to get the

number of Subnet Bits  

Page 8: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 8/12

Determine the Broadcast Address for this Subnet

10101100 00010001 11111111 11111110 (Last Host IP Address) 

10101100 00010001 11111111 11111111 ([Broadcast Address] Change the

number from 0 to 1) 

After Change = 172.17.255.255

Information Table

Host IP Address 172.17.99.71

Subnet Mask 255.255.0.0

Number Of Subnet Bits 0

Number Of Subnet 1

Number Of Host Bits Per Subnet 16

Number Of Usable Hosts Per Subnet 65 534

Subnet Address For This IP Address 172.17.0.0

IP Address Of First Host IP Address 172.17.0.1

IP Address Of Last Host IP Address 172.17.255.254Broadcast Address For This Subnet 172.17.255.255

Page 9: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 9/12

Problem 5

(1) 

IP Address – 192.168.3.219

(2)  Subnet Mask – 255.255.255.0

Number of IP Address and Subnet Mask after convert to binary

(1) 

IP –

  11000000.10101000.00000011.11011011

(2) 

Subnet –  11111111.11111111.11111111.00000000

Determine the number of Subnet Bits

No. of Subnet Bits= 8(11111111.11111111.11111111.00000000)

No. of Subnets = 2n 

= 28 

= 256

Determine the number of Host Bits per Subnet

No. of Host Bits per Subnet= 8(11111111.11111111.11111111.00000000)No. of Usable Host per Subnet = 2n 

= 28-2

= 256-2

= 254

Calculate the Subnet Address for IP Address

*Perform a bit-wise AND (Multiply) operation on the IP address and the subnet mask*

(1 AND 1 = 1 ; 0 AND 1 = 0) 

11000000 10101000 00000011 11011011 (IP Address) 

AND AND AND AND11111111 11111111 11111111 00000000 (Subnet Mask) 

11000000 10101000 00000011 00000000 (Subnet Address) 

192 168 3 0

Subnet Address = 192.168.3.0

Determine the IP Address of the first Host on this Subnet

11000000 10101000 00000011 00000000 (Subnet Address) 

11000000 10101000 00000011 00000001 (Change the 1st Host from 1 to 0) 

After Change = 192.168.3.1

Determine the IP Address of Last Host on this Subnet

*Perform an invert (swap 0 to 1, 1 to 0) on the 1st Host IP Address and the Last Host IP

Address *(invert the number in host bits counting range)

11000000 10101000 00000011 00000001 (1st Host IP Address) 

Inverted 

11000000 10101000 00000011 11111110 (Last Host IP Address) 

172 30 1 254

After Invert = 192.168.3.254

(n = Subnet Bits [Count the number

of 1 right before the number of 0 in

Subnet Mask to get the number of

Subnet Bits])

(n = Subnet Bits [Count the number

of 0 in Subnet Mask to get the

number of Subnet Bits  

Page 10: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 10/12

Determine the Broadcast Address for this Subnet

11000000 10101000 00000011 00000000 (Last Host IP Address) 

11000000 10101000 00000011 11111111 ([Broadcast Address] Change the

number from 0 to 1) 

After Change = 192.168.3.255

Information Table

Host IP Address 192.168.3.219

Subnet Mask 255.255.255.0

Number Of Subnet Bits 8

Number Of Subnet 256

Number Of Host Bits Per Subnet 8

Number Of Usable Hosts Per Subnet 254

Subnet Address For This IP Address 192.168.3.0

IP Address Of First Host IP Address 192.168.3.1

IP Address Of Last Host IP Address 192.168.3.254Broadcast Address For This Subnet 192.168.3.255

Page 11: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 11/12

Problem 6

(1) 

IP Address – 192.168.3.219

(2)  Subnet Mask – 255.255.255.252

Number of IP Address and Subnet Mask after convert to binary

(1) 

IP –

  11000000.10101000.00000011.110110 11

(2) 

Subnet –  11111111.11111111.11111111.111111 00

Determine the number of Subnet Bits

No. of Subnet Bits= 14(11111111.11111111.11111111.111111 00)

No. of Subnets = 2n 

= 214 

= 16,384

Determine the number of Host Bits per Subnet

No. of Host Bits per Subnet= 2(11111111.11111111.11111111.111111 00)No. of Usable Host per Subnet = 2n 

= 22-2

= 4-2

= 2

Calculate the Subnet Address for IP Address

*Perform a bit-wise AND (Multiply) operation on the IP address and the subnet mask*

(1 AND 1 = 1 ; 0 AND 1 = 0) 

11000000 10101000 00000011 110110 11 (IP Address) 

AND AND AND AND11111111 11111111 11111111 111111 00 (Subnet Mask) 

11000000 10101000 00000011 110110 00 (Subnet Address) 

192 168 3 216

Subnet Address = 192.168.3.216

Determine the IP Address of the first Host on this Subnet

11000000 10101000 00000011 110110 00 (Subnet Address) 

11000000 10101000 00000011 110110 01 (Change the 1st Host from 1 to 0) 

After Change = 192.168.3.217

Determine the IP Address of Last Host on this Subnet

*Perform an invert (swap 0 to 1, 1 to 0) on the 1st Host IP Address and the Last Host IP

Address *(invert the number in host bits counting range)

11000000 10101000 00000011 110110 01 (1st Host IP Address) 

Inverted

11000000 10101000 00000011 110110 10 (Last Host IP Address) 

172 30 1 34

After Invert = 192.168.3.218

(n = Subnet Bits [Count the number

of 1 right before the number of 0 in

Subnet Mask to get the number of

Subnet Bits])

(n = Subnet Bits [Count the number

of 0 in Subnet Mask to get the

number of Subnet Bits  

Page 12: Assigment CISCO 2

8/20/2019 Assigment CISCO 2

http://slidepdf.com/reader/full/assigment-cisco-2 12/12

Determine the Broadcast Address for this Subnet

11000000 10101000 00000011 110110 10 (Last Host IP Address) 

11000000 10101000 00000011 110110 11 ([Broadcast Address] Change the

number from 0 to 1) 

After Change = 192.168.3.219

Information Table

Host IP Address 192.168.3.219

Subnet Mask 255.255.255.252

Number Of Subnet Bits 14

Number Of Subnet 16,384

Number Of Host Bits Per Subnet 2

Number Of Usable Hosts Per Subnet 2

Subnet Address For This IP Address 192.168.3.216

IP Address Of First Host IP Address 192.168.3.217

IP Address Of Last Host IP Address 192.168.3.218Broadcast Address For This Subnet 192.168.3.219