R1:
Router#show run Building configuration... Current configuration : 1133 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! ! no aaa new-model ip subnet-zero ! ! ! ip cef ! ! ! key chain RIP-MK5-KEY key 1 key-string ripv2md5 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 1.1.1.1 255.255.255.0 ! interface FastEthernet0/0 ip address 12.0.0.1 255.255.255.0 ip rip authentication mode md5 ip rip authentication key-chain RIP-MK5-KEY duplex auto speed auto ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial1/0 ip address 21.0.0.1 255.255.255.0 serial restart-delay 0 ! 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 rip version 2 passive-interface Loopback0 network 1.0.0.0 network 12.0.0.0 network 21.0.0.0 ! ip http server no ip http secure-server ip classless ! ! ! ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! end
R2:
Router#show run Building configuration... Current configuration : 1059 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! ! no aaa new-model ip subnet-zero ! ! ! ip cef ! ! ! key chain RIP-MK5-KEY key 1 key-string ripv2md5 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 ip address 12.0.0.2 255.255.255.0 ip rip authentication mode md5 ip rip authentication key-chain RIP-MK5-KEY duplex auto speed auto ! interface FastEthernet0/1 ip address 23.0.0.2 255.255.255.0 duplex auto speed auto ! interface Serial1/0 ip address 21.0.0.2 255.255.255.0 serial restart-delay 0 ! 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 rip version 2 network 12.0.0.0 network 21.0.0.0 network 23.0.0.0 ! ip http server no ip http secure-server ip classless ! ! ! ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! end
拓朴结构同前.
测试过程:
时间: 2025-01-01 22:00:21