首先告知:R1---R2;R2---R3;R4----R5:S1/0--S1/1都是这样的连中间的以太网用F0/0链接
R1----R2网段:12.1.1.0/24 R2-----R3:23.1.1.0/24
R1--R3----R4:134.1.1.0/24 R4---R5:45.1.1.0/24
需求:
1、R2的S1/0的带宽改为700K
2、R5为EIGRP STUB,只通告直连
3、R3启用loopback1:200.200.200.1/24,不通告进EIGRP去,但是要求全网都能访问这个环回
4、要确保R2的EIGRP在S1/0能使用至少70K的带宽,
5、R1和R2之间启用EIGRP的认证,PASSWORD自己设置
6、R4启用环回:loopback1---10,十个环回,172.16.1.0/24到10.0/24
7、R1、R2 R3 R5 只能收到R4的十个环回的一条汇总路由
8、修改R2的S1/1接口的hello--time 为20S
9、在R4做DHCP服务,要求R1和R3的F0/0地址要自动获取
10、要求从R2---TELNET--R5的5.5.5.5环回,登陆进去的时候却是登陆到了R4
11、要求从R2到R4形成非等价负载均衡
13、R1到R5五个路由器都启用环回Lo0,R1:Lo0:1.1.1.1/24 R2:Lo0:2.2.2.2/24以此类推。
12、全网EIGRP可达
配置如下:
R1#show run
Building configuration...
Current configuration : 1028 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
key chain ccnp
key 1
key-string cisco
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface Serial1/0
ip address 12.1.1.1 255.255.255.0
ip hello-interval eigrp 100 20
ip hold-time eigrp 100 60
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 ccnp
serial restart-delay 0
clock rate 64000
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 1.1.1.0 0.0.0.255
network 12.1.1.0 0.0.0.255
network 134.1.1.0 0.0.0.255
no auto-summary
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
end
R2#show run
Building configuration...
Current configuration : 1113 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
key chain ccnp
key 1
key-string cisco
!
!
!
interface Loopback0
ip address 2.2.2.2 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
bandwidth 700
ip address 23.1.1.1 255.255.255.0
ip bandwidth-percent eigrp 100 10
serial restart-delay 0
clock rate 64000
!
interface Serial1/1
ip address 12.1.1.2 255.255.255.0
ip hello-interval eigrp 100 20
ip hold-time eigrp 100 60
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 ccnp
serial restart-delay 0
clock rate 64000
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 2.2.2.0 0.0.0.255
network 12.1.1.0 0.0.0.255
network 23.1.1.0 0.0.0.255
no auto-summary
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
end
R3#show run
Building configuration...
Current configuration : 954 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R3
!
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
!
!
interface Loopback0
ip address 3.3.3.3 255.255.255.0
!
interface Loopback1
ip address 200.200.200.1 255.255.255.0
!
interface FastEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
ip address 23.1.1.2 255.255.255.0
ip summary-address eigrp 100 0.0.0.0 0.0.0.0 5
serial restart-delay 0
clock rate 64000
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 3.3.3.0 0.0.0.255
network 23.1.1.0 0.0.0.255
network 134.1.1.0 0.0.0.255
no auto-summary
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
end
R4#show run
Building configuration...
Current configuration : 1606 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R4
!
!
ip subnet-zero
!
!
no ip domain-lookup
no ip dhcp conflict logging
ip dhcp excluded-address 134.1.1.4
!
ip dhcp pool ccnp
network 134.1.1.0 255.255.255.0
default-router 134.1.1.254
dns-server 61.134.1.4
!
!
!
!
interface Loopback0
ip address 172.16.1.1 255.255.255.0
!
interface Loopback1
ip address 172.16.2.1 255.255.255.0
!
interface Loopback2
ip address 172.16.3.1 255.255.255.0
!
interface Loopback3
ip address 172.16.4.1 255.255.255.0
!
interface Loopback5
ip address 4.4.4.4 255.255.255.0
!
interface FastEthernet0/0
ip address 134.1.1.4 255.255.255.0
ip nat outside
ip summary-address eigrp 100 172.16.0.0 255.255.248.0 5
duplex auto
speed auto
!
interface Serial1/0
ip address 45.1.1.1 255.255.255.0
ip nat inside
ip summary-address eigrp 100 172.16.0.0 255.255.248.0 5
serial restart-delay 0
clock rate 64000
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 4.4.4.0 0.0.0.255
network 45.1.1.0 0.0.0.255
network 134.1.1.0 0.0.0.255
network 172.16.1.0 0.0.0.255
network 172.16.2.0 0.0.0.255
network 172.16.3.0 0.0.0.255
network 172.16.4.0 0.0.0.255
no auto-summary
!
ip nat inside source static 4.4.4.4 5.5.5.5
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
password cisco
login
!
end
R5#show run
Building configuration...
Current configuration : 883 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R5
!
!
ip subnet-zero
!
!
no ip domain-lookup
!
!
!
!
interface Loopback0
ip address 5.5.5.5 255.255.255.0
ip nat outside
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
ip address 45.1.1.2 255.255.255.0
ip nat inside
serial restart-delay 0
clock rate 64000
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 5.5.5.0 0.0.0.255
network 45.1.1.0 0.0.0.255
no auto-summary
eigrp stub connected
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
这里就少做了一个非等价负载均衡,其他的都做完毕了!!
这个实验包含了:eigrp的非等价负载,邻居关系建立问题,认证、缺省路由配置,还有手工汇总等要点!同时也包含了DHCP和NAT的知识!