Cisco Dynamic Route configuration-in-Kernel

Source: Internet
Author: User

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/43/93/wKiom1Pbep7Bc6L5AABomL_VOTk718.jpg "Title =" clipboard.png "alt =" wkiom1pbep7bc6l5aabml_votk718.jpg "/>

Cisco configures dynamic routing, which can be configured using the enhanced internal gateway routing protocol.


Supports:


Fast Convergence: dual (dispersion update algorithm) is used to achieve rapid convergence.

Effective use of bandwidth: Send partial or Incremental Route updates, instead of sending the entire route table, to achieve effective use of bandwidth.

Supports multiple network layer protocols: Use a protocol-independent module (PDM) to support IP, IPX, appletalk, and other protocols.

Supports vlsm (variable-length subnet mask) and CIDR (classless Inter-Domain Routing)



Idea: configure the port IP addresses of each vro separately

Configure the CIDR blocks of the vrouters


R1 # conf t

Enter configuration commands, one per line. End with cntl/Z.

R1 (config) # int fa 0/0

R1 (config-If) # IP add 1.1.1.1 255.255.255.0

R1 (config-If) # No sh

R1 (config-If) # exit

R1 (config) # fig?

<1-65535> autonomous system number // autonomous system number


R1 (config) # router VPN 10

R1 (config-router) # network 1.1.1.0 0.0.255



R2 (config) # int fa 0/0

R2 (config-If) # IP add 1.1.1.2 255.255.255.0

R2 (config-If) # No sh

R2 (config-If) # exit

R2 (config) # int fa 1/0

R2 (config-If) # IP add 2.2.2.2 255.255.255.0

R2 (config-If) # No sh

R2 (config-If) # exit

R2 (config) # router VPN 10

R2 (config-router) # network 1.1.1.0 0.0.255

R2 (config-router) # network 2.2.2.0 0.0.0.255



R3 (config) # int fa 0/0

R3 (config-If) # IP add 2.2.2.3 255.255.255.0

R3 (config-If) # No sh

R3 (config-If) # exit

R3 (config) # router VPN 10

R3 (config-router) # network 2.2.2.0 0.0.0.255


Configuration complete.


You can view the topology data structure of the VPN gateway on the R1 through the sh ip address VPN top.


R1 # SH ip address: VPN top

IP-EIGRP topology table for AS (10)/ID (1.1.1.1) // autonomous system number 10


Codes: p-passive, A-active, U-Update, Q-query, R-reply,

R-reply status, S-sia status


P 1.1.1.0/24, 1 successors, FD is 28160

Via connected, fastethernet0/0

P 2.2.2.0/24, 1 successors, FD is 30720

Via 1.1.1.2 (30720/28160), fastethernet0/0



Run the command SH ip route VPN to view the Routes learned by iver1.


R1 # SH ip route VPN

2.0.0.0/24 is subnetted, 1 subnets

D 2.2.2.0 [90/30720] via 1.1.1.2, 00:25:42, fastethernet0/0





Thank you for your advice.

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.