1 NET 431 ADVANCED NET SERVICES Networks and

  • Slides: 15
Download presentation
1 NET 431: ADVANCED NET SERVICES Networks and Communication Department Tutorial 2

1 NET 431: ADVANCED NET SERVICES Networks and Communication Department Tutorial 2

Q 1 Given a network address of 192. 168. 100. 0 and a subnet

Q 1 Given a network address of 192. 168. 100. 0 and a subnet mask of 255. 192. a. How many subnets are created? b. How many hosts are there per subnet? ü Sol : The address is class C. So, Network ID =24 bit

Sol 1 Subnet Mask =255. 192 Convert to binary = 1111. 1100 0000 Network

Sol 1 Subnet Mask =255. 192 Convert to binary = 1111. 1100 0000 Network ID =24, Subnet Mask =/26 Subnet =2 bit Host =6 bit , Number of 0.

Sol 1 q How many subnets are created? Subnet bit =log # of block(subnets)=2^2=

Sol 1 q How many subnets are created? Subnet bit =log # of block(subnets)=2^2= 4 subnets q How many hosts are there per subnet? Each subnet has 6 hosts , 2^(# of host)-2=2^(6)-2=62. ü Subtract one for the subnet address. ü Subtract one for the broadcast address.

Q 2 5 In contemporary routing and addressing, the notation commonly used is called

Q 2 5 In contemporary routing and addressing, the notation commonly used is called classless interdomain routing or CIDR. With CIDR, the number of bits in the mask is indicated in the following fashion 192. 168. 100. 0/24. q This corresponds to a mask of 255. 0. If this example would provide for 256 host addresses on the network how many addresses are provided with the following? A. 192. 168. 100. 0/23 B. 192. 168. 100. 0/25 q

Sol 2 6 22 -Dec-21 Networks and Communication Department

Sol 2 6 22 -Dec-21 Networks and Communication Department

Sol 2 7 22 -Dec-21 Networks and Communication Department

Sol 2 7 22 -Dec-21 Networks and Communication Department

Q 3 8 Using your IP address and mask, What is your network address?

Q 3 8 Using your IP address and mask, What is your network address? This is determine by converting the IP address and mask to binary and then proceeding with a bitwise logical AND operation. For example giving the address 172. 16. 45. 0 and the mask 255. 224. 0 we would discover that the network address would be 172. 16. 32. 0. 22 -Dec-21

Sol 3 9 For example giving the address 172. 16. 45. 0 and the

Sol 3 9 For example giving the address 172. 16. 45. 0 and the mask 255. 224. 0 What is the network address? Convert to binary 1010 1100. 0001 0000. 0010 1101. 0000 1111. 1110 0000 -----------------------------AND 1010 1100. 0001 0000. 0010 0000 22 -Dec-21 Networks and Communication Department the network address would be 172. 16. 32. 0

sol 3 10 For example : My IP address is : 192. 168. 8.

sol 3 10 For example : My IP address is : 192. 168. 8. 100 The subnet is : 255. 192 11000000 10101000 00001000 01100100 11111111 11000000 ---------------------------- AND 11000000 10101000 00001000000 Network address : 192. 168. 8. 64 22 -Dec-21 Networks and Communication Department

Q 4 11 Calculate the total number of addresses supported by class B IP

Q 4 11 Calculate the total number of addresses supported by class B IP address format. Note : 14 bits are used for network ID and 16 bits for host Id. Sol : 22 -Dec-21 Networks and Communication Department

Q 5 12 ü Calculate the total number of addresses supported by class C

Q 5 12 ü Calculate the total number of addresses supported by class C IP address format. Note : 24 bits are used for network ID and 8 bits for host Id Sol: 22 -Dec-21 Networks and Communication Department

Q 6 13 22 -Dec-21 Networks and Communication Department

Q 6 13 22 -Dec-21 Networks and Communication Department

Sol 6 14 22 -Dec-21 Networks and Communication Department

Sol 6 14 22 -Dec-21 Networks and Communication Department

15 Q&A 22 -Dec-21 Networks and Communication Department

15 Q&A 22 -Dec-21 Networks and Communication Department