帧中继模拟器点对点子接口
==============================================================
Router1的配置
----------------------------------------
Router>en
Router#config t
Router(config)#hostname R1
R1(config)#int e0
R1(config-if)#ip address 1.1.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface serial 0
R1(config-if)#encapsulation frame-relay
R1(config-if)#no shutdown
R1(config-if)#interface serial 0.1 point-to-point
R1(config-subif)#ip address 2.2.2.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 100
R1(config-subif)#shutdown
R1(config-subif)#no shutdown
R1(config-subif)#exit
R1(config)#router rip
R1(config-router)#network 1.0.0.0
R1(config-router)#network 2.0.0.0
R1(config-router)#exit
----------------------------------------------------------------------------------
Router2的配置
----------------------------------------
Router>en
Router#config t
Router(config)#hostname R2
R2(config)#interface serial 0
R2(config-if)#encapsulation frame-relay
R2(config-if)#no shutdown
R2(config-if)#interface serial 0.1 point-to-point
R2(config-subif)#ip address 2.2.2.2 255.255.255.0
R2(config-subif)#frame-relay interface-dlci 200
R2(config-subif)#shutdown
R2(config-subif)#no shutdown
R2(config-subif)#exit
R2(config)#interface ethernet 0
R2(config-if)#ip address 3.3.3.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#router rip
R2(config-router)#network 2.0.0.0
R2(config-router)#network 3.0.0.0
R2(config-router)#exit
R2(config)#exit
R2#show frame-relay map
Serial0.1 (up): point-to-point dlci, dlci 200(0x66,0x1860), broadcast
        status defined, active
R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       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, * - candidate default
       U - per-user static route
Gateway of last resort is not set
C      2.2.2.0/24 is directly connected, 2.2.2.2
C      3.3.3.0/24 is directly connected, Ethernet0
R      1.1.1.0/24 [120/1] via 2.2.2.1, 00:03:44, Serial0.1