Top Banner
Khoa CNTT 1/30 PHẠM VĂN TÍNH 01-2004 Switching Basics and Switching Basics and Intermediate Routing Intermediate Routing CLASSLESS ROUTING CLASSLESS ROUTING TS, PHẠM VĂN TÍNH TS, PHẠM VĂN TÍNH
30
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 10 -Vlsm

Kho

a C

NTT

1/30

PHẠ

M V

ĂN

TÍN

H01

-200

4

Switching Basics and Switching Basics and Intermediate RoutingIntermediate Routing

CLASSLESS ROUTINGCLASSLESS ROUTING

TS, PHẠM VĂN TÍNHTS, PHẠM VĂN TÍNH

Page 2: Chapter 10 -Vlsm

Kho

a C

NTT

2/30

PHẠ

M V

ĂN

TÍN

H01

-200

4

ObjectivesObjectives•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

Page 3: Chapter 10 -Vlsm

Kho

a C

NTT

3/30

PHẠ

M V

ĂN

TÍN

H01

-200

4

Variable-Length Subnet Masking Variable-Length Subnet Masking (VLSM)(VLSM)

Page 4: Chapter 10 -Vlsm

Kho

a C

NTT

4/30

PHẠ

M V

ĂN

TÍN

H01

-200

4

Issues with IP AddressingIssues with IP Addressing

• IP addressing crisis• As early as 1992, the IETF identified two

specific concerns:– IP address exhaustion–Routing table growth

U N I V E R S I T YU N I V E R S I T Y

Internet

Page 5: Chapter 10 -Vlsm

Kho

a C

NTT

5/30

PHẠ

M V

ĂN

TÍN

H01

-200

4

IP Addressing SolutionsIP 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

Page 6: Chapter 10 -Vlsm

Kho

a C

NTT

6/30

PHẠ

M V

ĂN

TÍN

H01

-200

4

What is VLSM ?What is VLSM ?

Page 7: Chapter 10 -Vlsm

Kho

a C

NTT

7/30

PHẠ

M V

ĂN

TÍN

H01

-200

4

VLSM is supportedVLSM 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.

Page 8: Chapter 10 -Vlsm

Kho

a C

NTT

8/30

PHẠ

M V

ĂN

TÍN

H01

-200

4

A waste of space A waste of space

Page 9: Chapter 10 -Vlsm

Kho

a C

NTT

9/30

PHẠ

M V

ĂN

TÍN

H01

-200

4

When to use VLSM? When to use VLSM?

Page 10: Chapter 10 -Vlsm

Kho

a C

NTT

10/3

0PH

ẠM

N T

ÍNH

01-2

004

Sub - SubnetsSub - Subnets

Page 11: Chapter 10 -Vlsm

Kho

a C

NTT

11/3

0PH

ẠM

N T

ÍNH

01-2

004

Calculating subnets with VLSM Calculating subnets with VLSM

Page 12: Chapter 10 -Vlsm

Kho

a C

NTT

12/3

0PH

ẠM

N T

ÍNH

01-2

004

VLSM ExampleVLSM Example

Page 13: Chapter 10 -Vlsm

Kho

a C

NTT

13/3

0PH

ẠM

N T

ÍNH

01-2

004

Calculating subnets with VLSMCalculating subnets with VLSM

192.168.10.0/24.

Page 14: Chapter 10 -Vlsm

Kho

a C

NTT

14/3

0PH

ẠM

N T

ÍNH

01-2

004

Calculating subnets with VLSMCalculating subnets with VLSM

Page 15: Chapter 10 -Vlsm

Kho

a C

NTT

15/3

0PH

ẠM

N T

ÍNH

01-2

004

Route aggregation with VLSMRoute aggregation with VLSM

Page 16: Chapter 10 -Vlsm

Kho

a C

NTT

16/3

0PH

ẠM

N T

ÍNH

01-2

004

Route summarization exampleRoute summarization example

Page 17: Chapter 10 -Vlsm

Kho

a C

NTT

17/3

0PH

ẠM

N T

ÍNH

01-2

004

Configuring VLSMConfiguring VLSM

60 Hosts 12 Hosts 12 Hosts

192.168.10.0/24

KL

SydneyPerth Singapore

192.168.10.64/27

192.168.10.128/30192.168.10.132/30

192.168.10.136/30

28 Hosts

192.168.10.0/26 192.168.10.96/28 192.168.10.112/28

S010.138

S0 10.137

Page 18: Chapter 10 -Vlsm

Kho

a C

NTT

18/3

0PH

ẠM

N T

ÍNH

01-2

004

RIP Version 2RIP Version 2

Page 19: Chapter 10 -Vlsm

Kho

a C

NTT

19/3

0PH

ẠM

N T

ÍNH

01-2

004

RIP v1: RIP v1: CharacteristicsCharacteristics • 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.

Page 20: Chapter 10 -Vlsm

Kho

a C

NTT

20/3

0PH

ẠM

N T

ÍNH

01-2

004

RIP v1: RIP v1: LimitationsLimitations

• 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).

Page 21: Chapter 10 -Vlsm

Kho

a C

NTT

21/3

0PH

ẠM

N T

ÍNH

01-2

004

RIP v1: RIP v1: ConfigurationConfiguration

Page 22: Chapter 10 -Vlsm

Kho

a C

NTT

22/3

0PH

ẠM

N T

ÍNH

01-2

004

RIP v2 features 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.

Page 23: Chapter 10 -Vlsm

Kho

a C

NTT

23/3

0PH

ẠM

N T

ÍNH

01-2

004

Comparing RIP v1 and v2 Comparing RIP v1 and v2

Page 24: Chapter 10 -Vlsm

Kho

a C

NTT

24/3

0PH

ẠM

N T

ÍNH

01-2

004

RIP v2: RIP v2: ConfigurationConfiguration

Page 25: Chapter 10 -Vlsm

Kho

a C

NTT

25/3

0PH

ẠM

N T

ÍNH

01-2

004

Verifying RIP v2 : Verifying RIP v2 : SHOW IP PROTOCOLSSHOW IP PROTOCOLS

Page 26: Chapter 10 -Vlsm

Kho

a C

NTT

26/3

0PH

ẠM

N T

ÍNH

01-2

004

Verifying RIP v2: Verifying RIP v2: SHOW IP ROUTESHOW IP ROUTE

Page 27: Chapter 10 -Vlsm

Kho

a C

NTT

27/3

0PH

ẠM

N T

ÍNH

01-2

004

Troubleshooting RIP v2 : Troubleshooting RIP v2 : DEBUG IP RIPDEBUG IP RIP

Page 28: Chapter 10 -Vlsm

Kho

a C

NTT

28/3

0PH

ẠM

N T

ÍNH

01-2

004

Default routes Default routes

InternetInternet

Page 29: Chapter 10 -Vlsm

Kho

a C

NTT

29/3

0PH

ẠM

N T

ÍNH

01-2

004

Q&AQ&A

Page 30: Chapter 10 -Vlsm

Kho

a C

NTT

30/3

0PH

ẠM

N T

ÍNH

01-2

004