1 / 18

Tutorial#4+5

Tutorial#4+5. classes of IP address. Find the class of the following IP addresses : a) 11110111 11110011 10000111 11011101 b) 11011111 10110000 11000111 00011101 c) 270.42.87.9 d) 180.32.33.5. class:E. 1111 0111 11110011 10000111 11011101. class:C. 110 11111 10110000 11000111 00011101.

amayes
Download Presentation

Tutorial#4+5

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tutorial#4+5

  2. classes of IP address

  3. Find the class of the following IP addresses : a) 11110111 11110011 10000111 11011101 b) 11011111 10110000 11000111 00011101 c) 270.42.87.9 d) 180.32.33.5

  4. class:E 11110111 11110011 10000111 11011101 class:C 11011111 10110000 11000111 00011101 270.42.87.9 can’t determine type of class class:B 180.32.33.5

  5. Find the netid and the hosted of the following IP addresses: a) 118.37.6.9 Class: A NetId:118 Hosted: 37.6.9 b) 220.85.56.3 Class: C NetId: 220.85.56 Hosted: 3

  6. Default mask (network mask) • Network address • First address • Last address

  7. In a block of address, we know the IP address of one host is 182.44.82.16 .what are the network address in this block ?

  8. 182.44.82.16 in class B so default mask is 255.255.0.0 • Network address : IP address AND Default mask • Convert IP address to binary: • 10110110 00101100 01010010 00010000 • Convert default mask to binary: • 11111111 11111111 00000000 00000000

  9. 10110110001011000101001000010000 • AND • 1111111111111111 0000000000000000 • Result: • 10110110001011000000000000000000 • in decimal: • 182.44.0.0 is Network address

  10. The first address in a range of addresses is 140.71.45.16. If the number of addresses in the range is 22, what is the last address?

  11. Last address = (140.71.45.16) + (0.0.0.21) = 140.71.45.37

  12. The Last address in a range of addresses is 140.71.45.16. If the number of addresses in the range is 8, what is the First address?

  13. First address = (140.71.45.16) - (0.0.0.7) = 140.71.45.9

  14. A router receives a packet with the destination address 201.24.67.32. Show how the router finds the network address of the packet.

  15. What is the subnetwork address if the destination address is 100.90.34.0 and the subnet mask is 255.255.220.0?

  16. Subnetwork address= IP addressANDsubnet mask • 100.90.34.0 AND 255.255.220.0 • only convert 34 and 220 to binary • 34: 00100010 • 220:11011100

  17. Write the following masks in slash notation (/n) • 1) 255.255.255.0 (/24)2) 255.0.0.0 (/8)3) 255.255.240.0 (/20)

  18. Find the number of addresses in the following blocks. 1) 123.56.77.32/29 IPv4 have 32 bits so, find the number of address in the block 2 ^ (32-29) = (23) = 8 address in the block.

More Related