R2 S2/0 192.168.10.6/30
R2 S3/0 192.168.10.9/30
R3 S2/0 192.168.10.10/30
R1(config-if)#ip address 192.168.10.17 255.255.255.240
R1(config-if)#no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#exit
R1(config)#interface serial 2/0
R1(config-if)#ip address 192.168.10.5 255.255.255.252
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#router eigrp 10 //启用eigrp路由协议,自治系统号为10;路由的自治号相同才可通信
R1(config-router)#network 192.168.10.0 //通告直连网络
R2(config-if)#ip address 192.168.10.6 255.255.255.252
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
R2(config-if)#exit
R2(config)#interface serial 3/0
R2(config-if)#ip address 192.168.10.9 255.255.255.252
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#router eigrp 10
R2(config-router)#network 192.168.10.0
R2(config-if)#ip address 192.168.10.33 255.255.255.224
R2(config-if)#no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#exit
R2(config)#interface serial 2/0
R2(config-if)#ip address 192.168.10.10 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
R2(config-if)#exit
R2(config)#router eigrp 10
R2(config-router)#network 192.168.10.0
Reply from 192.168.10.34: bytes=32 time=168ms TTL=125
Reply from 192.168.10.34: bytes=32 time=157ms TTL=125
Reply from 192.168.10.34: bytes=32 time=167ms TTL=125