VLSM
VLSM
(VLSM)
Supports more efficient use of the assigned IP addresses and reduces
the amount of routing information at the top level
Sub-networks
62 usable addresses/sub-network
(subnet #0)
192.168.10.0/24
192.168.10.0/26
192.168.10.64/26
192.168.10.128/26
192.168.10.2/26 (Host 1)
192.168.10.192/26
192.168.10.3/26 (Host 2)
thru
192.168.10.61/26 (Host 60)
192.168.10.62/26 (unused)
192.168.10.63/26 (Broadcast Address)
4
192.168.10.64/27
Sub-network #1
Sub-sub-networks
14 usable addresses
192.168.10.96/27
192.168.10.96/28
192.168.10.112/28
192.168.10.96/28
Sub-network #1
Sub-sub-networks
14 usable addresses
192.168.10.96/27
192.168.10.112/28
192.168.10.112/28
11
12
14 usable addresses
192.168.10.128/30
192.168.10.132/30
192.168.10.136/30
14
15
Network
Mask
Next-hop
Interface
192.168.10.0
/26
Direct
192.168.10.1/26
192.168.10.136
/30
Direct
192.168.10.137/30
192.168.10.64
/27
192.168.10.138
192.168.10.137/30
192.168.10.132
/30
192.168.10.138
192.168.10.137/30
192.168.10.96
/28
192.168.10.138
192.168.10.137/30
192.168.10.128
/30
192.168.10.138
192.168.10.137/30
192.168.10.112
/28
192.168.10.138
192.168.10.137/30
16
Network
Mask
Next-hop
Interface
192.168.10.96
/28
Direct
192.168.10.97/26
192.168.10.132
/30
Direct
192.168.10.133/30
192.168.10.64
/27
192.168.10.134
192.168.10.133/30
192.168.10.136
/30
192.168.10.134
192.168.10.133/30
192.168.10.0
/26
192.168.10.134
192.168.10.133/30
192.168.10.128
/30
192.168.10.134
192.168.10.133/30
192.168.10.112
/28
192.168.10.134
192.168.10.133/30
17
Network
Mask
Next-hop
Interface
192.168.10.112
/28
Direct
192.168.10.113/28
192.168.10.128
/30
Direct
192.168.10.129/30
192.168.10.64
/27
192.168.10.130
192.168.10.129/30
192.168.10.132
/30
192.168.10.130
192.168.10.129/30
192.168.10.96
/28
192.168.10.130
192.168.10.129/30
192.168.10.136
/30
192.168.10.130
192.168.10.129/30
192.168.10.0
/26
192.168.10.130
192.168.10.129/30
18
Network
Mask
Next-hop
Interface
192.168.10.64
/27
Direct
192.168.10.65/27
192.168.10.136
/30
Direct
192.168.10.138/30
192.168.10.132
/30
Direct
192.168.10.134/30
192.168.10.128
/30
Direct
192.168.10.130/30
192.168.10.0
/26
192.168.10.137
192.168.10.138/30
192.168.10.96
/28
192.168.10.133
192.168.10.134/30
192.168.10.112
/28
192.168.10.129
192.168.10.130/30
19
Complete Scenario
Routing Table at Singapore
Network
Destination
NetMask
Next-hop
Interface
Network
Destination /Mask
Next-hop
Interface
192.168.10.112
/28
Direct
192.168.10.113/28
192.168.10.96/28
Direct
192.168.10.97/26
192.168.10.128
/30
Direct
192.168.10.129/30
192.168.10.132/30
Direct
192.168.10.133/30
192.168.10.64
/27
192.168.10.130
192.168.10.129/30
192.168.10.64/27
192.168.10.134
192.168.10.133/30
192.168.10.132
/30
192.168.10.130
192.168.10.129/30
192.168.10.136/30
192.168.10.134
192.168.10.133/30
192.168.10.96
/28
192.168.10.130
192.168.10.129/30
192.168.10.0/26
192.168.10.134
192.168.10.133/30
192.168.10.136
/30
192.168.10.130
192.168.10.129/30
192.168.10.128/30
192.168.10.134
192.168.10.133/30
192.168.10.0
/26
192.168.10.130
192.168.10.129/30
192.168.10.112/28
192.168.10.134
192.168.10.133/30
NetMask
Next-hop
Interface
192.168.10.64
/27
Direct
192.168.10.65/27
192.168.10.136
/30
Direct
192.168.10.138/30
192.168.10.132
/30
Direct
192.168.10.134/30
192.168.10.128
/30
Direct
192.168.10.130/30
192.168.10.0
/26
192.168.10.137
192.168.10.138/30
192.168.10.96
/28
192.168.10.133
192.168.10.134/30
192.168.10.112
/28
192.168.10.129
192.168.10.130/30
NetMask
Next-hop
Interface
192.168.10.0
/26
Direct
192.168.10.1/26
192.168.10.136
/30
Direct
192.168.10.137/30
192.168.10.64
/27
192.168.10.138
192.168.10.137/30
192.168.10.132
/30
192.168.10.138
192.168.10.137/30
192.168.10.96
/28
192.168.10.138
192.168.10.137/30
192.168.10.128
/30
192.168.10.138
192.168.10.137/30
192.168.10.112
/28
192.168.10.138
192.168.10.137/30
20
Packet Transfer
Source IP : 192.168.10.70
Dest IP:
192.168.10.120
21
Packet Transfer
Dest IP :
192.168.10.120
AND
Net-mask: 255.255.255.240 (/28)
ANDing: (showing the last octet)
01111000 AND 11110000 = 01110000
i.e. 192.168.10.112
NetMask
Next-hop
Interface
192.168.10.64
/27
Direct
192.168.10.65/27
192.168.10.136
/30
Direct
192.168.10.138/30
192.168.10.132
/30
Direct
192.168.10.134/30
192.168.10.128
/30
Direct
192.168.10.130/30
192.168.10.0
/26
192.168.10.137
192.168.10.138/30
192.168.10.96
/28
192.168.10.133
192.168.10.134/30
192.168.10.112
/28
192.168.10.129
192.168.10.130/30
Source IP : 192.168.10.70
Dest IP:
192.168.10.120
22
Packet Transfer
Dest IP :
192.168.10.120
AND
Net-mask: 255.255.255.240 (/28)
ANDing: (showing the last octet)
01111000 AND 11110000 = 01110000
i.e. 192.168.10.112
NetMask
Next-hop
Interface
192.168.10.64
/27
Direct
192.168.10.65/27
192.168.10.136
/30
Direct
192.168.10.138/30
192.168.10.132
/30
Direct
192.168.10.134/30
192.168.10.128
/30
Direct
192.168.10.130/30
192.168.10.0
/26
192.168.10.137
192.168.10.138/30
192.168.10.96
/28
192.168.10.133
192.168.10.134/30
192.168.10.112
/28
192.168.10.129
192.168.10.130/30
Source IP : 192.168.10.70
Dest IP:
192.168.10.120
23
Packet Transfer
NetMask
Next-hop
Interface
192.168.10.64
/27
Direct
192.168.10.65/27
192.168.10.136
/30
Direct
192.168.10.138/30
192.168.10.132
/30
Direct
192.168.10.134/30
192.168.10.128
/30
Direct
192.168.10.130/30
192.168.10.0
/26
192.168.10.137
192.168.10.138/30
192.168.10.96
/28
192.168.10.133
192.168.10.134/30
192.168.10.112
/28
192.168.10.129
192.168.10.130/30
Source IP : 192.168.10.70
Dest IP:
192.168.10.120
24
Packet Transfer
Routing Table at Singapore
Network
Destination
NetMask
Next-hop
Interface
192.168.10.112
/28
Direct
192.168.10.113/28
192.168.10.128
/30
Direct
192.168.10.129/30
192.168.10.64
/27
192.168.10.130
192.168.10.129/30
192.168.10.132
/30
192.168.10.130
192.168.10.129/30
192.168.10.96
/28
192.168.10.130
192.168.10.129/30
192.168.10.136
/30
192.168.10.130
192.168.10.129/30
192.168.10.0
/26
192.168.10.130
192.168.10.129/30
Source IP : 192.168.10.70
Dest IP:
192.168.10.120
Dest IP :
192.168.10.120
AND
Net-mask: 255.255.255.240 (/28)
ANDing: (showing the last octet)
01111000 AND 11110000 = 01110000
i.e. 192.168.10.112
25
Packet Transfer
Routing Table at Singapore
Network
Destination
NetMask
Next-hop
Interface
192.168.10.112
/28
Direct
192.168.10.113/28
192.168.10.128
/30
Direct
192.168.10.129/30
192.168.10.64
/27
192.168.10.130
192.168.10.129/30
192.168.10.132
/30
192.168.10.130
192.168.10.129/30
192.168.10.96
/28
192.168.10.130
192.168.10.129/30
192.168.10.136
/30
192.168.10.130
192.168.10.129/30
192.168.10.0
/26
192.168.10.130
192.168.10.129/30
Source IP : 192.168.10.70
Dest IP:
192.168.10.120
Dest IP :
192.168.10.120
AND
Net-mask: 255.255.255.240 (/28)
ANDing: (showing the last octet)
01111000 AND 11110000 = 01110000
i.e. 192.168.10.112
26
Packet Transfer
Routing Table at Singapore
Network
Destination
NetMask
Next-hop
Interface
192.168.10.112
/28
Direct
192.168.10.113/28
192.168.10.128
/30
Direct
192.168.10.129/30
192.168.10.64
/27
192.168.10.130
192.168.10.129/30
192.168.10.132
/30
192.168.10.130
192.168.10.129/30
192.168.10.96
/28
192.168.10.130
192.168.10.129/30
192.168.10.136
/30
192.168.10.130
192.168.10.129/30
192.168.10.0
/26
192.168.10.130
192.168.10.129/30
Source IP : 192.168.10.70
Dest IP:
192.168.10.120
27