10.0.0.0/8 is Variably subnetted,2subnets,2masks
D10.0.0.0/8 is a summary,00:10:54,Null0
C10.1.1.0/24is directly connected,FastEthernet0/0
172.16.0.0/16is Variably subnetted,2subnets,2masks
D172.16.0.0/16is a summary,00:10:54,Null0
C172.16.0.0/24is directly connected,FastEthernet0/1
D192.168.2.0/24[90/30720] Via172.16.0.2,00:10:53,FastEthernet0/1
Router1#
Router1#ping192.168.2.2//pingPC2
Type escape sequence to abort.
Sending 5,100-byte ICMP Echos to192.168.2.2,timeout is2seconds:
!!!!!
Success rate is100percent(5/5),round-trip min/aVg/max=78/90/94ms
Router1#
路由器Router1ping PC2,结果ping通,说明网络已经连通。
Router1#shoW ip protocols
Routing Protocol is"eigrp100"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default netWorks flagged in outgoing updates
Default netWorks accepted from incoming updates
EIGRP metric Weight K1=1,K2=0,K3=1,K4=0,K5=0
EIGRP maximum hopcount100
EIGRP maximum metric Variance1
Redistributing:eigrp100
Automatic netWork summariZation is in effect
Automatic address summariZation:
Maximum path:4
Routing for NetWorks:
10.1.1.0/24
172.16.0.0/24
Routing Information Sources:
GateWay Distance Last Update
172.16.0.2902
Distance:internal 90external170
Router1#
Router1#shoW ip eigrp interfaces
IP-EIGRP interfaces for process100
Xmit Queue Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable SRTT Un/Reliable FloW Timer Routes
Fa0/000/012360/1000
Fa0/110/012360/1000
Router1#
Router1#shoW ip eigrp neighbors
IP-EIGRP neighbors for process100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec)(ms) Cnt Num
0172.16.0.2 Fa0/11000:05:5240100003
Router1#
Router1#shoW ip eigrp topology
IP-EIGRP Topology Table for AS100
Codes:P-PassiVe,A-ActiVe,U-Update,Q-Query,R-Reply,
r-Reply status
P10.1.1.0/24,1successors,FD is28160
Via Connected,FastEthernet0/0
P172.16.0.0/24,1successors,FD is28160
Via Connected,FastEthernet0/1
P10.0.0.0/8,1successors,FD is28160
Via Summary(28160/0),Null0
P172.16.0.0/16,1successors,FD is28160
Via Summary(28160/0),Null0
P192.168.2.0/24,1successors,FD is30720
Via172.16.0.2(30720/28160),FastEthernet0/1
Router1#
4.4实训思考
经过本项目实训之后,请回答下面问题。
(1)在配置每一个端口的IP地址之后,使用ping命令验证直连的邻居。即当你在路由器Router1时,可以ping路由器Router2的Fast Ethernet0/1端口。这时如何操作?
(2)正确地配置IP地址之后,需要配置路由协议EIGRP。需要进入路由器Router1的全局配置模式,这时需要什么命令?
(3)如何进入路由器EIGRP协议的命令配置模式?
(4)添加路由器Router1的直连网络,需要什么语句?
(5)为路由器Router1配置EIGRP之后,需要连接路由器Router2,而且进入全局配置模式。请写出命令格式。
(6)添加路由协议EIGRP,命令格式是什么?
(7)添加路由器Router2的直连网络,需要什么语句?
(8)所有的路由器都运行了EIGRP之后,输入Ctrl+Z键退回到特权用户模式,测试能否ping到非直连的计算机。从路由器Router1应该能够ping到PC2。即IP地址为192.168.2.2。试一试。
(9)如果PC1能够ping到路由器Router2和PC2,那么路由配置正确。如果ping不到则需要跟踪查看路由器的配置情况。现在查看路由器Router2的路由表,用什么命令?可看到多少条EIGRP路由?
(10)查看路由器的路由协议信息,用什么命令?
(11)在网络拓扑中,使用EIGRP路由协议配置网络,实现气网连通,请写出详细配置步骤。