R1, R2通过FRAME-RELAY交换机连接,配置虚拟接口,以PPP的方式实现两台路由器的互访
 
配置实例
R1
conf t
int s2/0
encap f
no arp f
no frame inver
no shut
exit
int s2/0.1 point-to-point
frame interface-dlci 102 ppp vritual-template 1
exit
exit
int virtual-template 1
ip ad 10.1.1.1 255.255.255.0
end
 
 
R2
conf t
int s2/0
encap f
no arp f
no frame inver
no shut
int s2/0.1 point-to-point
frame interface-dlci 201 ppp virtual-template 1
exit
exit
int virtual-template 1
ip ad 10.1.1.2 255.255.255.0
end
 
校验
 
R1#ping 10.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/55/100 ms
R2#ping 10.1.1.1               
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/53/172 ms