第1段:R1路由器的配置 version 12.1 service timestamps debug uptime service timestamps log uptime no service passWord-encryption ! hostname R1 ! ip subnet-zero ! interface Loopback0 ip address 10.1.1.1255.255.255.0 ! interface Serial0 no ip address encapsulation frame-relay no fair-queue no frame-relay inverse-arp interface Serial0.2 multipoint bandwidth 64 ip address 192.168.1.1255.255.255.0 frame-relay map ip 192.16S.1.2 102 broadcast frame-relay map ip 192.168.1.3 103 broadcast ! router eigrp 100 network 10.1.1.0 0.0.0.255 network 192.168.1.00.0.0.255 no auto-summary no eigrp log-neighbor-changes ! ip classless ip http server ! line con 0 line aux 0 line vty 0 4 ! end 第2段:R2路由器的配置 version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname R2 ! ip subnet-zero no ip finger ! interface Loopback0 ip address 10.1.2.1255.255.255.0 ! interface Serial0 bandwidth 64 ip address 192.168.1.2 255.255.255.0 encapsulation frame-relay no fair-queue frame-relay map ip 192.168.1.1 201 broadcast frame-relay interface-dici 201 no frame-relay inverse-arp ! router eigrp 100 network 10.1.2.00.0.0.255 network 192.168.1.0 no auto-summary no eigrp log-neighbor-changes ! ip classless ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! end 第3段:R3路由器的配置 version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname R3 ! ip subnet-zero no ip finger ! interface Loopback0 ip address 10.1.3.1255.255.255.0 ! interface Serial0 bandwidth 64 ip address 192.168.L3 encapsulation frame-relay no fair-queue frame-relay map ip 192.168.1.1 301 broadcast frame-relay interface-dici 301 no frame-relay inverse-arp ! router eigrp 100 network 10.1.3.00.0.0.255 network 192.168.1.0 no auto-summary no eigrp log-neighbor-changes ! ip classless ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! end
第1段:查看EIGRP路由表 R1#sh ip route eigrp 10.0.0.0/24 is subnetted, 3 subnets D 10.1.3.0[90/40640000]via 192.168.1.3,00:08:24,Serial0.2 D 10.1.2.0[90/40640000]via 192.l68.1.2,00:07:42.Serial0.2 R1# Term_Server#2 [Resuming connection 2 to r2 ... ]
R2#sh ip route eigrp 10.0.0.0/24 is subnetted, 2 subnets D 10.1.1.0 [90/406400003 via 192.168.1.1,00:07:51,Serial0 R2# Term_Server#3 [Resuming connection 3 to r3 ... ]
R3#sh ip route eigrp 10.0.0.0/24 is subnetted, 2 subnets D 10.1.1,0 [90/40640000] via 192.168.1.1,00:08:34,Serial0 R3# 第2段:禁用EIGRP水平分割并查看路由表和网络连通性 Term_Server#1 [Resuming connection 1 to r1 ... ]
R1#conft Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int s0.2 R1(config-subif)#no ip split-horizon eigrp 100 R1(config-subif)#^Z R1# Term_Server#2 [Resuming connection 2 to r2 ... ]
R2# R2#sh ip route eigrp 10.0.0.0/24 is subnetted, 3 subnets D 10.1.2.0[90/41152000]via 192.168.1.1,00:00:34,Serial0 D 10.1.1.0[90/40640000]via 192.168.1.1,00:00:34,Serial0 R2# Term_Server#3 [Resuming connection 3 to r3 ... ]
R3#sh ip route eigrp 10.0.0.0/24 is subnetted, 3 subnets D 10.1.2.0[90/41152000]via 192.168.1.1,00:17:25,Serial0 D 10.1.1.0[90/40640000]via 192.168.1.1,00:17:25,Serial0 R3# R3#ping 10.1.2.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds: ..... SUCcess rate is 0 percent (0/5) 第3段:增加帧中继静态映射并再次测试连通性 R3#ping PRotocol [ip]: Target IP address: 10.1.2.1 Repeat count [5]: Datagram size [ 100]: Timeout in seconds [2]: Extended commands [n]: y Source address or interface: 10.1.3.1 Type of service [0]: Set DF bit in IP header? [no]: Validate reply data? [no]: Data pattern [0xABCD]: Loose, Strict, Record, Timestamp, Verbose[none]: Sweep range of sizes [n]: Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent(5/5),round-trip min/avg/max=116/116/120 ms
R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#int sO R3(config-if)#frame map ip 192.168.1.2 301 broadcast R3(config-if)# Term_Server#^2 [Resuming connection 2 to r2 ... ]
R2#conft Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int sO R2(config-if)#frame map ip 192.168.1.3 201 broadcast R2(config-if)#^Z R2# R2#ping 192.168.1.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds: !!!!! Success rate is 100 percent(5/5),round-trip min/avg/max=120/124/36 ms R2#ping 10.1.3.1 Type es