IPAddressing - Instructor: Bandula Abeysundara CITX 1151 -...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Instructor: Bandula Abeysundara CITX 1151 - Understanding TCP/IP IP Addressing & Subnetting – Homework problems with solution 1. Indicate whether each of the following subnet masks are valid or invalid? For each invalid one, briefly indicate why it is invalid. a) 255.255.32.0 b) 255.255.224.0 c) 255.255.254.96 d) 255.255.255.112 e) 255.255.255.252 f) 255.255.196.0 2. Assuming default subnet masks in each case, indicate whether each of the following host address is valid or invalid? For each invalid one, briefly indicate why it is invalid. a) 222.191.63.0 b) 225.160.192.5 c) 127.194.27.131 d) 131.231.245.127 e) 191.1.0.0 f) 200.200.200.0 g) 191.100.1.0 3. Indicate whether each of the following IP addresses is a valid host address. For each invalid one, briefly indicate why it is invalid. a) 197.15.136.64/26 b) 106.178.35.255/20 c) 165.192.0.63/26 d) 193.181.10.240/27 e) 110.212.80.127/27 4. For each of the following hosts, determine: the subnet address (1 mark) directed broadcast address for the subnet (1 mark) number of possible hosts on that subnet (1 mark) maximum number of subnets, if the same subnet mask is used for all the subnets in the network (i.e., no variable length subnet masks are used) (1 mark) a) 100.100.100.12/28 b) 125.103.13.127/23 c) 15.17.183.6/21 d) 129.200.50.60/19 e) 188.15.110.8/24 f) 87.25.108.12/28 g) 137.156.31.68/19 h) 26.98.102.11/21 i) 104.198.97.28/23 5. For the following subnet masks, determine the corresponding network prefixes. a) 255.255.128.0 /17 b) 255.255.255.240 /28 c) 255.252.0.0 /14 6. For the following network prefixes, determine the corresponding subnet masks. a) /19
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Instructor: Bandula Abeysundara b) /23 c) /26 SOLUTION: 1. a) 255.255.32.0 In binary: 11111111 11111111 00100000 00000000 b) 255.255.224.0 In binary: 11111111 11111111 11100000 00000000 c) 255.255.254.96 In binary: 11111111 11111111 11111110 01100000 d) 255.255.255.112 In binary: 11111111 11111111 11111111 01110000 e) 255.255.255.252 In binary: 11111111 11111111 11111111 11111100 f) 255.255.196.0 In binary: 11111111 11111111 11000100 00000000 A subnet mask indicates the network id bits (including subnet id bits, if subnetting is done) in an IP address. Network id bits are always a contiguous set of most significant bits in an IP address. Therefore, a valid subnet mask should have a set of contiguous bits all having the value 1 as the most significant bits (representing the network + subnet id bits), followed by a set of contiguous bits having the value 0 (representing the host id bits). In (a), (c), (d) and (f) above, the bits with value 1 are not a contiguous set (some bits in between some of the 1’s have the value 0). Therefore, they are invalid subnet masks. (b) and (e) above are valid subnet masks.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/13/2010 for the course CITX CITX 1150 taught by Professor P.whalen during the Fall '09 term at British Columbia Institute of Technology.

Page1 / 7

IPAddressing - Instructor: Bandula Abeysundara CITX 1151 -...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online