The use of Leak-map in the combination of multiple nodes in the network.

Source: Internet
Author: User

Required Configuration
The following are the required devices for this lab:
1) Two Cisco routers with one serial port;
2) Cisco IOS 10.0 or later;
4) a pc that runs the terminal simulation program;
5) a Cisco DTE/DCE crossover cable;
6) a Cisco flat cable is used to access the Console port of the router.

3.4.1. Tutorial Purpose
Master how to use the leak-map leak part of the precise routing. Specific requirements: R1 and R6 run the OSPF protocol. R1 summarizes the routes when it passes the routing to R6, A route entry of 192.168.1.0, 192.168.2.0, and 192.168.3.0 is summarized as 192.168.0.0/22, but an exact route entry of 192.168.1.0/24 is to be separately advertised to R6 on R1.
3.4.2. Experiment Topology
 


3.4.3. Experiment Configuration
1. Router R1
Interface Loopback1
Ip address 192.168.1.1 255.255.255.0
!
Interface Loopback2
Ip address 192.168.2.1 255.255.255.0
!
Interface Loopback3
Ip address 192.168.3.1 255.255.255.0
!
Interface Serial0/1
Ip address 16.16.16.1 255.255.255.0
Ip summary-address VPN 90 192.168.0.0 255.255.252.0 5 leak-map myleakmap
!
Router VPN 90
Network 16.16.16.0 0.0.255
Network 192.168.1.0
Network 192.168.2.0
Network 192.168.3.0
Auto-summary
!
Ip access-list standard myleakmapacl
Permit 192.168.1.0 0.0.255
!
Route-map myleakmap permit 10
Match ip address myleakmapacl
!
2. Router R6
Interface Serial0/1
Ip address 16.16.16.6 255.255.255.0
Serial restart-delay 0
Clock rate 64000
!
Router VPN 90
Network 16.16.16.0 0.0.255
No auto-summary
!
Dcd
3.4.4. Experiment verification
When myleakmap is not configured
R6 # show ip route
Gateway of last resort is not set


16.0.0.0/24 is subnetted, 1 subnets
C 16.16.16.0 is directly connected, Serial0/1
D 192.168.0.0/22 [90/2297856] via 16.16.16.1, 00:01:26, Serial0/1
After configuring myleakmap
R6 # show ip route
Gateway of last resort is not set

16.0.0.0/24 is subnetted, 1 subnets
C 16.16.16.0 is directly connected, Serial0/1
D 192.168.1.0/24 [90/2297856] via 16.16.16.1, 00:00:04, Serial0/1
D 192.168.0.0/22 [90/2297856] via 16.16.16.1, 00:01:35, Serial0/1
As you can see, the exact route of 192.168.1.0/24 is displayed on R6.

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.