Simple EIRGP Load Balancing

Source: Internet
Author: User

 

Experiment topology:

Lab environment: GNS3 and C3640

 

Purpose: To verify whether the auto-load balancing function is implemented by the kernel.

 

Next we will start the experiment

1. Configure an IP address for R1

 

R1> en

R1 # conf

Starting ing from terminal, memory, or network [terminal]?

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

R1 (config) # int lo0

R1 (config-if) # ip add 1.1.

* Mar 1 00:02:27. 247: % LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R1 (config-if) # ip add 1.1.1.1 255.255.255.0

R1 (config-if) # no shut

R1 (config-if) # int fa0/0

R1 (config-if) # ip add 192.168.20.1 255.255.255.0

R1 (config-if) # no shut

R1 (config-if) # int s1

* Mar 1 00:02:57. 815: % LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

* Mar 1 00:02:58. 815: % LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R1 (config-if) # int s1/0

R1 (config-if) # ip add 192.168.10.1 255.255.255.0

R1 (config-if) # no shut

R1 (config-if )#

 

 

2. Configure IP addresses for R2

 

R2> en

R2 # conf

Starting ing from terminal, memory, or network [terminal]?

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

R2 (config) # int lo0

R2 (config-if) # ip add 2.

* Mar 1 00:04:48. 611: % LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R2 (config-if) # ip add 2.2.2.2 255.255.255.0

R2 (config-if) # no shut

R2 (config-if) # int fa0/0

R2 (config-if) # ip add 192.168.20.2 255.255.255.0

R2 (config-if) # no shut

R2 (config-if) # int s

* Mar 1 00:05:13. 451: % LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

* Mar 1 00:05:14. 451: % LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R2 (config-if) # int s1/0

R2 (config-if) # ip add 192.168.10.2 255.255.255.0

R2 (config-if) # no shut

R2 (config-if )#

 

3. Configure r1's VPN gateway

R1 (config) # router

R1 (config) # router ei

R1 (config) # router VPN 100

R1 (config-router) # net

R1 (config-router) # network 1.1.1.0 255.255.0

R1 (config-router) # net

R1 (config-router) # network 192.168.10.0

R1 (config-router) # net

R1 (config-router) # network 192.168.20.0

R1 (config-router) # no au

R1 (config-router) # no auto-summary

R1 (config-router )#

 

 

 

4. Configure R2.

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

R2 (config) # router ei

R2 (config) # router VPN 100

R2 (config-router) # net

R2 (config-router) # network 2.2.2.0 255.255.255.0

R2 (config-router) # net

R2 (config-router) # network 192.168.10.0

R2 (config-router) # net

R2 (config-router) # network

* Mar 1 00:08:37. 311: % DUAL-5-NBRCHANGE: IP-EIGRP (0) 100: Neighbor 192.168.10.1 (Serial1/0) is up: new adjacency

R2 (config-router) # network 192.168.20.0

R2 (config-router) # no

R2 (config-router) # no

* Mar 1 00:08:46. 511: % DUAL-5-NBRCHANGE: IP-EIGRP (0) 100: Neighbor 192.168.20.1 (FastEthernet0/0) is up: new adjacency

R2 (config-router) # no au

R2 (config-router) # no auto-summary

R2 (config-router )#

 

 

On R1, pingR2

R1 # ping 2.2.2.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 20/59/116 MS

 

On R1

IP-EIGRP Topology Table for AS (100)/ID (1.1.1.1)

 

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 128256

Via Connected, Loopback0

P 2.2.2.0/24, 1 successors, FD is 156160

Through 192.168.20.2 (156160/128256), FastEthernet0/0

Via 192.168.10.2 (2297856/128256), Serial1/0

P 192.168.10.0/24, 1 successors, FD is 2169856

Via Connected, Serial1/0

P 192.168.20.0/24, 1 successors, FD is 28160

Via Connected, FastEthernet0/0

It can be seen that 2.2.2.0 is reached in R2.

The successor route is via 192.168.20.2 (156160/128256), FastEthernet0/0

A reliable successor is

P 2.2.2.0/24, 1 successors, FD is 156160

Via 192.168.10.2 (2297856/128256), Serial1/0

The experiment is over!

By the way, it is necessary to establish a neighbor:

 

1. Received hello or ACK

 

2. Matched AD numbers

 

3. Have the same measurement (K value)

 

 

 

This article is from the "IT-dream-chase" blog

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.