Beruflich Dokumente
Kultur Dokumente
Objectives
Define VLSM and briefly describe the reasons for its use Divide a major network into subnets of different sizes using VLSM Define route aggregation and summarization as they relate to VLSM Configure a router using VLSM Identify the key features of RIP v1 and RIP v2 Identify the important differences between RIP v1 and RIP v2 Configure RIP v2 Verify and troubleshoot RIP v2 operation Configure default routes using the ip route and ip default-network commands
Table of Content
1 2 3 4
VLSM CIDR Classless routing RIP version 2
VLSM
Internet
UNIVERSITY
IP addressing crisis As early as 1992, the IETF identified two specific concerns: IP address exhaustion Routing table growth
What is VLSM ?
172.16.14.32/27
A
172.16.14.132/30 172.16.1.0/24
172.16.0.0/16
172.16.14.96/27
172.16.2.0/24
172.16.14.140/30
C
Subnet 172.16.14.0/24 is divided into smaller subnets (Sub-subnet): Subnet with one mask at first (/27) Further subnet one of these subnets not used elsewhere (/30)
VLSM is supported
Open Shortest Path First (OSPF). Integrated Intermediate System to Intermediate System (Integrated IS-IS). Enhanced Interior Gateway Routing Protocol (EIGRP). RIP v2. Static routing.
A waste of space
172.16.32.64/26
172.16.33.8/30
172.16.32.128/2 6
172.16.33.12/30
Perth
Sydney
Singapore
60 Hosts
1
12 Hosts
12 Hosts
192.168.10.128/30
192.168.10.132/30
192.168.10.136/30
Perth
192.168.10.0/26
Sydney
192.168.10.96/28
Singapore
192.168.10.112/28
60 Hosts
1
12 Hosts
12 Hosts
CIDR is a mechanism developed to alleviate exhaustion of addresses and reduce routing table size. Block addresses can be summarized into single entries without regard to the classful boundary of the network number. Summarized blocks are installed in routing tables.
Perth
19 2. 16 8. 48 .0 /
22
192.168.48.0/2 0
Sydney
192.168.52.0/22
8 16 . 92 1 . / .0 56
KL
21
Singapore
Route summarization reduces routing table size by aggregating routes to multiple networks into one supernet
Configuring VLSM
192.168.10.0/2 4 KL 192.168.10.64/27 S0 10.137 28 Hosts
192.168.10.128/30
192.168.10.136/30 192.168.10.132/30
S0 Perth
192.168.10.0/26
10.138
Sydney
192.168.10.96/28
Singapore
192.168.10.112/28
60 Hosts
1
12 Hosts
12 Hosts
CLASSLESS ROUTING
Classful routing protocols do not include the subnet mask with the route advertisement. Within the same network, consistency of the subnet masks is assumed. Network boundary summarization is done automatically. Example of classful routing protocols:
Routing Information Protocol version 1 (RIPv1) Interior Gateway Routing Protocol (IGRP)
All router interfaces within the same network must have the same subnet mask. This approach may not fully use available allocation of host addresses. All subnets of the same major network must be contiguous.
2
Where will the router send traffic bound for the following destinations?
192.168.24.3 172.16.5.1 10.1.2.7 200.100.50.0 10.2.2.2
2
Replaces the default behavior of classful routing protocols to match against only known subnets of a major network Changes default behavior of classful routing protocol for unknown subnets On by default in Cisco IOS version 12.0 and later Has no effect on most classless routing protocols because they use the longest-match criteria by default
Fa0/1
BHM 10.1.1.0
192.168.1.4/30
Fa0/0
S0/ 0
GAD 192.168.13.2
To 10.2.2.4
0.0.0.0
Fa0/1
BHM 10.1.1.0
192.168.1.4/30
Fa0/0
S0/ 0
GAD 192.168.13.2
To 10.2.2.4
0.0.0.0
Classless routing protocols include the subnet mask with the route advertisement. Classless routing protocols support VLSM. Summary routes can be manually controlled within the network. Example of classless routing protocols are as follows:
OSPF EIGRP RIPv2 IS-IS BGPv4
Router interfaces within the same network can have different subnet masks:
VLSM is supported
EIGRP on both Router A and Router B advertises a summarized route to 172.16.0.0/16. Router C receives two routes to 172.16.0.0/16. Router A or B, or both, should be configured to not summarize.
2
RIP Version 2
It does not send subnet mask information in its updates. It sends updates as broadcasts on 255.255.255.255. It does not support authentication. It is not able to support VLSM or classless interdomain routing (CIDR).
NOTE:
Subnets will be understood as major network
3
RIP v2 features
Send out subnet mask information with the route update.
Support VLSM or classless interdomain routing (CIDR).
Provides for authentication in its updates. Provides Multicast routing updates, using the Class D address 224.0.0.9. Use external route tags Routing update is includes a next-hop route ip address.
3
Support prefix routing Does not support prefix different subnets within the routing all the devices same network can have different subnet masks. in the same network
must use same subnet Provides for authentication in its updates. mask. No authentication in updates
3
150.100.3.0/24
Bangkok
NOTE:
Assigning IP network numbers without specifying subnet values
3
Interface FastEthernet0/0 is configured to send and receive RIP v1 updates. FastEthernet0/1 is configured to send both version 1 and 2 updates. FastEthernet0/2 has no special configuration and therefore sends and receives version 2 by default.
ip rip send version 1 2 interface fastethernet0/2 ip address 172.25.150.225 225.255.255.240 router rip version 2 network 172.25.0.0 network 192.168.50.0
RIP v1 always uses automatic summarization. The default behavior of RIP v2 is to summarize at network boundaries the same as RIP v1.
4
A
172.16.1.1 10.1.1.1 10.1.1. 2
B
10.2.2. 2 10.2.2. 3
B
192.168.1.1
A
172.16.1.1 10.1.1.1 10.1.1. 2
B
10.2.2. 2 10.2.2. 3
B
192.168.1.1
A
172.16.1.1 10.1.1.1 10.1.1. 2
B
10.2.2. 2 10.2.2. 3
B
192.168.1.1
Default routes
Summary
VLSM and the reasons for its use Subnetting networks of different sizes using VLSM Route aggregation and summarization as they relate to VLSM Router configuration using VLSM Key features of RIP v1 and RIP v2 Important differences between RIP v1 and RIP v2 Configuration of RIP v2 Verifying and troubleshooting RIP v2 operation Configuring default routes using the ip route and ip default-network commands
4
Q&A