Classification of route selection protocols-implement VLSM division in RIP v2

Source: Internet
Author: User

______
| Chapter 2 |
------
Classification of route selection protocols
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RIP V2 features
Basic configuration of RIP v2
* *** RIP v2 implements VLSM Division (Variable Length subnet mask)
Summary of CIDR routes implemented by RIP v2
RIP 2 implements load balancing with equal hop paths
RIP2 authentication Configuration
RIP2 configuration passive interface to suppress route update
------------------
IP address planning
Some D-class selection protocols used for Multicast Routing
OSPF-224.0.0.5 224.0.0.6
RIPv2-224.0.0.9
EIGRP-224.0.0.10
Calculate the number of subnets:
The n power of 2 (n indicates the number of digits of the subnet)
Relationship between subnet bits and mask
1----------128
2----------192
3----------224
4----------240
5----------248
6----------253
7----------254
8----------255
--------------------------------
Vlsm experiment:
192.168.49.0/24 CIDR Block
(25 pc) (49.1) R1 (49.97) --------- (98)
|
(25 pc) (49.33) R2 (49.101) ------ (102) R4--------R5 (ISP)
|
(25 PCs) (49.65) R3-49.105) ------ (106)
Router4 S0/0 <----> Router5 S0/0
Router1 S0/0 <----> Router4 S0/1
Router2 S0/0 <----> Router4 S0/2
Router3 S0/0 <----> Router4 S0/3
VPCS V0/1 <----> Router1 F1/0
VPCS V0/2 <----> Router2 F1/0
VPCS V0/3 <----> Router3 F1/0
VPCS V0/4 <----> Router4 F1/0
VPCS V0/5 <----> Router5 F1/0
Subnet, with R1 R2 R3, so at least the number of network segments is required: 192.168.49.0/27 (8 subnets, 32 IP addresses per subnet)
The fourth subnet is divided twice, 192.168.96/30 (eight subnets, each with four IP addresses)
Ip Address:
192.168.49.0-31
192.168.49.32-63
192.168.49.64-95
192.168.49.96-127
192.168.49.128- 159
IP address 192.168.49.160-191
192.168.49.192-223
192.168.49.0000-255
192.168.49.96-127 perform secondary subnet division
192.168.49.96-99
192.168.49.100-103
192.168.49.104-107
192.168.49.108-128
192.168.49.112-115
192.168.49.1 16-119
192.168.49.120-123
192.168.49.1 24-127
Configuration command:
-------------------------------
For R1:
En
Conf t
Ip domain-lookup
Ip classless (supports subnet division)
Ip subnet-zero
Hostname R1
R1 (config) # int loopback1
R1 (config-if) # ip add 192.168.49.1 too many then
R1 (config-if) # no shu
R1 (config-if) # exi
R1 (config) # int s0/0
R1 (config-if) # ip add 192.168.49.97 255.255.255.252
R1 (config-if) # no shut
R1 (config-if) # exi
Router rip
Version 2
Network 192.168.49.0
Network 192.168.49.96
End
Sh run
For R2:
En
Conf t
Host R2
No ip domain-lookup
Ip classless
Ip subnet-zero
Int loopback1
Ip add 192.168.49.33 without authorization
No shu
Exi
Int s0/0
Ip add 192.168.49.101 255.255.255.252
No shu
Exi
Router rip
Version 2
No auto-summary
Net 192.168.49.32
Net 192.168.49.100
End
Sh ip rou
For R3:
En
Conf t
Host R3
No ip domain-lookup
Ip classless
Ip subnet-zero
Int loopback1
Ip add 192.168.49.65 without authorization
No shu
Exi
Int s0/0
Ip add 192.168.49.105 255.255.255.252
No shu
Exi
Router rip
Version 2
No auto-summary
Net 192.168.49.64
Net 192.168.49.104
End
Sh ip rou
For R4:
En
Conf t
Host R4
No ip domain-lookup
Ip classless
Ip subnet-zero
Int s0/1
Ip addr 192.168.49.98 255.255.255.252
No shu
Exi
Int s0/2
Ip addr 192.168.49.102 255.255.255.252
No shu
Exi
Int s0/3
Ip addr 192.168.49.106 255.255.255.252
No shu
Exi
Router rip
Version 2
No auto-summary
Network 192.168.49.96
Net 192.168.49.100
Net 192.168.49.104
End
Sh ip int B
Sh ip rou
For R5:
En
Conf t
No ip domain-lookup
Ip classless
No subnet-zero
Router rip
Version 2
No auto-summary (if route aggregation is not disabled, you can only learn the large network 192.168.49.0 on R5, And the subnetwork we divide cannot be learned)
..............
--------------------------------------------
Question:
A large number of VLSM applications will lead to the constant expansion of upper-layer route tables

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.