DynagenでCCIEを目指す
Frame Relay PPPを使用した認証
最終更新:
it_certification
-
view
1. 目的
- Frame Relay網において、PPPを使用した認証を行います。
2. 構成
2.1. 設定概要
- 特になし
2.2. 構成図

2.3. netファイル
model = 3620 [localhost] [[3620]] image = C:\Program Files\Dynamips\images\c3620-j1s3-mz.123-18.bin ram = 128 [[ROUTER R1]] s0/0 = SW 0 [[FRSW SW]] 0:100 = 1:100 [[ROUTER R2]] s0/0 = SW 1
2.4. 初期設定
- R1
初期設定
- R2
初期設定
3. [検証] PPPoFR
3.1. PPPoFRの設定
R1, R2間でPPPを設定します。
Virtual-Templateと呼ばれる設定を定義し、それをI/Fに適用します。具体的な設定は以下の通りです。
Virtual-Templateと呼ばれる設定を定義し、それをI/Fに適用します。具体的な設定は以下の通りです。
Router(config)#hostname R1 R1(config)#interface Virtual-Template 1 R1(config-if)#encapsulation ppp R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#exit R1(config)# R1(config)#interface Serial 0/0 R1(config-if)#no ip address R1(config-if)#encapsulation frame-relay R1(config-if)#no frame-relay inverse-arp R1(config-if)#no shutdown R1(config-if)#exit R1(config)# R1(config)#interface Serial 0/0.1 point-to-point R1(config-subif)#frame-relay interface-dlci 100 ppp Virtual-Template 1 R1(config-fr-dlci)#^Z R1# Router(config)#hostname R2 R2(config)#interface Virtual-Template 1 R2(config-if)#ip address 192.168.1.2 255.255.255.0 R2(config-if)#encapsulation ppp R2(config-if)#exit R2(config)# R2(config)# R2(config)#interface Serial 0/0 R2(config-if)#no ip address R2(config-if)#encapsulation frame-relay R2(config-if)#no frame-relay inverse-arp R2(config-if)#no shutdown R2(config-if)#exit R2(config)# R2(config)#interface Serial 0/0.1 point-to-point R2(config-subif)# R2(config-subif)#frame-relay interface-dlci 100 ppp virtual-Template 1 R2(config-fr-dlci)#^Z
3.2. 疎通確認
R1, R2間で疎通可能な事を確認します。
R1#ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 8/40/80 ms R1#
4. 認証設定
4.2. 認証設定
R1がR2を認証する設定を投入します。
R1(config)#username R2 secret cisco R1(config)# R1(config)#interface Virtual-Template 1 R1(config-if)#ppp authentication chap R1(config-if)# *Mar 1 00:10:48.059: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to down R1(config-if)# R2(config)#interface Virtual-Template 1 R2(config-if)#ppp chap hostname R2 R2(config-if)#ppp chap password cisco
4.2. 疎通確認
R1, R2間で疎通可能な事を確認します。
R1#ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 8/38/112 ms R1#
添付ファイル