一、配置IP
   s0.1与s0.2做点到点,s0.3做点到多点
   1、物理接口封装
   2、全局进子接口(加工作模式)
二、点到点
   3、s/0.1:192.168.1.x/24;s/0.2:192.168.2.x/24
  5、建立映射,绑定DLCI
   6、测试点到点是否通信
三、启动rip,宣告所有网络,查看是否通信。
配置center1
Center1>en
Center1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Center1(config)#no ip domain-lookup
Center1(config)#line console 0
Center1(config-line)#exec-timeout 0 0
Center1(config-line)#logg syn
Center1(config-line)#exit
Center1(config)#exit
Center1(config)#int s1/0
Center1(config-if)#no sh
Center1(config)#int s1/0.1 point-to-point
Center1(config-subif)#ip add 192.168.1.1 255.255.255.0
Center1(config-subif)#frame-relay interface-dlci 102
Center1(config)#int s1/0.2 point-to-point
Center1(config-subif)#ip add 192.168.2.1 p
Center1(config-subif)#ip add 192.168.2.1 255.255.255.0
Center1(config-subif)#fr
Center1(config-subif)#frame-relay int 103
Center1(config)#router rip
Center1(config-router)#net 1.0.0.0
Center1(config-router)#net 192.168.1.0
Center1(config-router)#net 192.168.2.0
Center1(config-router)#
 
配置R1A
R1A>en
R1A#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1A(config)#no ip domain-lookup
R1A(config)#line console 0
R1A(config-line)#exec-timeout 0 0
R1A(config-line)#logg syn
R1A(config-line)#exit
R1A(config)#exit
R1A(config)#int l 0
R1A(config-if)#ip add 2.
*Mar  1 00:12:28.631: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1A(config-if)#ip add 2.2.2.2 255.255.255.0
R1A(config-if)#no sh
R1A(config-if)#int s1/0
R1A(config-if)#no sh
R1A(config-if)#enc
R1A(config-if)#encapsulation fr
R1A(config)#int s1/0.1 point-to-point
R1A(config-subif)#ip add 192.168.1.2 255.255.255.0
R1A(config-subif)#fr int 201
R1A(config)#router rip
R1A(config-router)#net 2.0.0.0
R1A(config-router)#net 192.168.1.0
配置R1B
R1B>en
R1B#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1B(config)#no ip domain-lookup
R1B(config)#line console 0
R1B(config-line)#exec-timeout 0 0
R1B(config-line)#logg syn
R1B(config-line)#exit
R1B(config)#exit
R1B(config)#int l 0
R1B(config-if)#ip add 3
*Mar  1 00:13:41.387: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1B(config-if)#ip add 3.3.3.3 255.255.255.0
R1B(config-if)#int s1/0
R1B(config-if)#no sh
R1B(config-if)#enc
R1B(config-if)#encapsulation fr
R1B(config)#int s1/0.1 point-to-point
R1B(config-subif)#ip add 192.168.
*Mar  1 00:14:39.083: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down
R1B(config-subif)#ip add 192.168.
*Mar  1 00:14:59.083: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
R1B(config-subif)#ip add 192.168.2.2 255.255.255.0
R1B(config-subif)#fr int 301
R1B(config)#router rip
R1B(config-router)#net 3.0.0.0
R1B(config-router)#net 192.168.2.0
在center1上面测试连通性
Center1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/66/176 ms
Center1#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/56/164 ms