Zijian Tang Lab4 Submission
Zijian Tang Lab4 Submission
Zijian Tang Lab4 Submission
Lab 4 Submission
Page 1 of 6
Copyright 2014-2015 Boston University. All Rights Reserved.
Section One – Variable Length Subnet Masks
Subnet mask with fixed length means that the subnet mask has a permanent length, so
that the address blocks are spilite into various subnets which owns addresses of the
same number and has the same size and number of hosts.
In such a subnet mask, hosts can't have different counts. So, if in a fixed-length mask,
there are not enough hosts to fill the capacity of the subnet, and since the capacity is
fixed, the number of hosts will be less than the capacity. This will cause the remaining
capacity of IP addresses to be unused.
2. Calculations and results for the given scenarios. Make sure to show your work, but
you do not need to draw a diagram unless it assists you in answering the question.
6. Calculations and results for the given scenarios. Make sure to show your work.
Page 2 of 6
a.
172.226.1.0/26
Network Identifier: 10101100 11100010 00000001 00
b.
27 hosts—5 bits for the host identifier
172.226.1.0/27
Network Identifier: 10101100 11100010 00000001 000
c.
For fixed length:
172.226.1.0/26
32-26=6 bits for host identifier
2^6=64 total addresses. 64-2=62 can be assignable addresses
62-27=35 unused addresses
For VLSM:
172.226.1.0/27
32-27=5 bits for host identifier
2^5=32 total addresses. 32-2=30 assignable addresses
30-27=3 unused addresses
a.
64.91.225.0/23
Network Identifier: 01000000 01011011 1110000
b.
75 hosts—2^7=128 to cover. 32-7=25
64.91.224.0/25
Network Identifier: 01000000 01011011 11100000 0
c.
For fixed length:
64.91.225.0/23
32-23=9 bits for host identifier
2^9=512 total addresses. 512-2=510 can be assignable addresses
510-75=435 unused addresses
For VLSM:
64.91.224.0/25
32-25=7 bits for host identifier
2^7=128 total addresses. 128-2=126 assignable addresses
126-75=51 unused addresses
Page 3 of 6
Scenario C
a.
98.136.242.128/27
Network Identifier: 01100010 10001000 11110010 100
b.
18 hosts—2^5=32. 32-5=27
98.136.242.129/27
Network Identifier: 01100010 10001000 11110010 100
c.
For fixed length:
98.136.242.128/27
32-27=5 bits for host identifier
2^5=32 total addresses. 32-2=30 can be assignable addresses
30-18=12 unused addresses
For VLSM:
98.136.242.129/27
32-27=5 bits for host identifier
2^5=32 total addresses. 32-2=30 can be assignable addresses
30-18=12 unused addresses
Scenario A
Yes, as the required hosts number is relatively close to 2^5, so VLSM can be exactly fit to
the required amount than the fixed length.
Scenario B
yes, as the bits required for host identifier save for 2 bits, thus save much more
addresses.
Scenario C
No, as the second subnet is required to be the same size as the first subnet.
9. Calculations and results of the allocations using VLSMs. Make sure to show your work.
a.
for first
b.
Subnet mask for First Identifier
11111111 11111111 11111110 00000000
255.255.254.0
Page 4 of 6
11111111 11111111 11111111 10000000
255.255.255.128
c.
1st subnet: 2^9-2=510 hosts
2nd subnet: 2^7-2=126 hosts
d.
for first subnet
e.
on First subnet
237.118.0.1 to 237.118.1.254
For Subnet 2
237.118.2.1- 237.118.2.126
Page 5 of 6
Your lab submission will be evaluated according to the following rubric.
Use the Ask the Facilitators Discussion Board if you have any questions
regarding how to approach this lab.
For help uploading files please refer to the Technical Support page in the
syllabus.
Page 6 of 6