OSPFにおけるloopback interfaceの挙動
- loopback interfaceのdefault netowrk typeはloopbackという特殊なものに設定されている
- stub hostとしての挙動をし、loopback interfaceにどんな (/8とか)アドレスが着いていたとしても/32のhost routeとしてadvertiseされる
- これを防ぐためにはloopback interface上でip ospf network point-to-pointとする必要がある
Hub & Spoke + OSPF
- 必ずHubがDRになるようにSpokeルータのinterfaceでip ospf priority 0を設定しておく
- priorityが0だとDRのelectionに参加しない
- なぜかというとDRは全てのルータに対してlayer 2 connectivityが必要だから
OSPF Network Type
- non-broadcast
- DR/BDRのelectionあり
- 手動でneighborを設定
- OSPFのパケットはunicastで送られる
- frame-relayにおいてbroadcastの設定は必要ない -> unicastだから
- frame-relayのdefault network type
- broadcast
- DR/BDRのelectionあり
- 自動的にneighborを設定
- OSPFのパケットはmulticastで送られる
- よってOSPFのパケットを通すためにframe-relayにおいてはmapにbroadcastの設定が必要
- ethernet/token-ringのdefault network type
- point-to-multipoint broadcast
- DR/BDRは存在しない
- OSPFのパケットはmulticastで送られる
- よってOSPFのパケットを通すためにframe-relayにおいてはmapにbroadcastの設定が必要
- broadcast/non-broadcastとの違いはどのようにnext hop resolutionを行うか
- flat boradcast networkではなく複数のpoint-to-point linkとして扱う
-
- broadcast/non-broadcastの場合
- layer2のトポロジがlayer3の完全なミラーではないと感知できない
- nexthopのアドレスを変換したりしないので全てのnexthopに対してlayer3to2 resolutionが必要
-
- > fullmeshにする必要がある
-
- broadcast/non-broadcastの場合
-
- point-to-multipoint
- 直接接続されたneighborにのみlayer3to2 resolutionが必要
-
- > fullmeshである必要がない
-
- 直接接続されたneighborにのみlayer3to2 resolutionが必要
- point-to-multipoint
- point-to-multipoint non-broadcast
- point-to-multipoint broadcastと異なる点はOSPFのパケットがbroadcastではなくunicastで送られる点
- よってframe-relay mapの設定にbroadcastの設定は必要ない
- broadcastパケットを送信できないのでneighborは手動で設定する必要がある
- point-to-point
- 必ず一対一の関係であるためDR/BDRは存在しない
- OSPFパケットはmulticastで送られる
- 自動的にneighborを設定
- よってOSPFのパケットを通すためにframe-relayにおいてはmapにbroadcastの設定が必要
- ISDN, Frame-relay ATMのpoint-to-point interfaceでdefault
Backbone fast
- http://ccstudy.org/study/stp/backbonefast/bbfast.html
- 直接つながっていないリンクの障害を素早く検知させる
SPAN (Switched Port Analyzer) / RSPAN (Remote SPAN)
- http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3560/12240se/scg/swspan.htm
- 3560 -> Configuring SPAN and RSPAN
- Summary
- You can analyze network traffic passing through ports or VLANs by using SPAN or RSPAN to send a copy of the traffic to another port on the switch or on another switch that has been connected to a network analyzer or other monitoring or security device. SPAN copies (or mirrors) traffic received or sent (or both) on source ports or source VLANs to a destination port for analysis.
-
- Analysisのためにポート/VLANを他のポートにミラーリング
VRRP
- http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hiap_c/ch20/haipvrrp.htm
- IP Application Services -> First Hop Redundancy Protocols -> VRRP