DynagenでCCIEを目指す
Discard Eligible List
最終更新:
it_certification
-
view
1. 目的
- Frame Relayにおけるde-listの設定方法について確認します。
2. 構成
2.1. 設定概要
- Host OS側でApacheを起動させます。
- R1, R2間はframe-relayで接続します。
- R1, R2はOSPFでルーティングします。
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]] f1/0 = NIO_gen_eth:\Device\NPF_{8B89D910-5ED3-4A43-9DE9-6A272A3D7592} s0/0 = SW 0 [[FRSW SW]] 0:100 = 1:100 [[ROUTER R2]] f1/0 = NIO_gen_eth:\Device\NPF_{5933302A-7AAA-475C-A8FE-A6B82B0C0F98} s0/0 = SW 1
2.4. 初期設定
- R1
! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model ip subnet-zero ! ! ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Serial0/0 ip address 192.168.1.1 255.255.255.0 encapsulation frame-relay ip ospf network broadcast serial restart-delay 0 frame-relay map ip 192.168.1.2 100 broadcast ! interface Serial0/1 no ip address shutdown serial restart-delay 0 ! interface Serial0/2 no ip address shutdown serial restart-delay 0 ! interface Serial0/3 no ip address shutdown serial restart-delay 0 ! interface FastEthernet1/0 ip address 192.168.200.1 255.255.255.0 duplex auto speed auto ! router ospf 1 log-adjacency-changes passive-interface default no passive-interface Serial0/0 network 192.168.1.1 0.0.0.0 area 0 network 192.168.200.1 0.0.0.0 area 0 ! ip http server ip classless ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! ! end
- R2
! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R2 ! boot-start-marker boot-end-marker ! ! no aaa new-model ip subnet-zero ! ! ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Serial0/0 ip address 192.168.1.2 255.255.255.0 encapsulation frame-relay ip ospf network broadcast serial restart-delay 0 frame-relay map ip 192.168.1.1 100 broadcast ! interface Serial0/1 no ip address shutdown serial restart-delay 0 ! interface Serial0/2 no ip address shutdown serial restart-delay 0 ! interface Serial0/3 no ip address shutdown serial restart-delay 0 ! interface FastEthernet1/0 ip address 192.168.201.2 255.255.255.0 duplex auto speed auto ! router ospf 1 log-adjacency-changes passive-interface default no passive-interface Serial0/0 network 192.168.1.2 0.0.0.0 area 0 network 192.168.201.2 0.0.0.0 area 0 ! ip http server ip classless ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! ! end
2.5. サーバ側 ルーティング設定
- Host OS
route add 192.168.201.0 mask 255.255.255.0 192.168.200.1
- Guest OS
route add -net 192.168.200.0/24 gw 192.168.201.2
3. [検証] 基本設定
3.1. 基本設定の投入
宛先が192.168.1.0/24であるICMPに対して、DEビットを付加する設定を投入します。
R1(config)#access-list 100 permit icmp any 192.168.1.0 0.0.0.255 log R1(config)# R1(config)#frame-relay de-list 1 protocol ip list 100 R1(config)# R1(config)#interface Serial 0/0 R1(config-if)#frame-relay de-group 1 100
3.2. 輻輳状態の作成
DEビットが付加される事を確認するために、frame-relay網内で輻輳状態を作ります。
Host OSからGuest OSに向けて、ExPingでpingを送信して下さい。パケットサイズを大きめに設定すると輻輳状態が作りやすいです。
Host OSからGuest OSに向けて、ExPingでpingを送信して下さい。パケットサイズを大きめに設定すると輻輳状態が作りやすいです。
#ref error :ご指定のファイルが見つかりません。ファイル名を確認して、再度指定してください。 (100%)
;
3.3. ping送信
R1からR2に向けてpingを送信します。輻輳させるために、sizeとrepeatは大きめに設定して下さい。
R1#ping 192.168.1.2 repeat 100 size 1500 Type escape sequence to abort. Sending 100, 1500-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: !!!!!!!!!!!!!! *Mar 1 00:10:26.687: %SEC-6-IPACCESSLOGDP: list 100 permitted icmp 192.168.1.1 -> 192.168.1.2 (0/0), 1 packet!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Success rate is 100 percent (100/100), round-trip min/avg/max = 28/88/156 ms R1#
3.4. DEビットの確認
de-listに合致する上記pingに対して、DEビットが付加された事を確認します。
show frame-relay pvcコマンドでDEビットが付加されたパケット数が確認できます。
show frame-relay pvcコマンドでDEビットが付加されたパケット数が確認できます。
R1#show frame-relay pvc PVC Statistics for interface Serial0/0 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0 input pkts 16424 output pkts 26670 in bytes 2474825 out bytes 15246924 dropped pkts 0 in pkts dropped 0 out pkts dropped 0 out bytes dropped 0 in FECN pkts 0 in BECN pkts 0 out FECN pkts 0 out BECN pkts 0 in DE pkts 0 out DE pkts 500 <- DEビットが付加された出力パケット数を確認します。 out bcast pkts 70 out bcast bytes 5832 5 minute input rate 45000 bits/sec, 20 packets/sec 5 minute output rate 176000 bits/sec, 36 packets/sec pvc create time 00:12:56, last time pvc status changed 00:11:28 R1# R2#show frame-relay pvc PVC Statistics for interface Serial0/0 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0 input pkts 26672 output pkts 16426 in bytes 15247092 out bytes 2474993 dropped pkts 0 in pkts dropped 0 out pkts dropped 0 out bytes dropped 0 in FECN pkts 0 in BECN pkts 0 out FECN pkts 0 out BECN pkts 0 in DE pkts 500 out DE pkts 0 <- DEビットが付加された入力パケット数を確認します。 out bcast pkts 64 out bcast bytes 5380 5 minute input rate 156000 bits/sec, 31 packets/sec 5 minute output rate 41000 bits/sec, 16 packets/sec pvc create time 00:11:38, last time pvc status changed 00:10:16 R2#
添付ファイル