EIGRP综合实验
实验要求:
1.R1为ISP,只能配置地址。
2.R1和R2 之间为PPP封装,使用chap认证,R1 为主认证方。
3.R2-R3地址为172.16.0.0/16。
4.R4的s1/1口带宽是800k,R4到R2的环回为非等等销负载均衡。
5.保障更新安全,减少路由条目。
6.R6到R8的环回通过R7进行。
7.R2到R8均可访问R1环回。
8.R1 TelentR2实际登陆R8。
实验拓扑图:
地址规划:
路由器 | 接口 | IP地址 |
R1 | S2/0 | 12.1.1.1/24 |
R2 | S2/0 | 12.1.1.2/24 |
R2 | E0/1 | 172.16.1.1/29 |
R3 | E0/0 | 172.16.1.2/29 |
R3 | E0/1 | 172.16.0.1/30 |
R4 | E0/0 | 172.16.0.2/30 |
R4 | S2/0 | 172.16.0.5/30 |
R5 | E0/0 | 172.16.1.3/29 |
R5 | E0/1 | 172.16.0.9/30 |
R5 | S2/0 | 172.16.0.6/30 |
R6 | E0/0 | 172.16.0.10/30 |
R6 | E0/1 | 172.16.0.13/30 |
R6 | E0/2 | 172.16.0.22/30 |
R7 | E0/0 | 172.16.0.14/30 |
R7 | E0/1 | 172.16.0.17/30 |
R8 | E0/0 | 172.16.0.18/30 |
R8 | E0/1 | 172.16.0.21/30 |
路由器 | 环回 | 地址 |
R1 | Loopback0 | 1.1.1.1/24 |
R2 | Loopback0 -2 |
172.16.2.0/24 |
R3 | Loopback0 -2 | 172.16.3.0/24 |
R4 | Loopback0 -2 | 172.16.4.0/24 |
R5 | Loopback0 -2 | 172.16.5.0/24 |
R6 | Loopback0 -2 | 172.16.6.0/24 |
R7 | Loopback0 -2 | 172.16.7.0/24 |
R8 | Loopback0 -2 | 172.16.8.0/24注:环回地址化成两段配置给环回Loopback0 -2,例R1 环回地址化成172.16.2.0/25 和172.16.2.128/25配置。 |
Web IOU模拟器 NETMAP书写及系统版本选择:
1:2/0 2:2/0
2:0/1 9:0/0
3:0/0 9:0/1
5:0/0 9:0/2
3:0/1 4:0/0
4:2/0 5:2/0
5:0/1 6:0/0
6:0/2 8:0/1
6:0/1 7:0/0
7:0/1 8:0/0注:L3 15.4.1TA 和L3 15.4.1TM 无法打开Telent 远程登陆。
路由器配置:
R1
isp#show running-config
Building configuration...
Current configuration : 1838 bytes
!
! Last configuration change at 11:04:38 CET Thu Dec 20 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname isp
!
boot-start-marker
boot-end-marker
no aaa new-model
clock timezone CET 1 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
username 123 password 0 cisco
!
redundancy
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface Ethernet0/0
no ip address
shutdown
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Ethernet1/0
no ip address
shutdown
!
interface Ethernet1/1
no ip address
shutdown
!
interface Ethernet1/2
no ip address
shutdown
!
interface Ethernet1/3
no ip address
shutdown
!
interface Serial2/0
ip address 12.1.1.1 255.255.255.0
encapsulation ppp
ppp authentication chap
serial restart-delay 0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end
R2配置
R2#show run
R2#show running-config
Building configuration...
Current configuration : 2393 bytes
!
! Last configuration change at 11:52:48 CET Thu Dec 20 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
boot-start-marker
boot-end-marker
no aaa new-model
clock timezone CET 1 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
redundancy
interface Loopback0
ip address 172.16.2.1 255.255.255.128
!
interface Loopback1
ip address 172.16.2.129 255.255.255.128
!
interface Ethernet0/0
no ip address
shutdown
!
interface Ethernet0/1
ip address 172.16.1.1 255.255.255.248
ip nat inside
ip virtual-reassembly in
ip summary-address eigrp 100 172.16.2.0 255.255.255.0
!
interface Serial2/0
ip address 12.1.1.2 255.255.255.0
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip summary-address eigrp 100 0.0.0.0 0.0.0.0
ppp chap hostname 123
ppp chap password 0 cisco
serial restart-delay 0
!
router eigrp 100
network 172.16.0.0
redistribute static
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip nat inside source list 1 interface Serial2/0 overload
ip nat inside source static tcp 172.16.8.1 23 12.1.1.2 23 extendable
ip route 0.0.0.0 0.0.0.0 12.1.1.1
!
access-list 1 permit 0.0.0.0
access-list 1 permit 172.16.0.0 0.0.255.255
!
control-plane
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end
R3配置
r3#show running-config
Building configuration...
Current configuration : 2000 bytes
!
! Last configuration change at 11:11:18 CET Thu Dec 20 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r3
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone CET 1 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
redundancy
!
interface Loopback0
ip address 172.16.3.1 255.255.255.128
!
interface Loopback1
ip address 172.16.3.129 255.255.255.128
!
interface Ethernet0/0
ip address 172.16.1.2 255.255.255.248
ip summary-address eigrp 100 172.16.3.0 255.255.255.0
!
interface Ethernet0/1
ip address 172.16.0.1 255.255.255.252
ip summary-address eigrp 100 172.16.3.0 255.255.255.0
!
router eigrp 100
network 172.16.0.0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
control-plane
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end
R4配置
r4#show running-config
Building configuration...
Current configuration : 2028 bytes
!
! Last configuration change at 11:53:56 CET Thu Dec 20 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r4
!
boot-start-marker
boot-end-marker
no aaa new-model
clock timezone CET 1 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
redundancy
!
interface Loopback0
ip address 172.16.4.1 255.255.255.128
!
interface Loopback1
ip address 172.16.4.129 255.255.255.128
!
interface Ethernet0/0
ip address 172.16.0.2 255.255.255.252
ip summary-address eigrp 100 172.16.4.0 255.255.255.0
!
interface Serial2/0
bandwidth 800
ip address 172.16.0.5 255.255.255.252
ip summary-address eigrp 100 172.16.4.0 255.255.255.0
serial restart-delay 0
!
!
router eigrp 100
variance 10
network 172.16.0.0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
control-plane
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end
R5配置
r8#show running-config
Building configuration...
Current configuration : 2160 bytes
!
! Last configuration change at 11:45:24 CET Thu Dec 20 2018
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r8
!
boot-start-marker
boot-end-marker
!
security passwords min-length 1
!
no aaa new-model
clock timezone CET 1
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip source-route
!
ip cef
no ip domain lookup
no ipv6 traffic interface-statistics
no ipv6 cef
!
multilink bundle-name authenticated
!
username cisco privilege 15 secret 5 $1$acyT$MFzbkT/zz.nibLqwzP/Ma.
!
redundancy
!
interface Loopback0
ip address 172.16.8.1 255.255.255.128
!
interface Loopback1
ip address 172.16.8.129 255.255.255.128
!
interface Ethernet0/0
ip address 172.16.0.18 255.255.255.252
ip summary-address eigrp 100 172.16.8.0 255.255.255.0
!
interface Ethernet0/1
ip address 172.16.0.21 255.255.255.252
ip summary-address eigrp 100 172.16.8.0 255.255.255.0
!
!
router eigrp 100
network 172.16.0.0
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login local
!
exception data-corruption buffer truncate
end
R6配置
r6#show running-config
Building configuration...
Current configuration : 2178 bytes
!
! Last configuration change at 11:00:38 CET Thu Dec 20 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r6
!
boot-start-marker
boot-end-marker
!
no aaa new-model
clock timezone CET 1 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
redundancy
interface Loopback0
ip address 172.16.6.1 255.255.255.128
!
interface Loopback1
ip address 172.16.6.129 255.255.255.128
!
interface Ethernet0/0
ip address 172.16.0.10 255.255.255.252
ip summary-address eigrp 100 172.16.6.0 255.255.255.0
!
interface Ethernet0/1
ip address 172.16.0.13 255.255.255.252
ip summary-address eigrp 100 172.16.6.0 255.255.255.0
!
interface Ethernet0/2
ip address 172.16.0.22 255.255.255.252
ip summary-address eigrp 100 172.16.5.0 255.255.255.0
!
router eigrp 100
network 172.16.0.0
offset-list 2 out 21 Ethernet0/2
offset-list 2 in 9909856 Ethernet0/2
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
access-list 2 permit 172.16.8.0
!
control-plane
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input none
!
!
end
R7配置
r7#show running-config
Building configuration...
Current configuration : 2028 bytes
!
! Last configuration change at 11:47:54 CET Thu Dec 20 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r7
!
boot-start-marker
boot-end-marker
no aaa new-model
clock timezone CET 1 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
username cisco privilege 15 secret 5 $1$l.1V$oEW35c5iRMbE6vHKC2mF8.
!
redundancy
interface Loopback0
ip address 172.16.7.1 255.255.255.128
!
interface Loopback1
ip address 172.16.7.129 255.255.255.128
!
interface Ethernet0/0
ip address 172.16.0.14 255.255.255.252
ip summary-address eigrp 100 172.16.7.0 255.255.255.0
!
interface Ethernet0/1
ip address 172.16.0.17 255.255.255.252
ip summary-address eigrp 100 172.16.7.0 255.255.255.0
!
router eigrp 100
network 172.16.0.0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
control-plane
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
!
!
end
R8配置
r8#show running-config
Building configuration...
Current configuration : 2160 bytes
!
! Last configuration change at 11:54:50 CET Thu Dec 20 2018
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r8
!
boot-start-marker
boot-end-marker
!
security passwords min-length 1
!
no aaa new-model
clock timezone CET 1
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip source-route
!
ip cef
no ip domain lookup
no ipv6 traffic interface-statistics
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
username cisco privilege 15 secret 5 $1$acyT$MFzbkT/zz.nibLqwzP/Ma.
!
redundancy
!
!
interface Loopback0
ip address 172.16.8.1 255.255.255.128
!
interface Loopback1
ip address 172.16.8.129 255.255.255.128
!
interface Ethernet0/0
ip address 172.16.0.18 255.255.255.252
ip summary-address eigrp 100 172.16.8.0 255.255.255.0
!
interface Ethernet0/1
ip address 172.16.0.21 255.255.255.252
ip summary-address eigrp 100 172.16.8.0 255.255.255.0
!
router eigrp 100
network 172.16.0.0
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login local
!
exception data-corruption buffer truncate
end