Professional Documents
Culture Documents
Classful vs Classless
10.3.3.0
Fa0/1 192.168.1.4/30
S0/0
BHM GAD
Fa0/0 192.168.13.2
10.1.1.0
To
10.2.2.4
10.3.3.0
Fa0/1 192.168.1.4/30
S0/0
BHM GAD
Fa0/0 192.168.13.2
10.1.1.0
To
10.2.2.4
Router(config)# no ip classless
Router(config)# ip classless
Autosummarization
Internet
UNIVERSITY
• IP addressing crisis
• As early as 1992, the IETF identified two
specific concerns:
– IP address exhaustion
– Routing table growth
IP Addressing Solutions
• Short term to extension to IPv4
– Subneting masking: RFCs 950, 1812
– Variable-length subnet masks: RFC 1812
– Classless interdomain routing: RFCs 1518,
1519, 2050
– Address allocation for private Internets: RFC
1918
– Network Address Translation: RFC 1631
– Route summarization: RFC 1518
• Ultimate solution: IPv6 128-bit address
space
What is VLSM ?
192.168.0.32/27 192.168.0.192/30
A
192.168.0.128/27
192.168.0.64/27
192.168.0.196/30
B
HQ
HQ 192.168.0.0/24
192.168.0.96/27
192.168.0.160/27
192.168.0.200/30
C
2 3 4
1 28 Hosts
192.168.10.128/30
192.168.10.132/30 192.168.10.136/30
2 3 4
KL 28 Hosts
S0
10.137
192.168.10.128/30 192.168.10.136/30
192.168.10.132/30
S0 10.138
11000000.10101000.00110100.00000000 = 192.168.52.0/24
11000000.10101000.00110101.00000000 = 192.168.53.0/24
11000000.10101000.00110110.00000000 = 192.168.54.0/24
11000000.10101000.00110111.00000000 = 192.168.55.0/24
11000000.10101000.00110100.00000000 = 192.168.52.0/22
11000000.10101000.00111000.00000000 = 192.168.56.0/24
11000000.10101000.00111001.00000000 = 192.168.57.0/24
11000000.10101000.00111111.00000000 = 192.168.63.0/24
11000000.10101000.00111000.00000000 = 192.168.56.0/21
RIP Version 2
RIP v1: Characteristics
• IGP protocol, is classful routing.
• It is a distance vector protocol that uses a hop
count metric.
• The maximum number of hops is 15.
• By default, routing updates are broadcast every
30 seconds.
• The router applies the one subnet mask that is
configured on the receiving interface to receive
network information.
• Load balancing over as many as six equal-cost
paths, with four paths as the default.
RIP v1: Limitations
RIP v1 RIP v2
• Easy to configure. • Easy to configure.
• Only supports classful routing • Supports classless routing
• No subnet information with • Send subnet information with routing
routing update. updates.
• Doesn’t support VLSM • Support VLSM
• No authentication in updates • Provides authentication in updates.
• Broadcast Routing Update • Provides multicast routing updates
RIP v2: Configuration
150.100.2.0/24
150.100.4.0/24 150.100.3.0/24
172.16.1.0 192.168.1.0
A B B
172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1
SHOW IP ROUTE
172.16.1.0 192.168.1.0
A B B
172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1
DEBUG IP RIP
172.16.1.0 192.168.1.0
A B B
172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1
Default routes