【GMPLS】 6. LSPを利用してみる
6. LSPを利用してみる
この作成したLSPを利用してみましょう。てっとり早く使うにはCCCがいいと思います。
fe-0/0/3が余ってますので、このイーサをCCCでGMPLSのLSPとくっつけてみます。 そしてfe-0/0/3の先にはCiscoルータ(R4, R6)を接続します。 R4-R6間は同じイーサセグメントになるはずです。
R1のCCCは次のように設定します。これでfe-0/0/3で受け取ったイーサフレームは全てLSP gmpls-fe-0/0/1に転送されます。
interfaces { fe-0/0/3 { speed 100m; link-mode half-duplex; encapsulation ethernet-ccc; unit 0; } } protocols { connections { remote-interface-switch fe-0/0/3-gmpls-fe-0/0/1 { interface fe-0/0/3.0; transmit-lsp gmpls-fe-0/0/1; receive-lsp gmpls-fe-0/0/1; } } }
これでR4とR6が同じイーサセグメントで繋がってます。実際にpingを飛ばしてみましょう。
R4#ping Protocol [ip]: Target IP address: 192.168.2.6 Repeat count [5]: 100 Datagram size [100]: Timeout in seconds [2]: Extended commands [n]: Sweep range of sizes [n]: Type escape sequence to abort. Sending 100, 100-byte ICMP Echos to 192.168.2.6, timeout is 2 seconds: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Success rate is 100 percent (100/100), round-trip min/avg/max = 1/1/4 ms R4#
ちゃんと繋がってますね。 etherealでLPS上のデータを見てみると、ether-label-ether-ip-icmpというスタックになっているのが確認できます。
No. Time Source Destination Protocol Info 14 16.591392 192.168.2.4 192.168.2.6 ICMP Echo (ping) request Frame 14 (132 bytes on wire, 132 bytes captured) Arrival Time: Oct 8, 2004 18:55:37.832839000 Time delta from previous packet: 1.431380000 seconds Time since reference or first frame: 16.591392000 seconds Frame Number: 14 Packet Length: 132 bytes Capture Length: 132 bytes Ethernet II, Src: 00:90:69:92:34:01, Dst: 00:90:69:61:30:01 Destination: 00:90:69:61:30:01 (JuniperN_61:30:01) Source: 00:90:69:92:34:01 (JuniperN_92:34:01) Type: MPLS label switched packet (0x8847) MultiProtocol Label Switching Header MPLS Label: Unknown (100080) MPLS Experimental Bits: 0 MPLS Bottom Of Label Stack: 1 MPLS TTL: 255 Ethernet II, Src: 00:05:9a:64:b8:1c, Dst: 00:0b:45:41:34:1c Destination: 00:0b:45:41:34:1c (Cisco_41:34:1c) Source: 00:05:9a:64:b8:1c (Cisco_64:b8:1c) Type: IP (0x0800) Internet Protocol, Src Addr: 192.168.2.4 (192.168.2.4), Dst Addr: 192.168.2.6 (192.168.2.6) Version: 4 Header length: 20 bytes Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00) 0000 00.. = Differentiated Services Codepoint: Default (0x00) .... ..0. = ECN-Capable Transport (ECT): 0 .... ...0 = ECN-CE: 0 Total Length: 100 Identification: 0x289b (10395) Flags: 0x00 0... = Reserved bit: Not set .0.. = Don't fragment: Not set ..0. = More fragments: Not set Fragment offset: 0 Time to live: 255 Protocol: ICMP (0x01) Header checksum: 0x0da3 (correct) Source: 192.168.2.4 (192.168.2.4) Destination: 192.168.2.6 (192.168.2.6) Internet Control Message Protocol Type: 8 (Echo (ping) request) Code: 0 Checksum: 0x0669 (correct) Identifier: 0x0402 Sequence number: 0x0614 Data (72 bytes) 0000 00 90 69 61 30 01 00 90 69 92 34 01 88 47 18 6f ..ia0...i.4..G.o 0010 01 ff 00 0b 45 41 34 1c 00 05 9a 64 b8 1c 08 00 ....EA4....d.... 0020 45 00 00 64 28 9b 00 00 ff 01 0d a3 c0 a8 02 04 E..d(........... 0030 c0 a8 02 06 08 00 06 69 04 02 06 14 00 00 00 00 .......i........ 0040 15 67 58 64 ab cd ab cd ab cd ab cd ab cd ab cd .gXd............ 0050 ab cd ab cd ab cd ab cd ab cd ab cd ab cd ab cd ................ 0060 ab cd ab cd ab cd ab cd ab cd ab cd ab cd ab cd ................ 0070 ab cd ab cd ab cd ab cd ab cd ab cd ab cd ab cd ................ 0080 ab cd ab cd ....
【イーサリアルの<データ】
つづく。
« 【GMPLS】 5. MPLSの設定 | トップページ | 【GMPLS】 7. 実験は成功したのか? »
トラックバック
この記事のトラックバックURL:
http://app.cocolog-nifty.com/t/trackback/54859/1627199
この記事へのトラックバック一覧です: 【GMPLS】 6. LSPを利用してみる: