Uploaded by ARIN ALAWAJI

Assignment 2 9ea3ffda973c289b6e9bb0ff6ea5b59f

advertisement
CS331: Data Communication and Networking
Student Name:
Student Id:
Grade:
Assignment 2
1) Find the netid and the hostid of the following classful IP addresses.
18 not 114 most 34.2.8
A•• 114.34.2.8
132.56.8.6
B
116 not 132.56 most 8.6
2) Find the subnet mask of 167.98.56.2/21 in decimal form.
50 1001110007
3) Find the slash notation of the following subnet masks 167.9856.0
• 255.255.248.0
121 2481in lmaoo 16 5
• 255.128.0.0
19
Lizana loooooool 8 1
4) Find the block size, the number of host addresses and the range of addresses in the following
block 123.56.77.32/29
ooooooo
62
00100001 ooo no
738
33338123.56
Classful without subnetting:
egg z
blocusize
8
5) Assume classful addressing mode in use. Given the address 201.57.101.0. Find the
following:
• The address class:
class C
• The network mask in decimal and CIDR notation: 255.255.255 0124
• The maximum number of hosts on the network: 28 2 254
• The address of the first host: 201 57.101.1
• The address of the last host: za selol254
• The broadcast address: za.se ol 2ss
Classful with subnetting:
if
6) PSU is granted the address 150.20.0.0/16. The IT Department now decided to divide the PSU
network into 12 subnets based on the number of departments.
• Calculate the new subnet mask. fog
127 4 16 20 zgs.zss.nuoooo o 2 s
• Give the first subnet address. 150.200.0
• Give the last subnet address.150.20 11000000.0 150.20192.0
• How many addresses are there in each subnet? 212
2 4094
• Give two subnets’ addresses. Give the first and the last hosts’ addresses on your
selected networks. Give the broadcast address of each of the selected subnets.
Subnet 1 (CCIS)
Subnet 2 (Engineering)
Subnet address
150.20192.0
15020.0.0
First host address
15020.0.1
iso 20.192.1
Last host address
iso.zo.oooomi.unmo siso.zo.is.es iso.zo.nooiu.miiniosiso.zo.zoe.zst
Broadcast address on the subnet iso.zo.is.zss
iso.zo.za.us
s
CS331: Data Communication and Networking
•
A packet is received by PSU router with a destination IP address 181.20.103.25. Find
the subnet of the destination host. The router uses the subnet mask (computed in ) to
find the subnet address of the destination host.
AND181.2001100111.25
ass255.11110000 0
181.2001100000.0
Classless with fixed length subnet mask
18120.90.0
7) An ISP is granted a block of addresses starting with 120.60.4.0/22. The ISP wants to distribute
these blocks to 100 organizations with each organization receiving just six addresses. Design
the subblocks and give the slash notation for each subblock. subnetslashnotation129
foreach
toosubrets a bits
878
block
o most
suits
Classless with Variable Length Subnet Mask (VLSM)
575
8) An ISP is granted a block of addresses starting with 150.80.0.0/16. The ISP wants to
distribute these blocks according to the following:
• Network A with 20 hosts.
• Network B with 32 hosts.
• Network C with 10 hosts.
4bits
Design the subblocks and give the slash notation for each subblock. Find out how many
addresses are still available after these allocations.
Is
netcom
subnet
network13
is
networkA
150.800.00100000
Iso800.32 27
networks
150.800.0100oooo
Auses 25
Buses
cases
216
25
24
2 25 24
65456
Download