RIP設定

 

!

conf t

router rip

passive-interface Vlan 100 ←vlan 100だけにはRIPを適応させない。

network 133.247.0.0

!

!

 

RIP/OSPF 再配信設定

 

Cat3550

!

conf t

router ospf 100

redistribute rip metric 20 subnets ←メトリックを変えて最適ルートを設定。

!

conf t

router rip

redistribute ospf 100 metric 2

distance 105  ←デフォルト120なので、120未満に設定し、優先度を高くする。(↓以外は優先)

distance 255 133.247.3.1 0.0.0.0  ←255はルーティングテーブルに含めないものとみなされる。

!

!