Вы находитесь на странице: 1из 1

Start with subnet ID 192.168.1.128/25 and use VLSM.

Make sure the first available sub-subnet(s) are used first. What is the subnet ID of R1-R2 WAN? host bits # of hosts
x 2^x 2^x-2
2 4 2
3 8 6
4 16 14
5 32 30
1. Rewrite the original subnet and expand the last octet in binary (note the fixed decimals and the first bit in last octet shaded yellow) 6 64 62
192. 168. 1. 1 0 0 0 0 0 0 0 192.168.1.128 /25 7 128 126
2. The number of host bits that you need to accommodate 28 hosts is according to 2^x-2 = 28 ; therefore at least 5 host bits (this is a case of sub-subnetting) 8 256 254
3. Rewrite the previous subnet, count 5 bits from right to left and highlight the leftover borrowed bits blue and rewrite the subnet in decimal
192. 168. 1. 1 0 0 0 0 0 0 0 192.168.1.128 /27
4. Continue with LAN2 that requires 25 hosts. The number of host bits that you need to accommodate 25 hosts is according to 2^x-2 = 25 ; therefore at least 5 host bits (this is a case of switching to a new subnet)
5. Rewrite the previous subnet, and change the blue subnet bits from 00 to 01 and rewrite the subnet in decimal
192. 168. 1. 1 0 1 0 0 0 0 0 192.168.1.160 /27
6. Continue with WAN that requires 2 hosts. The number of host bits that you need to accommodate 2 hosts is according to 2^x-2 = 2 ; therefore at least 2 host bits (this is a case of sub-subnetting)
7. Rewrite the previous subnet, count 2 bits from right to left, highlight the leftover borrowed bits green, change the previous subnet from 01 to 10, and rewrite the subnet in decimal
192. 168. 1. 1 1 0 0 0 0 0 0 192.168.1.192 /30

Вам также может понравиться