3.8 實驗6:PPP over frame-relay的配置
3.8.1 實驗內容
l 在Frame Relay的PVC上建立端到端的PPP會話,注意:只能在PVC處於active狀態時才能建立。能夠在一條Frame-relay鏈路上的多個虛鏈路上存在多個PPP會話。(也就是說要PVC僅允許一個PPP會話)。
l 一個PPP連接建立在一個虛擬訪問接口上。
l PPP over Frame Relay僅在IP上支持 。
l 硬件壓縮和一些隊列不能應用於虛擬接口之上像weighted fair queueing, custom queueing, and priority queueing。
l 默認,一個virtual template interface的封裝類型是PPP,所以encapsulation PPP不會顯示在你的配置中。
3.8.2 實驗拓撲
在圖3-9 PPP over frame-relay的拓撲示意圖中,R5和R6在frame-relay上封裝PPP協議。
圖3-9 PPP over frame-relay
點擊查看大圖
3.8.3 所需設備
l 路由器3臺,一臺模擬 幀中繼交換機。
l V.35線纜公頭兩條。
3.8.4 實驗步驟
第1步 在接口上配置幀中繼封裝。
第2步 在子接口上配置Frame-relay 支持PPP。
第3步 配置虛擬接口,包括IP地址。
第4步 配置PPP認證 類型(可選),虛擬接口封裝默認 PPP。見例3-20 所示接口封裝。
例3-20 show interface virtual-template 1信息
R5# sho int virtual-TEmplate 1
Virtual-Template1 is down, line protocol is down
Hardware is Virtual Template interface
Internet address is 172.16.11.5/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set <-默認封裝PPP
DTR is pulsed for 5 seconds on reset
LCP Closed
Closed: OSICP, BRIDGECP, TAGCP, IPCP, CCP, CDPCP, LLC2, IPXCP, NBFCP
BACP, ATCP, IPV6CP
Last input never, output never, output hang never
Last clearing of "show interface" counters 00:24:25
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
R5# sho run
R5#
3.8.5 完整配置
例3-21 R5的完整配置
hostname R5
!
interface Serial1/1
no ip address
encapsulation frame-relay
serial restart_delay 0
!
interface Serial1/1.1 point-to-point
frame-relay interface-dlci 516 ppp Virtual-Template1
!
interface Virtual-Template1
ip address 172.16.11.5 255.255.255.0
!
例3-21 R6的完整配置
hostname R6
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart_delay 0
!
interface Serial1/0.1 point-to-point
frame-relay interface-dlci 615 ppp Virtual-Template1
!
interface Virtual-Template1
ip address 172.16.11.6 255.255.255.0
!
3.8.6 驗證配置
使用show interface virtual-template 1顯示接口狀態。
使用show running-config 顯示配置信息。
使用ping測試 連通性。