
Building configuration...
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 20.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
network 10.0.0.0
network 20.0.0.0
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
line vty 0 4
login
!
!
!
end
R1#
Building configuration...
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 20.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 30.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router eigrp 10
redistribute rip metric 200 200 200 200 1500
network 30.0.0.0
auto-summary
!
router rip
redistribute eigrp 10 metric 15
network 20.0.0.0
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
line vty 0 4
login
!
!
!
end
R2#
Building configuration...
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 40.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 30.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router eigrp 10
network 30.0.0.0
network 40.0.0.0
auto-summary
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
line vty 0 4
login
!
!
!
end
R3#
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
C 20.0.0.0/8 is directly connected, FastEthernet0/0
R 30.0.0.0/8 [120/15] via 20.0.0.2, 03:28:59, FastEthernet0/0
R 40.0.0.0/8 [120/15] via 20.0.0.2, 03:28:12, FastEthernet0/0
R1#
Reply from 30.0.0.1: bytes=32 time=62ms TTL=254
Reply from 30.0.0.1: bytes=32 time=63ms TTL=254
Reply from 30.0.0.1: bytes=32 time=62ms TTL=254
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 62ms, Maximum = 63ms, Average = 62ms
说明:整个网络可以通讯。