VLSM Asso Prof Dr Anan Phonphoem Department of
- Slides: 11
VLSM Asso. Prof. Dr. Anan Phonphoem Department of Computer Engineering, Faculty of Engineering, Kasetsart University, Bangkok, Thailand
VLSM n Variable-length subnet mask n Classful allows only one subnet in a network n > one subnet in an autonomous system n Maximizing the use of address (Subnet Zero) n “Subnetting a Subnet” n Routing that support VLSM n OSPF, Integrated IS-IS, EIGRP, RIPv 2, and static routing
Subnet with VLSM 192. 168. 10. 0/24
Regular Subnet 192. 168. 10. 0/24 7 subnets; The largest subnet needs 60 hosts If 3 bits for subnet (8 subnets) 5 bits for host (32 hosts) If 6 bits for host (64 hosts) 2 bits for subnet (4 subnets)
Subnet with VLSM n Select the biggest first n 192. 168. 10. 0/24 n 192. 168. 10. 0/26 n 192. 168. 10. 64/26 n 192. 168. 10. 128/26 n 192. 168. 10. 192/26 n 192. 168. 10. 64/27 n 192. 168. 10. 96/27 n 192. 168. 10. 128/27 n 192. 168. 10. 192/27 Perth KL
Subnet with VLSM n 192. 168. 10. 96/27 n 192. 168. 10. 96/28 n 192. 168. 10. 112/28 n 192. 168. 10. 128/28 n 192. 168. 10. 144/28 n 192. 168. 10. 128/30 n 192. 168. 10. 132/30 n 192. 168. 10. 136/30 n 192. 168. 10. 140/30 Sydney Singapore Perth – KL Sydney – KL Singapore – KL
Subnet with VLSM
Assignment 250 Stations 165. 23. 208. 0/20 CPE 700 Stations IE 500 Stations EE 100 Stations
250 Stations Solution • 165. 23. 208. 0/20 • 165. 23. 208. 0/22 • 165. 23. 212. 0/22 • 165. 23. 216. 0/22 • 165. 23. 220. 0/22 1022 Hosts • 165. 23. 212. 0/22 • 165. 23. 212. 0/23 510 Hosts • 165. 23. 214. 0/23 CPE IE EE 700 Stations 500 Stations 100 Stations The largest subnet needs 700 hosts 10 bits for host (1024 hosts) • 165. 23. 214. 0/23 • 165. 23. 214. 0/24 254 Hosts • 165. 23. 215. 0/24 • 165. 23. 215. 0/25 126 Hosts • 165. 23. 215. 128/25 2 Hosts • 165. 23. 215. 128/30 • 165. 23. 215. 132/30 • 165. 23. 215. 136/30 • …
Solution 165. 23. 214. 0/24 250 Stations 165. 23. 208. 0/20 CPE 165. 23. 215. 128/30 700 Stations 165. 23. 208. 0/22 IE 165. 23. 215. 132/30 500 Stations 165. 23. 212. 0/23 EE 100 Stations 165. 23. 215. 0/25
Route Aggregation n Route summarization n Supernetting n Possible only if routers of a network use a classless routing protocol (OSPF or EIGRP( n Carry 32 -bit IP address and bit mask in the routing updates n Share the same high-order bits