本实验是对ipX协议的基本配置,并主要演示IPX在以太网上的各种封装类型。
1.实验目的
通过本实验,读者可以把握以下技能
●启动IPX路由;
●配置IPX地址;
●在以太网上选择相应的封装;
●测试IPX网络的连通性;
●查看IPX相关信息。
2. 设备需求
本实验需要以下设备:
●Cisco路由器2台,命名为R1和R2,要求最少具有1个以太网接口,并且IOS软件为Desktop版本以上;
●1条交叉线序的双绞线,或2条正常线序双绞线和1个Hub;
●1台终端服务器,如Cisco 2509路由器,及用于反向Telnet的相应电缆;
●1台带有超级终端程序的PC机,以及Console电缆及转接器。
3.拓扑结构及配置说明
本实验拓扑结构如图9.1所示,2台路由器通过以太网连接越来。
IPX网络号为12。
实验要求配置IPX地址,并实现R1和R2之间EPX协议上的连通性
4. 实验配置及监测结果
配置清单9-1记录了IPX协议的基本配置。
配置清单9-1基本的EPX配置
第1段:启动IPX路由并配置IPX网络
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ipx routing?
H.H.H IPX address of this router
R1(config)#ipx routing
R1(config)#int eO
R1(config-if)#ipx netw 12
R1(config-if)#no sh
R1(config-if)#^Z
R1#
Term_Server#2
[Resuming connection 2 to R2 ...]
R2#conft
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ipx routing
R2(config)#int eO
R2(config-if)#ipx netw 12
R2(config-if)#no sh
R2(config-if)#^Z
R2#
第2段:查看IPX协议信息并测试连通性
R1#sh ipx int eO
Ethemet0 is up, line PRotocol is up
IPX address is 12.0000.0c76,NOVELL-ETHER[up]
Delay of this IPX network, in ticks is I throughput 0 link delay 0
IPXWAN processing not enabled on this interface.
IPX SAP update interval is 60 seconds
IPX type 20 propagation packet forwarding is disabled
Incoming access list is not set
Outgoing access list is not set
IPX helper access list is not set
SAP GGS output filter list is not set
SAP GNS processing enabled, delay 0 ms, output filter list is not set
SAP Input filter list is not set
SAP Output filter list is not set
SAP Router filter list is not set
Input filter list is not set
Output filter list is not set
Router filter list is not set
Netbios Input host access list is not set
Netbios Input bytes access list is not set
Netbios Output host access list is not set
Netbios Output bytes access list is not set
Updates each 60 seconds aging multiples RIP: 3 SAP: 3
SAP interpacket delay is 55 ms, maximum size is 480 bytes
RIP interpacket delay is 55 ms, maximum size is 432 bytes
RIP response delay is not set
IPX accounting is disabled
IPX fast switching is configured (enabled)
RIP packets received 0, RIP packets sent 1, 0 Throttled
RIP specific requests received 0, RIP specific replies sent 0
RIP general requests received 0, 0 ignored, RIP general replies sent 0
SAP packets received 0, SAP packets sent 1, 0 Throttled
SAP GNS packets received 0, SAP GNS replies sent 0
SAP GGS packets received 0, 0 ignored, SAP GGS replies sent 0
R1#ping ipx 12.0000.0c76ef736
Type escape sequence to abort.
Sending 5, 100-byte IPX Novell Echoes to 12.0000.0c76.f736, timeout is 2 seconds:
!!!!!
SUCcess rate is 100 perceiit(5/5),round-trip min/avg/max=4/5/8 ms
R1#
Term_Server#2
[Resuming connection 2 to R2 ...]
R2#ping ipx 12.0000.0c76.f736
Type escape sequence to abort.
Sending 5, 100-byte IPX Novell Echoes to 12.0000.0c76.f736, timeout is 2 seconds:
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max=4/5/8 ms
(1)使用ipx routing命令启动路由器上的IPX路由能力,这个命令可以有1个参数,即IPX地址,假如不便用此参数,则路由器使用E0接口的MAC地址作为IPX地址,并在列配置清单时显示出来。
(2)进入E0接口的配置模式下,输入命令iXP network 12,给E0所连接的网段分配IPX网络号为12。
(3)对R2路由器做相同的配置。
(4)show ipx interface e0命令列出了E0接口上的IPX地址和其他有关IPX的信息。这里的信息很多,我们光熟悉一下形式就可以了,在CCNA阶段不需要更深入的把握。
(5)ping ipx 12.0000.0c76.f736指令是ping路由器R1 E0接口本身,目的是测试上面的配置是否成功。
(6)转到R2路由器上,使用ping ipx l2.0000.0c76.f736命令,则是测试从R2到R1通过IPX协议的连通性,测试是成功的,表明前面的配置完全正确。
接下来我们来考察IPX协议在以太网上的封装类型。
监测清单9-1记录了配置和监测的操作。
监测清单9-1配置IPX协议在以太网上的封装类型
R2#conft
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int eO
R2(config-if)#ipx network 12 ?
encapsulation IPX encapsulation
R2(config-if)#ipx network 12 encap ?
arpaIPX Ethernet_II
hdlcHDLC on serial links
novell-etherIPX Ethernet-802.3
novell-fddiIPX FDDI RAW
sapIEEE 802.2 on Ethernet,FDDI,Token Ring
snapIEEE 802.2 SNAP on Ethernet,Token Ring,and FDDI
R2(config-if)#ipx network 12 encap sap
R2(config-if)#
R2#ping ipx 12.0000.0c76.f736
Type escape sequence to abort.
Sending 5, 100-byte IPX Novell Echoes to 12.0000.0c76.f736, timeout is 2 seconds
.....
Success rate is 0 percent(0/5)
R2#conft
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int e0
R2(config-if)#ipx netw 12 encap novell-ether
R2(config-if)#ipx netw 12a encap arpa secon
R2(config-if)#ipx netw 12b encap sap secon
R2(config-if)#ipx netw 12c encap snap secon
R2(config-if)#^Z
Term_Server#1
[Resuming connection 2 to R1 ... ]
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int eO
R1(config-if)#ipx netw 12 encap novell-ether
R1(config-if)#ipx netw 12a encap arpa secondary
R1(config-if)#ipx netw 12b encap sap secon
R1(config-if)#ipx netw 12c encap snap secon
R1(config-if)#^Z
R1#
R1#ping ipx 12.0000.0c8e.cdd2
Type escape sequence to abort.
Sending 5,100-byte IPX Novell Echoes to 12.0000.0c8e.cdd2,timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
R1#ping ipx 12a.0000.0c8e.cdd2
Type escape sequence to abort.
Sending 5, 100-byte IPX Novell Echoes to 12A.OOOO.Oc8e.cdd2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max=4/5/8 ms
R1#ping ipx 12b.OOOO.Oc8e.cdd2
Type escape sequence to abort.
Sending 5, 100-byte IPX Novell Echoes to 12B.OOOO.Oc8e.cdd2, timeout is 2 seconds:
!!!!!
Success rate is 100