Openflow実験

666 Views

March 27, 13

スライド概要

profile-image

2023年10月からSpeaker Deckに移行しました。最新情報はこちらをご覧ください。 https://speakerdeck.com/lycorptech_jp

シェア

埋め込む »CMSなどでJSが使えない場合

関連スライド

各ページのテキスト
1.

Openflowについて 2013年1月31日 ヤフー株式会社 ネットワーク 黒帯 松谷 憲文 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

2.

アジェンダ P2 1部 Openflowとは? 2部 相互接続検証 □Openflowコントローラ Big Switch Netoworks □Openflowスイッチ Arista Brocade NEC Pica8 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

3.

P3 1部 Openflowとは? Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

4.

Openflowとは? ネットワーク機器1台に組み込まれていた コントロールプレーンとデータプレーンを分離し、 Openflowプロトコルによって情報を交換する P4 Openflowコントローラ (コントロールプレーン) コントロールプレーン Openflowプロトコル データプレーン Openflowスイッチ (データプレーン) Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

5.

Openflowとは? P5 Openflowコントローラ (コントロールプレーン) Openflowプロトコルによって、 OpenflowコントローラとOpenflowスイッチ間で どんなMessageがやりとりされているのか? Openflowプロトコル Openflowスイッチ (データプレーン) Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

6.

Openflowとは? Messageについて Message区分 Message type 説明 Immutable Hello バージョンのネゴシエーション ERROR エラー時に通知 ECHO_REQUEST/REPLY スイッチの死活監視 VENDOR ベンダ独自定義 FEATURES_REQUEST/REPLY スイッチのスペック確認 GET_CONFIG_REQUEST/REPLY スイッチのコンフィグ取得 SET_CONFIG スイッチのコンフィグ設定 PACKET_IN Unknownパケットの受信 FLOW_REMOVED フローエントリが削除時に通知 PORT_STATUS スイッチのポート状態が変化した場合に通知 PACKET_OUT パケットの転送 FLOW_MOD フローテーブルの更新 PORT_MOD スイッチのポートの変更 Statistics STATS_REQUEST/REPLY 統計情報の取得 Barrier BARRIER_REQUEST/REPLY 各メッセージの処理の完了確認 Queue Configuration QUEUE_GET_CONFIG_REQUEST/REPLY Queueのコンフィギュレーションの取得 Switch configuration Asynchronous Controller command P6 Version1.0.0では上記22種類のメッセージをOpenflowコントローラとOpenflowスイッチ 間でやり取りする Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

7.

Openflowとは? P7 Openflowコントローラ OpenflowコントローラとOpenflowスイッチの間で Messageをどのようにやり取りするのか、 順を追って見ていきたいと思います Openflowプロトコル Openflowスイッチ Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

8.

Openflowとは? セキュアチャンネル P8 Openflowコントローラ とにかく初めは セキュアチャンネルの確立 TCPで接続を行いSSL化なども出来る セキュアチャンネルの確立 Openflowスイッチ Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

9.

Openflowとは? Hello P9 Openflowコントローラ 初期接続時にバージョンの ネゴシエーションを行う 同一バージョンの場合は次のステップへ Hello Hello Openflowスイッチ Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

10.

Openflowとは? Features P10 Openflowコントローラ Features Request Datapath ID、ポート情報 Openflowスイッチの機能、 などの情報を送信 Openflowスイッチの スペックを問い合わせ Features Reply Openflowスイッチ Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

11.

Openflowとは? Packet in P11 Openflowコントローラ Openflowスイッチが パケットを受け取った際に、 パケットに対応するフローが無い場合 Openflowコントローラに Packet inメッセージを送信 Packet in パケットを送信 Openflowスイッチ フローテーブルに無い Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

12.

Openflowとは? Flow mod Openflowコントローラ P12 受信したパケット情報を 元にフローを作成し、 Openflowスイッチにフローエントリ を書き込む (リアクティブ型) Flow mod Openflowスイッチ Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

13.

Openflowとは? Packet out P13 Openflowコントローラ Openflowスイッチのバッファに 保存されているパケットを送信 Packet out Openflowスイッチ Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

14.

Openflowとは? フローとは? P14 どんな情報が フローとして Openflowスイッチに 送信されるの? フローとは? ヘッダフィールド アクション 統計情報 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

15.

Openflowとは? フローの中身 P15 ヘッダフィールド 説明 区分 Counter Ingress Port 物理ポート番号 P er T able Active Entries Ether src 送信元MACアドレス Ether dst 宛先MACアドレス Ether type イーサネットの種別 Received Bytes VLAN id VLAN ID Duration(Seconds) VLAN priority VLANのPCP Durations(nanoseconds) IP src 送信元IPアドレス IP dst 宛先IPアドレス Received Bytes IP proto IPプロトコルの種別 T ransmitted Bytes IP ToS bits IPのToS情報 Received Drops TCP/UDP src port 送信元ポート番号 TCP/UDP dst port 宛先ポート番号 P acket Lookups P acket M aches P er Flow P er P ort Received Packets Received Packets T ransmitted Packets T ransmit Drops Received Errors T ransmit Errors Receive Frame Alignment Errors アクション 説明 Receive Overrun Errors Forward パケットを指定したポートへ転送する Receive CRC Eroors Modify-Field パケットの特定のフィールドを書き換える Drop パケットを破棄する Enqueue スイッチで設定されてるQueueに入れる Col lisions P er Queue T ransmit P ackets T ransmit Bytes T ransmit Overrun Errors 上記情報をもとにフローを作成し、Openflowスイッチのフローテーブルに登録 フローテーブルの情報をもとに転送処理を行う Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

16.

Openflowとは? フローの仕組み P16 Openflowコントローラ Ether srcが00:25:90:39:7b:f0 Ether dstが00:25:90:39:7b:f2 Ingress PortがPort0/1 Etc… Packet in Port0/1 00:25:90:39:7b:f0 Flow Table Port0/2 Openflowスイッチ 00:25:90:39:7b:f2 (Flow tableに該当情報が無い状態) Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

17.

Openflowとは? フローの仕組み Openflowコントローラ P17 ヘッダフィールドが 「Ether dstに00:25:90:39:7b:f2」 等の時、アクションは 「Port0/2にForward」 というフローを※1Flow mod によってFlow Tableに登録 Flow mod Port0/1 00:25:90:39:7b:f0 Flow Table Port0/2 Openflowスイッチ 00:25:90:39:7b:f2 [Ether dst 00:25:90:39:7b:f2]→[Port 0/2にForward] ※1実際はARPのBroadcastやunknown unicastなどのフラッディングが発生するが本資料では割愛 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

18.

Openflowとは? フローの仕組み P18 Openflowコントローラ Openflowスイッチにバッファされていた パケットはFlow Tableをもとに送信される Packet out Port0/1 00:25:90:39:7b:f0 Flow Table Port0/2 Openflowスイッチ 00:25:90:39:7b:f2 [Ether dst 00:25:90:39:7b:f2]→[Port 0/2にForward] Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

19.

P19 2部 相互接続検証 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

20.

相互接続検証 P20 Big Switch Networksのコントローラを使用し、下記4台のopenflow対応スイッチを接続 Openflowコントローラ Big Switch Networks Pica8 Pront3295 Brocade NetIron XMR4000 NEC PF5240 Arista 7050S Openflowスイッチ Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

21.

相互接続検証 P21 実験構成 下図のように接続しhop-by-hop方式を検証 ※サーバが2台しか準備できなかったのでスイッチを挟んで対応 Big Switch Networks セキュアチャンネル用の ネットワーク Pica8 Brocade tmp23 NEC Arista tmp24 Openflow用の ネットワーク Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

22.

相互接続検証 Pica8設定 Pica8 Pront3295 P22 # ovs-vsctl --db=tcp:10.222.176.193:6633 add-br0 # ovs-vsctl --db=tcp:10.222.176.193:6633 set bridge br0 datapath_type=pronto Bridegeの作成 datapath_typeを必ずprontoにする # ovs-vsctl --db=tcp:10.222.176.193:6633 set bridge br0 other-config:datapath-id=0000000000000002 DPIDの設定 #ovs-vsctl --db=tcp:10.222.176.193:6633 add-port br0 ge-1/1/1 --set interface ge-1/1/1 type=pronto Openflowで使用したい ポートを設定 # ovs-vsctl --db=tcp:10.222.176.193:6633 set-controller br0 tcp:10.222.176.171:6633 コントローラの設定 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

23.

相互接続検証 Brocade設定 openflow enable ofv100 openflow controller ip-address 10.222.176.171 no-ssl Brocade NetIron XMR4000 P23 Openflowのバージョン指定と コントローラの設定 openflow default-behavior send-to-controller 未知のパケットはデフォルトでdrop する仕様なので、 コントローラに送る設定に変更 stem-max openflow-flow-entries 4000 フローエントリーの 最大サイズを指定 interface ethernet 1/1 openflow enable Enable Openflowで使用したい ポートを設定 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

24.

相互接続検証 NEC設定 P24 Openflowのバージョン指定と NEC PF5240 openflow openflow-id 1 コントローラの設定 protocol-version 01 controller controller-name bsn 255 10.222.176.171 port 6633 tcp dpid 0000000000000001 DPIDの設定 openflow-interface gigabitethernet 0/1-6 Enable Openflowで使用したい ポートを設定 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

25.

相互接続検証 Arista設定 Arista 7050S openflow controller tcp:10.222.176.171:6633 bind-vlan 10 Enable P25 コントローラの設定と Openflowを動作させるvlanを設定 interface Ethernet1 switchport access vlan 10 インターフェースにopenflowで設定 したvlanを設定 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

26.

相互接続検証 BSN設定 Big Switch Networks switch 00:00:00:00:00:00:00:01 switch-alias NEC ! switch 00:00:00:00:00:00:00:02 switch-alias Pica8 ! switch 00:00:00:1c:73:10:ee:3a switch-alias Arista ! switch 00:00:00:24:38:2c:be:00 switch-alias Brocade ! host 00:25:90:39:7b:f0 host-alias tmp23 ! host 00:25:90:39:7b:f2 host-alias tmp24 bvs-definition green interface-rule tmp23 match mac 00:25:90:39:7b:f0 interface-rule tmp24 match mac 00:25:90:39:7b:f2 P26 Showコマンドで見やすくするため、 DPIDに対してAliasを登録しておく Showコマンドで見やすくするため、 MACに対してAliasを登録しておく BVS(Big Virtual Switch)の設定 Ruleにはip-subnet、mac、switch、 tagsが設定可能 Definition単位で一つのL2セグメ ントとなる Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

27.

相互接続検証 DPID決定方法 P27 各スイッチのDPIDの設定については、下表のようになっている メーカ デフォルトの値 Arista '0x0000' + system MAC address × show openflow Brocade '0x0000'+managementのMAC address × show openflow datapath-id NEC ‘0x0001’+ system MAC address (ユニークに設定変更可能) 〇 show openflow openflow-id 1 Pica8 '0x0000' + brのMACアドレス 〇 ovs-ofctl show br0 DPIDの変更 確認方法 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

28.

相互接続検証 P28 疎通試験 tmp23 → tmp24へping Big Switch Networks セキュアチャンネル用の ネットワーク Pica8 Brocade NEC Arista Ping tmp23 tmp24 Openflow用の ネットワーク Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

29.

相互接続検証 Brocade flow P29 Brocade NetIron XMR4000 NetIron XMR-4000 Router#show openflow flows Total Number of data packets sent to controller: Total Number of data bytes sent to controller : Total Number of Flows: 3 Flow ID: 132 Priority: 0 Status: Active Rule: In Port: e2/15 In Vlan: Untagged Source Mac: 0025.9039.7bf0 Destination Mac: 0025.9039.7bf2 Source Mac Mask: ffff.ffff.ffff Destination Mac Mask: ffff.ffff.ffff Action: FORWARD Out Port: e2/16 Statistics: Total Pkts: 4346 Total Bytes: -NAFlow ID: 133 Priority: 0 Status: Active Rule: In Port: e2/4 In Vlan: Untagged Source Mac: 0025.9039.7bf0 Destination Mac: 0025.9039.7bf2 Source Mac Mask: ffff.ffff.ffff Destination Mac Mask: ffff.ffff.ffff Action: FORWARD Out Port: e2/16 Statistics: Total Pkts: 34 Total Bytes: -NA- 8831883 606004852 Flow ID: 134 Priority: 0 Status: Active Rule: In Port: e2/16 In Vlan: Untagged Source Mac: 0025.9039.7bf2 Destination Mac: 0025.9039.7bf0 Source Mac Mask: ffff.ffff.ffff Destination Mac Mask: ffff.ffff.ffff Action: FORWARD Out Port: e2/4 Statistics: Total Pkts: 33 Total Bytes: -NA- Flow IDの133で16番ポートに送信するという flowがある Flow ID 134は戻りのflow ※Flow ID 132は調査中 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

30.

相互接続検証 NEC flow P30 NEC PF5240 PF5240# show openflow table detail Date 2000/01/22 11:15:16 JST FLOW entries information [OpenFlow 1] <entry 120> table type : normal1 forwarding state : hardware-based matched octets : 44772 octets matched packets : 443 packets green and yellow octets : 44772 octets green and yellow packets : 443 packets red octets : 0 octet red packets : 0 packet idle timer(max/current) : 5 sec / 4 sec hard timer(max/current) : 0 sec / 0 sec priority :0 added command : flowmod added time : 2000/01/22 11:08:03 JST last modified time :flow cookie : 0x20000000000000 match match type input port src mac address dst mac address input vlan input vlan pcp ethernet type tos (dscp, ecn) ip protocol src ip address dst ip address ipv6 flow label src l4 port dst l4 port metadata : STANDARD* : 0/16[0x00000010] : 0025.9039.7bf0 : 0025.9039.7bf2 : untagged : any : any : any : any : any : any : any : any : any : 0x0000000000000000 action 1 type out port : OUTPUT : 0/ 6[0x00000006] 0/16から入ってきたパケットを 0/6へ送信するflowがある <entry 121> table type : normal1 forwarding state : hardware-based matched octets : 44564 octets matched packets : 441 packets green and yellow octets : 44564 octets green and yellow packets : 441 packets red octets : 0 octet red packets : 0 packet idle timer(max/current) : 5 sec / 4 sec hard timer(max/current) : 0 sec / 0 sec priority :0 added command : flowmod added time : 2000/01/22 11:08:04 JST last modified time : 2000/01/22 11:08:04 JST flow cookie : 0x20000000000000 match match type : STANDARD* input port : 0/ 6[0x00000006] src mac address : 0025.9039.7bf2 dst mac address : 0025.9039.7bf0 input vlan : untagged input vlan pcp : any ethernet type : any tos (dscp, ecn) : any ip protocol : any src ip address : any dst ip address : any ipv6 flow label : any src l4 port : any dst l4 port : any metadata : 0x0000000000000000 action 1 type out port : OUTPUT : 0/16[0x00000010] Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

31.

相互接続検証 BSN 基本情報 P31 Big Switch Networks localhost# show switch # Switch DPID Alias Connected Since IP Address Tunnels Core Switch -|-----------------------|-------|-----------------------|--------------|-------|----------1 00:00:00:00:00:00:00:01 NEC 2013-01-22 06:57:38 UTC 10.222.176.190 False 2 00:00:00:00:00:00:00:02 Pica8 2013-01-26 09:54:16 UTC 10.222.176.193 False 3 00:00:00:1c:73:10:ee:3a Arista 2013-01-24 08:48:55 UTC 10.222.176.149 False 4 00:00:00:24:38:2c:be:00 Brocade 2013-01-24 06:00:55 UTC 10.222.176.192 False コントローラと接続しているスイッチ を表示 localhost# show host # MAC Address Address Space VLAN IP Address Switch/OF Port (Physical Port) Tag Last Seen -|-------------------------|-------------|----|--------------|------------------------------|---|---------1 00:1c:73:10:ee:49 default Unknown Inactive 0 minute 2 00:25:90:39:7b:f0 (tmp23) default 114.111.107.53 Brocade/52 (e2/4) 7 minutes 3 00:25:90:39:7b:f2 (tmp24) default 114.111.107.54 NEC/6 (GBE0/6) 11 minutes 4 08:9e:01:41:3e:d3 default Unknown Pica8/16 (ge-1/1/16) 0 minute サーバの情報を出力 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

32.

相互接続検証 BSN flow P32 Big Switch Networks localhost# show bvs green flow detail BVS green (address-space default) flow entries (count: 5) # Switch Bytes Packets Dur(s) Author Hard Timeout Idle Timeout Priority Table In Port Src MAC Dst MAC Ether Type VLAN ID VLAN PCP Src IP Dst IP Protocol Src Port Dst Port TOS Bits Actions -|-------|------|-------|------|-------|------------|------------|--------|-----|-------|-------|-------|----------|-------|--------|------|------|-------|--------|--------|--------|--------1 NEC 102572 1016 988 FL:forw 0 5 0 0 16 tmp23 tmp24 * 65535 * * * * * * * output=6 2 NEC 102364 1014 987 FL:forw 0 5 0 0 6 tmp24 tmp23 * 65535 * * * * * * * output=16 3 Brocade 0 1012 987 FL:forw 0 5 0 4 64 tmp24 tmp23 * 65535 0 * * * * * * output=52 4 Brocade 0 4346 5230 FL:forw 0 5 0 4 63 tmp23 tmp24 * 65535 0 * * * * * * output=64 5 Brocade 0 1013 988 FL:forw 0 5 0 4 52 tmp23 tmp24 * 65535 0 * * * * * * output=64 スイッチ毎のflowを出力 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

33.

相互接続検証 ポート変更 P33 他のOpenflowスイッチのポートに指しても問題ないかを確認 Big Switch Networks セキュアチャンネル用の ネットワーク Pica8 Brocade tmp23 NEC Arista tmp24 Openflow用の ネットワーク Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

34.

相互接続検証 Pica8 flow P34 Pica8 Pront3295 root@XorPlus#ovs-ofctl dump-flows br0 NXST_FLOW reply (xid=0x4): cookie=0x20000000000000, duration=46.295s, table=0, n_packets=47, n_bytes=4718, idle_timeout=5,priority=0,in_port=5,vlan_tci=0x0000,dl_src=00:25:90:39:7b:f0,dl_dst=00:25:90:39:7b:f2 actions=output:15 cookie=0x20000000000000, duration=45.299s, table=0, n_packets=46, n_bytes=4654, idle_timeout=5,priority=0,in_port=15,vlan_tci=0x0000,dl_src=00:25:90:39:7b:f2,dl_dst=00:25:90:39:7b:f0 actions=output:5 15番ポートに送信するというflowがある Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

35.

相互接続検証 Arista flow P35 Arista 7050S DCS-7050S-64#show openflow flows Flow flow00000000000000000362: priority: 0 cookie: 9007199254740992 (0x20000000000000) idle timeout: 5.0 sec match ingress interface: Ethernet4 match source Ethernet address: 00:25:90:39:7b:f2 match destination Ethernet address: 00:25:90:39:7b:f0 match native VLAN ID output interfaces: Ethernet15 matched: 261 packets, 26280 bytes Flow flow00000000000000000361: priority: 0 cookie: 9007199254740992 (0x20000000000000) idle timeout: 5.0 sec match ingress interface: Ethernet15 match source Ethernet address: 00:25:90:39:7b:f0 match destination Ethernet address: 00:25:90:39:7b:f2 match native VLAN ID output interfaces: Ethernet4 matched: 263 packets, 26488 bytes Flow __default__: priority: -1 cookie: 0 (0x0) output to controller matched: 14762 packets, 955886 bytes 4番ポートから送出するというアクションがある Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

36.

相互接続検証 Brocade/NEC flow NEC PF5240 Brocade NetIron XMR4000 Flow ID: 137 Priority: 0 Status: Active Rule: In Port: e2/15 In Vlan: Untagged Source Mac: 0025.9039.7bf0 Destination Mac: 0025.9039.7bf2 Source Mac Mask: ffff.ffff.ffff Destination Mac Mask: ffff.ffff.ffff Action: FORWARD Out Port: e2/16 Statistics: Total Pkts: 609 Total Bytes: -NA- P36 <entry 124> table type : normal1 forwarding state : hardware-based matched octets : 75630 octets matched packets : 750 packets green and yellow octets : 75630 octets green and yellow packets : 750 packets red octets : 0 octet red packets : 0 packet idle timer(max/current) : 5 sec / 4 sec hard timer(max/current) : 0 sec / 0 sec priority :0 added command : flowmod added time : 2000/01/22 11:34:03 JST last modified time : 2000/01/22 11:34:03 JST flow cookie : 0x20000000000000 match match type input port src mac address dst mac address input vlan input vlan pcp ethernet type tos (dscp, ecn) ip protocol src ip address dst ip address ipv6 flow label src l4 port dst l4 port metadata : STANDARD* : 0/16[0x00000010] : 0025.9039.7bf0 : 0025.9039.7bf2 : untagged : any : any : any : any : any : any : any : any : any : 0x0000000000000000 action 1 type out port : OUTPUT : 0/15[0x0000000f] 途中経路も送出ポートが変更されているのが分かる Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

37.

相互接続検証 BSN flow P37 Big Switch Networks localhost# show bvs green flow detail BVS green (address-space default) flow entries (count: 9) # Switch Bytes Packets Dur(s) Author Hard Timeout Idle Timeout Priority Table In Port Src MAC Dst MAC Ether Type VLAN ID VLAN PCP Src IP Dst IP Protocol Src Port Dst Port TOS Bits Actions -|-------|------|-------|------|-------|------------|------------|--------|-----|-------|-------|-------|----------|-------|--------|------|------|-------|--------|--------|--------|--------1 Pica8 101306 1023 976 FL:forw 0 5 0 0 5 tmp23 tmp24 * 65535 0 * * * * * * output=15 2 Pica8 101242 1022 975 FL:forw 0 5 0 0 15 tmp24 tmp23 * 65535 0 * * * * * * output=5 3 Arista 101204 1003 975 FL:forw 0 5 0 0 4 tmp24 tmp23 * 65535 * * * * * * * output=15 4 Arista 101412 1005 976 FL:forw 0 5 0 0 15 tmp23 tmp24 * 65535 * * * * * * * output=4 5 NEC 101412 1005 976 FL:forw 0 5 0 0 16 tmp23 tmp24 * 65535 * * * * * * * output=15 6 NEC 101306 1004 975 FL:forw 0 5 0 0 15 tmp24 tmp23 * 65535 * * * * * * * output=16 7 Brocade 0 0 977 FL:forw 0 5 0 4 64 tmp24 tmp23 arp(0x806) 65535 0 * * * * * * output=63 8 Brocade 0 1001 976 FL:forw 0 5 0 4 64 tmp24 tmp23 * 65535 0 * * * * * * output=63 9 Brocade 0 1002 976 FL:forw 0 5 0 4 63 tmp23 tmp24 * 65535 0 * * * * * * output=64 コントローラ側の出力 Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

38.

相互接続検証 BVS定義の分離 P38 現在、下記のようなネットワーク構成 Big Switch Networks セキュアチャンネル用の ネットワーク Pica8 Brocade tmp23 NEC Arista tmp24 Openflow用の ネットワーク Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

39.

相互接続検証 BVS定義の分離 P39 下記のようにネットワークを分けてみる Big Switch Networks セキュアチャンネル用の ネットワーク Pica8 Brocade tmp23 NEC Arista tmp24 Openflow用の ネットワーク Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

40.

相互接続検証 BSN設定 Big Switch Networks P40 bvs-definition green no active active False interface-rule tmp23 match mac 00:25:90:39:7b:f0 interface-rule tmp24 match mac 00:25:90:39:7b:f2 ! bvs-definition green2 interface-rule tmp23 match mac 00:25:90:39:7b:f0 ! bvs-definition red interface-rule tmp24 match mac 00:25:90:39:7b:f2 bvs-definitionを2つに分ける Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

41.

相互接続検証 BSN flow P41 Big Switch Networks localhost# show bvs all flow detail 通信できるhostが無いため、flowがない状態 localhost# show host # MAC Address Address Space VLAN IP Address Switch/OF Port (Physical Port) Tag Last Seen -|-------------------------|-------------|----|--------------|------------------------------|---|--------1 00:1c:73:10:ee:49 default Unknown Inactive 0 minute 2 00:25:90:39:7b:f0 (tmp23) default 114.111.107.53 Pica8/5 (ge -1/1/5) 4 minutes 3 00:25:90:39:7b:f2 (tmp24) default 114.111.107.54 Arista/4 (Ethernet4) 8 minutes 4 08:9e:01:41:3e:d3 default Unknown Pica8/16 (ge-1/1/16) 0 minute Host情報は保持されている Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.

42.

P42 ありがとうございました Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.