180 likes | 222 Views
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.
E N D
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 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
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
Default mask (network mask) • Network address • First address • Last address
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 ?
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
10110110001011000101001000010000 • AND • 1111111111111111 0000000000000000 • Result: • 10110110001011000000000000000000 • in decimal: • 182.44.0.0 is Network address
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?
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?
A router receives a packet with the destination address 201.24.67.32. Show how the router finds the network address of the packet.
What is the subnetwork address if the destination address is 100.90.34.0 and the subnet mask is 255.255.220.0?
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
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)
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.